From 2f1e4d49a8c85669631714a155212dae728ae6e6 Mon Sep 17 00:00:00 2001 From: Tanvi Pooranmal Meena Date: Sat, 28 Dec 2024 20:14:29 +0530 Subject: [PATCH] Update gem version to 0.4.8 --- Gemfile | 4 ++ _config.yml | 2 +- assets/css/main.css | 125 ++++++++++++++++++++++++++++++++++++++++ assets/css/main.css.map | 1 + assets/css/main.scss | 5 +- no-style-please.gemspec | 6 +- 6 files changed, 135 insertions(+), 8 deletions(-) create mode 100644 assets/css/main.css create mode 100644 assets/css/main.css.map diff --git a/Gemfile b/Gemfile index de7e4d599..5de7fa148 100644 --- a/Gemfile +++ b/Gemfile @@ -4,5 +4,9 @@ source "https://rubygems.org" gem "kramdown-parser-gfm" gem "webrick" +gem "csv" +gem "bigdecimal" +gem "base64" +gem "logger" gemspec \ No newline at end of file diff --git a/_config.yml b/_config.yml index 761801b70..7a793d062 100644 --- a/_config.yml +++ b/_config.yml @@ -20,7 +20,7 @@ theme_config: show_description: false # show blog description in home page sass: - style: :compressed + style: compressed plugins: - jekyll-feed diff --git a/assets/css/main.css b/assets/css/main.css new file mode 100644 index 000000000..f0a0dff8d --- /dev/null +++ b/assets/css/main.css @@ -0,0 +1,125 @@ +body[a=dark] { + filter: invert(1); +} +body[a=dark] img { + filter: invert(1); +} +body[a=dark] img.ioda { + filter: invert(0); +} +body[a=dark] .emoji { + filter: invert(1); +} + +@media (prefers-color-scheme: dark) { + body[a=auto] { + filter: invert(1); + } + body[a=auto] img { + filter: invert(1); + } + body[a=auto] img.ioda { + filter: invert(0); + } + body[a=auto] .emoji { + filter: invert(1); + } +} +html, body { + background: white; +} + +html { + height: 100%; + scroll-behavior: smooth; +} + +body { + color: black; + font-family: monospace; + font-size: 16px; + line-height: 1.4; + margin: 0; + min-height: 100%; + overflow-wrap: break-word; +} + +.post-meta { + text-align: right; +} + +h2, h3, h4, h5, h6 { + margin-top: 3rem; +} + +hr { + margin: 2rem 0; +} + +p { + margin: 1rem 0; +} + +li { + margin: 0.4rem 0; +} + +*:target { + background: yellow; +} + +.w { + max-width: 640px; + margin: 0 auto; + padding: 4rem 2rem; +} + +hr { + text-align: center; + border: 0; +} +hr:before { + content: "/////"; +} +hr:after { + content: attr(data-content) "/////"; +} + +table { + width: 100%; +} + +table, th, td { + border: thin solid black; + border-collapse: collapse; + padding: 0.4rem; +} + +code { + color: white; + background: black; +} + +div.highlighter-rouge code { + display: block; + overflow-x: auto; + white-space: pre-wrap; + padding: 1rem; +} + +blockquote { + font-style: italic; + border: thin solid black; + padding: 1rem; +} +blockquote p { + margin: 0; +} + +img { + max-width: 100%; + display: block; + margin: 0 auto; +} + +/*# sourceMappingURL=main.css.map */ diff --git a/assets/css/main.css.map b/assets/css/main.css.map new file mode 100644 index 000000000..940f8928c --- /dev/null +++ b/assets/css/main.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["../../_sass/no-style-please.scss"],"names":[],"mappings":"AAWA;EATE;;AACA;EACE;;AAEA;EAAS;;AAEb;EAAS;;;AAMT;EACE;IAbA;;EACA;IACE;;EAEA;IAAS;;EAEb;IAAS;;;AAcT;EAAa;;;AAEb;EAAO;EAAc;;;AAErB;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EAAa;;;AAEb;EAAqB;;;AAErB;EAAK;;;AAEL;EAAI;;;AAEJ;EAAK;;;AAEL;EAAW;;;AAEX;EACE;EACA;EACA;;;AAGF;EACE;EACA;;AAEA;EAAW;;AACX;EAAU;;;AAGZ;EAAQ;;;AAER;EACE;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;AAEA;EAAI;;;AAGN;EACE;EACA;EACA","file":"main.css"} \ No newline at end of file diff --git a/assets/css/main.scss b/assets/css/main.scss index 665ab936b..e6f17f27c 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -1,4 +1 @@ ---- ---- - -@import "no-style-please"; \ No newline at end of file +@use "no-style-please" as *; diff --git a/no-style-please.gemspec b/no-style-please.gemspec index 16b800799..36c47c22d 100644 --- a/no-style-please.gemspec +++ b/no-style-please.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "no-style-please" - spec.version = "0.4.7" + spec.version = "0.4.8" spec.authors = ["Riccardo Graziosi"] spec.email = ["riccardo.graziosi97@gmail.com"] @@ -12,8 +12,8 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) } - spec.add_runtime_dependency "jekyll", "~> 3.9.0" - spec.add_runtime_dependency "jekyll-feed", "~> 0.15.1" + spec.add_runtime_dependency "jekyll", "~> 3.10.0" + spec.add_runtime_dependency "jekyll-feed", "~> 0.17.0" spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.8.0" end