From 934db8e96492db45469694d1a7c68ad9c231dd8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luiz=20F=2E=20A=2E=20de=20Pr=C3=A1?= Date: Tue, 21 Aug 2018 16:26:15 -0300 Subject: [PATCH] Add SCSS via Asset Pipeline (#65) * Remove old files * Add SCSS pipeline * Add generated files * Fix navigation HTML * Fix media queries * Remove RTL * Fix styling for big screens * Remove separator configs * Fix menu dropdown * Add working mobile menu * Fix menu item heights * Update README --- .editorconfig | 2 +- Makefile | 30 +- README.md | 14 +- assets/scss/_base.scss | 176 +++++++ assets/scss/_content.scss | 121 +++++ assets/scss/_footer.scss | 6 + assets/scss/_navigation.scss | 88 ++++ assets/scss/_pagination.scss | 20 + assets/scss/coder.scss | 12 + exampleSite/config.toml | 9 - layouts/_default/baseof.html | 13 +- layouts/partials/header.html | 57 +-- ...s_7a0b76148b8858d7eb44ba5d951667c9.content | 1 + ...scss_7a0b76148b8858d7eb44ba5d951667c9.json | 1 + ...s_8ccb485adf1280d07dc638b08b5fd1c2.content | 310 +++++++++++++ ...scss_8ccb485adf1280d07dc638b08b5fd1c2.json | 1 + static/css/style-rtl.min.css | 1 - static/css/style.min.css | 1 - static/less/colors.less | 5 - static/less/style-rtl.less | 41 -- static/less/style.less | 439 ------------------ theme.toml | 2 +- 22 files changed, 778 insertions(+), 572 deletions(-) create mode 100644 assets/scss/_base.scss create mode 100644 assets/scss/_content.scss create mode 100644 assets/scss/_footer.scss create mode 100644 assets/scss/_navigation.scss create mode 100644 assets/scss/_pagination.scss create mode 100644 assets/scss/coder.scss create mode 100644 resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.content create mode 100644 resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.json create mode 100644 resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.content create mode 100644 resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.json delete mode 100644 static/css/style-rtl.min.css delete mode 100644 static/css/style.min.css delete mode 100644 static/less/colors.less delete mode 100644 static/less/style-rtl.less delete mode 100644 static/less/style.less diff --git a/.editorconfig b/.editorconfig index cb3f0cd..d5add1a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -22,7 +22,7 @@ trim_trailing_whitespace = false indent_size = 2 # web files -[*.{html,css,less}] +[*.{html,css,scss}] indent_size = 2 [Makefile] diff --git a/Makefile b/Makefile index fd508ba..5ca00b0 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,10 @@ -# LESS params -LESS_DIR = ./static/less -LESS_FILE = style.less -LESS_RTL_FILE = style-rtl.less +.PHONY: demo clear -# CSS params -CSS_DIR = ./static/css -CSS_FILE = style.min.css -CSS_RTL_FILE = style-rtl.min.css -CSS_TMP_FILE = tmp.css - -define build_less - lessc $(LESS_DIR)/$(1) > $(CSS_DIR)/$(CSS_TMP_FILE) - uglifycss $(CSS_DIR)/$(CSS_TMP_FILE) > $(CSS_DIR)/$(2) - rm -f $(CSS_DIR)/$(CSS_TMP_FILE) -endef - -.PHONY: clean demo build build-ltr build-rtl - -build: clean build-ltr build-rtl - -build-ltr: - $(call build_less,$(LESS_FILE),$(CSS_FILE)) - -build-rtl: - $(call build_less,$(LESS_RTL_FILE),$(CSS_RTL_FILE)) - -demo: build +demo: mkdir -p demo/themes/coder rsync -av exampleSite/* demo rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/coder cd demo && hugo serve -D clean: - rm -f $(CSS_DIR)/*.css rm -rf demo diff --git a/README.md b/README.md index 545f1dd..477cfd2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ A simple and clean blog theme for Hugo. ![](https://github.com/luizdepra/hugo-coder/blob/master/images/screenshot.png) +**Coder is using Asset Pipeline now!** + +To use this theme you need Hugo Extended Version, v0.45 or later. But, if you still want to use the old version, you can clone the [v1.0](https://github.com/luizdepra/hugo-coder/releases/tag/v1.0) release. + ## How to use this theme To use `hugo-coder` go through the following steps. @@ -52,12 +56,6 @@ disqusShortname = "yourdiscussshortname" # Enable or disable Disqus. # Custom CSS custom_css = [] - # RTL support - rtl = false - - # Multilanguage mode - langseparator = "|" # Separates menus from language selectors when site is multilingual. - # Social links [[params.social]] name = "Github" @@ -92,7 +90,7 @@ Each `language` section overrides default site's parameters when that language i ```toml [params] - langseparator = "|" # separates menus from language selectors. + author = "John Doe" [languages] [languages.en] @@ -101,7 +99,6 @@ Each `language` section overrides default site's parameters when that language i # You can configure the theme parameter for each language. [languages.en.params] - author = "John Doe" info = "Full Stack DevOps and Magician" description = "John Doe's personal website" keywords = "blog,developer,personal" @@ -124,7 +121,6 @@ Each `language` section overrides default site's parameters when that language i title = "John Doe po polsku" [languages.pl.params] - author = "John Doe" description = "Strona domowa John'a Doe" keywords = "blog,developer,strona domowa" info = "Full Stack DevOps i Magik" diff --git a/assets/scss/_base.scss b/assets/scss/_base.scss new file mode 100644 index 0000000..b8986e4 --- /dev/null +++ b/assets/scss/_base.scss @@ -0,0 +1,176 @@ +*, +*:after, +*:before { + box-sizing: inherit; +} + +html { + box-sizing: border-box; + font-size: 62.5%; +} + +body { + display:flex; + color: $fg-color; + background-color: $bg-color; + font-family: 'Fira Mono', monospace; + font-size: 1.6em; + font-weight: 400; + letter-spacing: 0.0625em; + line-height: 1.8em; + @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { + font-size: 1.4em; + line-height: 1.6em; + } +} + +a { + font-weight: 700; + color: $alt-fg-color; + text-decoration: none; + &:focus, + &:hover { + text-decoration: underline; + } +} + +p { + margin: 1.6rem 0 1.6rem 0; + a { + font-weight: 400; + color: $alt-fg-color; + text-decoration: underline; + text-underline-position: under; + &:focus, + &:hover { + color: $link-color; + } + } +} + +h1, +h2, +h3, +h4, +h5, +h6 { + color: $alt-fg-color; + text-transform: uppercase; + letter-spacing: 0.0625em; + margin: 3.2rem 0 1.6rem 0; +} + +h1 { + font-size: 3.2rem; + line-height: 3.2rem; + @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { + font-size: 2.8rem; + line-height: 2.8rem; + } +} +h2 { + font-size: 2.8rem; + line-height: 2.8rem; + @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { + font-size: 2.4rem; + line-height: 2.4rem; + } +} +h3 { + font-size: 2.4rem; + line-height: 2.4rem; + @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { + font-size: 2.0rem; + line-height: 2.0rem; + } +} +h4 { + font-size: 2.2rem; + line-height: 2.2rem; + @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { + font-size: 1.8rem; + line-height: 1.8rem; + } +} +h5 { + font-size: 2.0rem; + line-height: 2.0rem; + @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { + font-size: 1.6rem; + line-height: 1.6rem; + } +} +h6 { + font-size: 1.4rem; + line-height: 1.4rem; +} + +pre { + margin: 1.6rem 0 1.0rem 0; + padding: 1.6rem; + overflow-x: auto; +} + +code { + display: inline-block; + background-color: $alt-fg-color; + color: $bg-color; + padding: 0.4rem 0.8rem 0.4rem 0.8rem; +} + +blockquote { + border-left: 2px solid $alt-bg-color; + padding-left: 1.6rem; + font-style: italic; +} + +th, td { + padding: 1.6rem; +} +table { + border-collapse: collapse; +} +table td, table th { + border: 2px solid $alt-fg-color; +} +table tr:first-child th { + border-top: 0; +} +table tr:last-child td { + border-bottom: 0; +} +table tr td:first-child, +table tr th:first-child { + border-left: 0; +} +table tr td:last-child, +table tr th:last-child { + border-right: 0; +} + +img { + max-width: 100%; +} + +.wrapper { + display: flex; + flex-direction: column; + min-height: 100vh; + width: 100%; +} + +.container { + margin: 0 auto; + max-width: 120.0rem; + width: 100%; + padding-left: 2.0rem; + padding-right: 2.0rem; +} + +.float-right { + float: right; +} + +.float-left { + float: left; +} diff --git a/assets/scss/_content.scss b/assets/scss/_content.scss new file mode 100644 index 0000000..cc014ba --- /dev/null +++ b/assets/scss/_content.scss @@ -0,0 +1,121 @@ +.content { + flex: 1; + margin-top: 1.6rem; + margin-bottom: 3.2rem; + article { + header { + margin-top: 3.2rem; + margin-bottom: 3.2rem; + h1, h2 { + margin: 0; + } + h2 { + margin-top: 1.0rem; + font-size: 1.8rem; + color: $fg-color; + @media only screen and (max-device-width : 768px) { + font-size: 1.6rem; + } + } + } + } +} + +.avatar img{ + width: 20rem; + height: auto; + border-radius: 50%; + @media only screen and (max-device-width : 768px) { + width: 10rem; + } +} + +.list { + ul { + margin: 3.2rem 0 3.2rem 0; + list-style: none; + padding: 0; + li { + font-size: 1.6rem; + @media only screen and (max-device-width : 768px) { + font-size: 1.4rem; + margin: 1.6rem 0 1.6rem 0; + } + span { + display: inline-block; + width: 20.0rem; + text-align: right; + margin-right: 3.0rem; + text-align: right; + margin-right: 3.0rem; + @media only screen and (max-device-width : 768px) { + display: block; + text-align: left; + } + } + a { + text-transform: uppercase; + } + } + } +} + +.centered { + display: flex; + height: 100%; + align-items: center; + justify-content: center; + .about { + text-align: center; + h1 { + margin-top: 2.0rem; + margin-bottom: 0.5rem; + } + h2 { + margin-top: 1.0rem; + margin-bottom: 0.5rem; + font-size: 2.4rem; + @media only screen and (max-device-width : 768px) { + font-size: 2.0rem; + } + } + ul { + list-style: none; + margin: 3.0rem 0 1.0rem 0; + padding: 0; + li { + display: inline-block; + position: relative; + a { + text-transform: uppercase; + margin-left: 1.0rem; + margin-right: 1.0rem; + font-size: 1.6rem; + @media only screen and (max-device-width : 768px) { + font-size: 1.4rem; + } + } + } + } + } + + .error { + text-align: center; + h1 { + margin-top: 2.0rem; + margin-bottom: 0.5rem; + font-size: 4.6rem; + @media only screen and (max-device-width : 768px) { + font-size: 3.2rem; + } + } + h2 { + margin-top: 2.0rem; + margin-bottom: 3.2rem; + font-size: 3.2rem; + @media only screen and (max-device-width : 768px) { + font-size: 2.8rem; + } + } + } +} diff --git a/assets/scss/_footer.scss b/assets/scss/_footer.scss new file mode 100644 index 0000000..b0f15bf --- /dev/null +++ b/assets/scss/_footer.scss @@ -0,0 +1,6 @@ +.footer { + width: 100%; + text-align: center; + line-height: 2.0rem; + margin-bottom:1.0rem; +} diff --git a/assets/scss/_navigation.scss b/assets/scss/_navigation.scss new file mode 100644 index 0000000..add1b09 --- /dev/null +++ b/assets/scss/_navigation.scss @@ -0,0 +1,88 @@ +.navigation { + height: 6.0rem; + width: 100%; + a, span { + display: inline; + font-size: 1.6rem; + text-transform: uppercase; + line-height: 6.0rem; + letter-spacing: 0.1rem; + @media only screen and (max-device-width : 768px) { + font-size: 1.4rem; + } + } +} + +.navigation-list { + float: right; + list-style: none; + margin-bottom: 0; + margin-top: 0; + @media only screen and (max-device-width : 768px) { + position: absolute; + top: 6.0rem; + right: 0; + z-index: 5; + visibility: hidden; + opacity: 0; + padding: 0; + max-height: 0; + width: 100%; + background-color: $bg-color; + border-top: solid 2px $alt-bg-color; + border-bottom: solid 2px $alt-bg-color; + transition: opacity 0.25s, max-height 0.15s linear; + } +} + +.navigation-item { + float: left; + margin: 0; + position: relative; + @media only screen and (max-device-width : 768px) { + float: none !important; + text-align: center; + a, span { + line-height: 5.0rem; + } + } + a, span { + margin-left: 1.0rem; + margin-right: 1.0rem; + } +} + +.menu-button { + display: none; + @media only screen and (max-device-width : 768px) { + display: block; + font-size: 2.4rem; + line-height: 6.0rem; + color: $fg-color; + cursor: pointer; + } +} + +.menu-separator { + @media only screen and (max-device-width : 768px) { + border-top: 2px solid $fg-color; + margin: 0 8.0rem; + span { + display: none; + } + } +} + +#menu-toggle { + display: none; + @media only screen and (max-device-width : 768px) { + &:checked + label { + color: $alt-bg-color; + } + &:checked + label + ul { + visibility: visible; + opacity: 1; + max-height: 100rem; + } + } +} diff --git a/assets/scss/_pagination.scss b/assets/scss/_pagination.scss new file mode 100644 index 0000000..f340e16 --- /dev/null +++ b/assets/scss/_pagination.scss @@ -0,0 +1,20 @@ +.pagination { + margin-top: 6.0rem; + text-align: center; + li { + display: inline; + text-align: center; + span { + margin: 0; + text-align: center; + width: 3.2rem; + } + a { + span { + margin: 0; + text-align: center; + width: 3.2rem; + } + } + } +} diff --git a/assets/scss/coder.scss b/assets/scss/coder.scss new file mode 100644 index 0000000..0bdc158 --- /dev/null +++ b/assets/scss/coder.scss @@ -0,0 +1,12 @@ +// Colors +$bg-color: #fefefe !default; +$fg-color: #323232 !default; +$alt-bg-color: #dcdcdc !default; +$alt-fg-color: #000 !default; +$link-color: #3366CC !default; + +@import "_base"; +@import "_content"; +@import "_navigation"; +@import "_pagination"; +@import "_footer"; diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ae9bd2a..3a518c7 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -25,18 +25,9 @@ disqusShortname = "yourdiscussshortname" hideCredits = false hideCopyright = false - # Custom CSS custom_css = [] - # Alignment of Mobile Menu items - itemscentered = true - - # RTL support - rtl = false - - langseparator = "|" - [[params.social]] name = "Github" weight = 1 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6a16466..98bb080 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,10 +16,15 @@ - - {{ if .Site.Params.rtl}} - + {{ if .Site.IsServer }} + {{ $cssOpts := (dict "targetPath" "css/coder.css" "enableSourceMap" true ) }} + {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts }} + + {{ else }} + {{ $cssOpts := (dict "targetPath" "css/coder.css" ) }} + {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts | minify | fingerprint }} + {{ end }} {{ range .Site.Params.custom_css }} @@ -37,7 +42,7 @@ {{ .Hugo.Generator }} - +
{{ partial "header.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c113191..7317808 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,44 +1,35 @@ diff --git a/resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.content b/resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.content new file mode 100644 index 0000000..5811796 --- /dev/null +++ b/resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.content @@ -0,0 +1 @@ +*,*:after,*:before{box-sizing:inherit}html{box-sizing:border-box;font-size:62.5%}body{direction:ltr;display:flex;color:#323232;background-color:#fefefe;font-family:fira mono,monospace;font-size:1.6em;font-weight:400;letter-spacing:.0625em;line-height:1.8em}@media only screen and (min-device-width:320px) and (max-device-width:480px){body{font-size:1.4em;line-height:1.6em}}a{font-weight:700;color:#000;text-decoration:none}a:focus,a:hover{text-decoration:underline}p{margin:1.6rem 0}p a{font-weight:400;color:#000;text-decoration:underline;text-underline-position:under}p a:focus,p a:hover{color:#36c}h1,h2,h3,h4,h5,h6{color:#000;text-transform:uppercase;letter-spacing:.0625em;margin:3.2rem 0 1.6rem}h1{font-size:3.2rem;line-height:3.2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h1{font-size:2.8rem;line-height:2.8rem}}h2{font-size:2.8rem;line-height:2.8rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h2{font-size:2.4rem;line-height:2.4rem}}h3{font-size:2.4rem;line-height:2.4rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h3{font-size:2rem;line-height:2rem}}h4{font-size:2.2rem;line-height:2.2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h4{font-size:1.8rem;line-height:1.8rem}}h5{font-size:2rem;line-height:2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h5{font-size:1.6rem;line-height:1.6rem}}h6{font-size:1.4rem;line-height:1.4rem}pre{margin:1.6rem 0 1rem;padding:1.6rem;overflow-x:auto}code{display:inline-block;background-color:#000;color:#fefefe;padding:.4rem .8rem}blockquote{border-left:2px solid #dcdcdc;padding-left:1.6rem;font-style:italic}th,td{padding:1.6rem}table{border-collapse:collapse}table td,table th{border:2px solid #000}table tr:first-child th{border-top:0}table tr:last-child td{border-bottom:0}table tr td:first-child,table tr th:first-child{border-left:0}table tr td:last-child,table tr th:last-child{border-right:0}img{max-width:100%}.wrapper{display:flex;flex-direction:column;min-height:100vh;width:100%}.container{margin:0 auto;max-width:120rem;width:100%;padding-left:2rem;padding-right:2rem}.float-right{float:right}.float-left{float:left}.content{flex:1;margin-top:1.6rem;margin-bottom:3.2rem}.content article header{margin-top:3.2rem;margin-bottom:3.2rem}.content article header h1,.content article header h2{margin:0}.content article header h2{margin-top:1rem;font-size:1.8rem;color:#323232}@media only screen and (min-device-width:320px) and (max-device-width:480px){.content article header h2{font-size:1.6rem}}.avatar img{width:20rem;height:auto;border-radius:50%}@media only screen and (max-device-width:768px){.avatar img{width:10rem}}.list ul{margin:3.2rem 0;list-style:none;padding:0}.list ul li{font-size:1.6rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.list ul li{font-size:1.4rem;margin:1.6rem 0}}.list ul li span{display:inline-block;width:20rem;text-align:right;margin-right:3rem;text-align:right;margin-right:3rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.list ul li span{display:block;text-align:left}}.list ul li a{text-transform:uppercase}.centered{display:flex;height:100%;align-items:center;justify-content:center}.centered .about{text-align:center}.centered .about h1{margin-top:2rem;margin-bottom:.5rem}.centered .about h2{margin-top:1rem;margin-bottom:.5rem;font-size:2.4rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .about h2{font-size:2rem}}.centered .about ul{list-style:none;margin:3rem 0 1rem;padding:0}.centered .about ul li{display:inline-block;position:relative}.centered .about ul li a{text-transform:uppercase;margin-left:1rem;margin-right:1rem;font-size:1.6rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .about ul li a{font-size:1.4rem}}.centered .error{text-align:center}.centered .error h1{margin-top:2rem;margin-bottom:.5rem;font-size:4.6rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .error h1{font-size:3.2rem}}.centered .error h2{margin-top:2rem;margin-bottom:3.2rem;font-size:3.2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .error h2{font-size:2.8rem}}.navigation{height:6rem;width:100%}.navigation a{display:inline;font-size:1.6rem;text-transform:uppercase;line-height:6rem;letter-spacing:.1rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.navigation a{font-size:1.4rem}}.navigation ul{list-style:none;margin-bottom:0;margin-top:0}.navigation ul li{float:left;margin:0;position:relative}.navigation ul li a{margin-left:1rem;margin-right:1rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){a.navigation-title{font-size:0}a.navigation-title::after{content:'~';font-size:2.4rem;text-align:center;margin-left:-1.4rem}}.pagination{margin-top:6rem;text-align:center}.pagination li{display:inline;text-align:center}.pagination li span{margin:0;text-align:center;width:3.2rem}.pagination li a span{margin:0;text-align:center;width:3.2rem}.footer{width:100%;text-align:center;line-height:2rem;margin-bottom:1rem} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.json b/resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.json new file mode 100644 index 0000000..620971c --- /dev/null +++ b/resources/_gen/assets/scss/scss/coder.scss_7a0b76148b8858d7eb44ba5d951667c9.json @@ -0,0 +1 @@ +{"Target":"css/coder.min.79d908aef3339471ac377bc6c7ec4260364eae65db5ac1a2f3c994d5b1416d3d.css","MediaType":"text/css","Data":{"Integrity":"sha256-edkIrvMzlHGsN3vGx+xCYDZOrmXbWsGi88mU1bFBbT0="}} \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.content b/resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.content new file mode 100644 index 0000000..06c8733 --- /dev/null +++ b/resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.content @@ -0,0 +1,310 @@ +*, +*:after, +*:before { + box-sizing: inherit; } + +html { + box-sizing: border-box; + font-size: 62.5%; } + +body { + direction: ltr; + display: flex; + color: #323232; + background-color: #fefefe; + font-family: 'Fira Mono', monospace; + font-size: 1.6em; + font-weight: 400; + letter-spacing: 0.0625em; + line-height: 1.8em; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + body { + font-size: 1.4em; + line-height: 1.6em; } } + +a { + font-weight: 700; + color: #000; + text-decoration: none; } + a:focus, a:hover { + text-decoration: underline; } + +p { + margin: 1.6rem 0 1.6rem 0; } + p a { + font-weight: 400; + color: #000; + text-decoration: underline; + text-underline-position: under; } + p a:focus, p a:hover { + color: #3366CC; } + +h1, +h2, +h3, +h4, +h5, +h6 { + color: #000; + text-transform: uppercase; + letter-spacing: 0.0625em; + margin: 3.2rem 0 1.6rem 0; } + +h1 { + font-size: 3.2rem; + line-height: 3.2rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + h1 { + font-size: 2.8rem; + line-height: 2.8rem; } } + +h2 { + font-size: 2.8rem; + line-height: 2.8rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + h2 { + font-size: 2.4rem; + line-height: 2.4rem; } } + +h3 { + font-size: 2.4rem; + line-height: 2.4rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + h3 { + font-size: 2.0rem; + line-height: 2.0rem; } } + +h4 { + font-size: 2.2rem; + line-height: 2.2rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + h4 { + font-size: 1.8rem; + line-height: 1.8rem; } } + +h5 { + font-size: 2.0rem; + line-height: 2.0rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + h5 { + font-size: 1.6rem; + line-height: 1.6rem; } } + +h6 { + font-size: 1.4rem; + line-height: 1.4rem; } + +pre { + margin: 1.6rem 0 1.0rem 0; + padding: 1.6rem; + overflow-x: auto; } + +code { + display: inline-block; + background-color: #000; + color: #fefefe; + padding: 0.4rem 0.8rem 0.4rem 0.8rem; } + +blockquote { + border-left: 2px solid #dcdcdc; + padding-left: 1.6rem; + font-style: italic; } + +th, td { + padding: 1.6rem; } + +table { + border-collapse: collapse; } + +table td, table th { + border: 2px solid #000; } + +table tr:first-child th { + border-top: 0; } + +table tr:last-child td { + border-bottom: 0; } + +table tr td:first-child, +table tr th:first-child { + border-left: 0; } + +table tr td:last-child, +table tr th:last-child { + border-right: 0; } + +img { + max-width: 100%; } + +.wrapper { + display: flex; + flex-direction: column; + min-height: 100vh; + width: 100%; } + +.container { + margin: 0 auto; + max-width: 120.0rem; + width: 100%; + padding-left: 2.0rem; + padding-right: 2.0rem; } + +.float-right { + float: right; } + +.float-left { + float: left; } + +.content { + flex: 1; + margin-top: 1.6rem; + margin-bottom: 3.2rem; } + .content article header { + margin-top: 3.2rem; + margin-bottom: 3.2rem; } + .content article header h1, .content article header h2 { + margin: 0; } + .content article header h2 { + margin-top: 1.0rem; + font-size: 1.8rem; + color: #323232; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .content article header h2 { + font-size: 1.6rem; } } + +.avatar img { + width: 20rem; + height: auto; + border-radius: 50%; } + @media only screen and (max-device-width: 768px) { + .avatar img { + width: 10rem; } } + +.list ul { + margin: 3.2rem 0 3.2rem 0; + list-style: none; + padding: 0; } + .list ul li { + font-size: 1.6rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .list ul li { + font-size: 1.4rem; + margin: 1.6rem 0 1.6rem 0; } } + .list ul li span { + display: inline-block; + width: 20.0rem; + text-align: right; + margin-right: 3.0rem; + text-align: right; + margin-right: 3.0rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .list ul li span { + display: block; + text-align: left; } } + .list ul li a { + text-transform: uppercase; } + +.centered { + display: flex; + height: 100%; + align-items: center; + justify-content: center; } + .centered .about { + text-align: center; } + .centered .about h1 { + margin-top: 2.0rem; + margin-bottom: 0.5rem; } + .centered .about h2 { + margin-top: 1.0rem; + margin-bottom: 0.5rem; + font-size: 2.4rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .centered .about h2 { + font-size: 2.0rem; } } + .centered .about ul { + list-style: none; + margin: 3.0rem 0 1.0rem 0; + padding: 0; } + .centered .about ul li { + display: inline-block; + position: relative; } + .centered .about ul li a { + text-transform: uppercase; + margin-left: 1.0rem; + margin-right: 1.0rem; + font-size: 1.6rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .centered .about ul li a { + font-size: 1.4rem; } } + .centered .error { + text-align: center; } + .centered .error h1 { + margin-top: 2.0rem; + margin-bottom: 0.5rem; + font-size: 4.6rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .centered .error h1 { + font-size: 3.2rem; } } + .centered .error h2 { + margin-top: 2.0rem; + margin-bottom: 3.2rem; + font-size: 3.2rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .centered .error h2 { + font-size: 2.8rem; } } + +.navigation { + height: 6.0rem; + width: 100%; } + .navigation a { + display: inline; + font-size: 1.6rem; + text-transform: uppercase; + line-height: 6.0rem; + letter-spacing: 0.1rem; } + @media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + .navigation a { + font-size: 1.4rem; } } + .navigation ul { + list-style: none; + margin-bottom: 0; + margin-top: 0; } + .navigation ul li { + float: left; + margin: 0; + position: relative; } + .navigation ul li a { + margin-left: 1.0rem; + margin-right: 1.0rem; } + +@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + a.navigation-title { + font-size: 0rem; } + a.navigation-title::after { + content: '~'; + font-size: 2.4rem; + text-align: center; + margin-left: -1.4rem; } } + +.pagination { + margin-top: 6.0rem; + text-align: center; } + .pagination li { + display: inline; + text-align: center; } + .pagination li span { + margin: 0; + text-align: center; + width: 3.2rem; } + .pagination li a span { + margin: 0; + text-align: center; + width: 3.2rem; } + +.footer { + width: 100%; + text-align: center; + line-height: 2.0rem; + margin-bottom: 1.0rem; } + +/*# sourceMappingURL=coder.css.map */ \ No newline at end of file diff --git a/resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.json b/resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.json new file mode 100644 index 0000000..cfa430e --- /dev/null +++ b/resources/_gen/assets/scss/scss/coder.scss_8ccb485adf1280d07dc638b08b5fd1c2.json @@ -0,0 +1 @@ +{"Target":"css/coder.css","MediaType":"text/css","Data":{}} \ No newline at end of file diff --git a/static/css/style-rtl.min.css b/static/css/style-rtl.min.css deleted file mode 100644 index 4063bb6..0000000 --- a/static/css/style-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -body.rtl{direction:rtl}body.rtl blockquote{border-right:2px solid #dcdcdc;padding-right:1.6rem}body.rtl table tr td:first-child,body.rtl table tr th:first-child{border-right:0}body.rtl table tr td:last-child,body.rtl table tr th:last-child{border-left:0}body.rtl .navigation ul li{float:right}body.rtl .list ul li span{text-align:left;margin-left:3rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){body.rtl .list ul li span{text-align:right}} diff --git a/static/css/style.min.css b/static/css/style.min.css deleted file mode 100644 index 9d460be..0000000 --- a/static/css/style.min.css +++ /dev/null @@ -1 +0,0 @@ -*,*:after,*:before{box-sizing:inherit}html{box-sizing:border-box;font-size:62.5%}body{display:flex;color:#323232;background-color:#fefefe;font-family:'Fira Mono',monospace;font-size:1.6em;font-weight:400;letter-spacing:.0625em;line-height:1.8em}@media only screen and (min-device-width:320px) and (max-device-width:480px){body{font-size:1.4em;line-height:1.6em}}a{font-weight:700;color:#000;text-decoration:none}a:focus,a:hover{text-decoration:underline}p{margin:1.6rem 0 1.6rem 0}p a{font-weight:400;color:#000;text-decoration:underline;text-underline-position:under}p a:focus,p a:hover{color:#36c}h1,h2,h3,h4,h5,h6{color:#000;text-transform:uppercase;letter-spacing:.0625em;margin:3.2rem 0 1.6rem 0}h1{font-size:3.2rem;line-height:3.2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h1{font-size:2.8rem;line-height:2.8rem}}h2{font-size:2.8rem;line-height:2.8rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h2{font-size:2.4rem;line-height:2.4rem}}h3{font-size:2.4rem;line-height:2.4rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h3{font-size:2rem;line-height:2rem}}h4{font-size:2.2rem;line-height:2.2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h4{font-size:1.8rem;line-height:1.8rem}}h5{font-size:2rem;line-height:2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){h5{font-size:1.6rem;line-height:1.6rem}}h6{font-size:1.4rem;line-height:1.4rem}pre{margin:1.6rem 0 1rem 0;padding:1.6rem;overflow-x:auto}code{display:inline-block;background-color:#000;color:#fefefe;padding:.4rem .8rem .4rem .8rem}blockquote{border-left:2px solid #dcdcdc;padding-left:1.6rem;font-style:italic}th,td{padding:1.6rem}table{border-collapse:collapse}table td,table th{border:2px solid #000}table tr:first-child th{border-top:0}table tr:last-child td{border-bottom:0}table tr td:first-child,table tr th:first-child{border-left:0}table tr td:last-child,table tr th:last-child{border-right:0}img{max-width:100%}.wrapper{display:flex;flex-direction:column;min-height:100vh;width:100%}.container{margin:0 auto;max-width:120rem;width:100%;padding-left:2rem;padding-right:2rem}.navigation{height:6rem;width:100%}.navigation a{display:inline;font-size:1.6rem;text-transform:uppercase;line-height:6rem;letter-spacing:.1rem}@media only screen and (min-device-width:320px) and (max-device-width:768px){.navigation a{font-size:1.6rem}}.navigation ul{list-style:none;margin-bottom:0;margin-top:0}.navigation ul li{float:left;margin:0;position:relative}.navigation ul li a{margin-left:1rem;margin-right:1rem}@media only screen and (min-device-width:320px) and (max-device-width:768px){.navigation ul li{float:none !important}}@media only screen and (min-device-width:320px) and (max-device-width:768px){.navigation ul{visibility:hidden;opacity:0;max-height:0;z-index:5;top:5rem;right:0;width:100%;position:absolute;background-color:rgba(254,254,254,0.98);padding:0;border-bottom:solid 2px #e2dfe1;transition:opacity .25s,max-height .15s linear}}#menu-control{display:none}.btn-mobile{display:none}@media only screen and (min-device-width:320px) and (max-device-width:768px){.btn-mobile{display:block;font-size:2rem;color:black;cursor:pointer;margin-top:1.5rem}#menu-control:checked+label .btn-mobile{color:#e2dfe1}#menu-control:checked+label ul{visibility:visible;opacity:1;max-height:100rem}.navigation-item{position:relative}.mobile-menu-lang-separator-centered{padding-left:7rem;padding-right:7rem}.mobile-menu-lang-separator-full{padding-left:1.5rem;padding-right:1.5rem}.multilingual-separator{display:none}.align-left{text-align:left;padding-left:1rem}.align-right{text-align:right;padding-right:1rem}.align-center{text-align:center}}.content{flex:1;margin-top:1.6rem;margin-bottom:3.2rem}.content article header{margin-top:3.2rem;margin-bottom:3.2rem}.content article header h1,.content article header h2{margin:0}.content article header h2{margin-top:1rem;font-size:1.8rem;color:#323232}@media only screen and (min-device-width:320px) and (max-device-width:480px){.content article header h2{font-size:1.6rem}}.avatar img{width:20rem;height:auto;border-radius:50%}@media only screen and (max-device-width:768px){.avatar img{width:10rem}}.list ul{margin:3.2rem 0 3.2rem 0;list-style:none;padding:0}.list ul li{font-size:1.6rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.list ul li{font-size:1.4rem;margin:1.6rem 0 1.6rem 0}}.list ul li span{display:inline-block;text-align:right;width:20rem;margin-right:3rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.list ul li span{display:block;text-align:left}}.list ul li a{text-transform:uppercase}.pagination{margin-top:6rem;text-align:center}.pagination li{display:inline;text-align:center}.pagination li span{margin:0;text-align:center;width:3.2rem}.pagination li a span{margin:0;text-align:center;width:3.2rem}.centered{display:flex;height:100%;align-items:center;justify-content:center}.centered .about{text-align:center}.centered .about h1{margin-top:2rem;margin-bottom:.5rem}.centered .about h2{margin-top:1rem;margin-bottom:.5rem;font-size:2.4rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .about h2{font-size:2rem}}.centered .about ul{list-style:none;margin:3rem 0 1rem 0;padding:0}.centered .about ul li{display:inline-block;position:relative}.centered .about ul li a{text-transform:uppercase;margin-left:1rem;margin-right:1rem;font-size:1.6rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .about ul li a{font-size:1.4rem}}.centered .error{text-align:center}.centered .error h1{margin-top:2rem;margin-bottom:.5rem;font-size:4.6rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .error h1{font-size:3.2rem}}.centered .error h2{margin-top:2rem;margin-bottom:3.2rem;font-size:3.2rem}@media only screen and (min-device-width:320px) and (max-device-width:480px){.centered .error h2{font-size:2.8rem}}.footer{width:100%;text-align:center;line-height:2rem;margin-bottom:1rem}.float-right{float:right}.float-left{float:left} diff --git a/static/less/colors.less b/static/less/colors.less deleted file mode 100644 index 9d829c3..0000000 --- a/static/less/colors.less +++ /dev/null @@ -1,5 +0,0 @@ -@bg-color: #fefefe; -@fg-color: #323232; -@darker-bg-color: #dcdcdc; -@darker-fg-color: #000; -@link-color: #3366CC; diff --git a/static/less/style-rtl.less b/static/less/style-rtl.less deleted file mode 100644 index 4ff7404..0000000 --- a/static/less/style-rtl.less +++ /dev/null @@ -1,41 +0,0 @@ -@import "colors.less"; - -body.rtl { - direction: rtl; - - blockquote { - border-right: 2px solid @darker-bg-color; - padding-right: 1.6rem; - } - - table tr td:first-child, - table tr th:first-child { - border-right: 0; - } - table tr td:last-child, - table tr th:last-child { - border-left: 0; - } - - .navigation { - ul { - li { - float: right; - } - } - } - - .list { - ul { - li { - span { - text-align: left; - margin-left: 3.0rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - text-align: right; - } - } - } - } - } -} diff --git a/static/less/style.less b/static/less/style.less deleted file mode 100644 index 66873a7..0000000 --- a/static/less/style.less +++ /dev/null @@ -1,439 +0,0 @@ -@import "colors.less"; - -*, -*:after, -*:before { - box-sizing: inherit; -} - -html { - box-sizing: border-box; - font-size: 62.5%; -} - -body { - display:flex; - color: @fg-color; - background-color: @bg-color; - font-family: 'Fira Mono', monospace; - font-size: 1.6em; - font-weight: 400; - letter-spacing: 0.0625em; - line-height: 1.8em; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 1.4em; - line-height: 1.6em; - } -} - -a { - font-weight: 700; - color: @darker-fg-color; - text-decoration: none; - &:focus, - &:hover { - text-decoration: underline; - } -} - -p { - margin: 1.6rem 0 1.6rem 0; - a { - font-weight: 400; - color: @darker-fg-color; - text-decoration: underline; - text-underline-position: under; - &:focus, - &:hover { - color: @link-color; - } - } -} - -h1, -h2, -h3, -h4, -h5, -h6 { - color: @darker-fg-color; - text-transform: uppercase; - letter-spacing: 0.0625em; - margin: 3.2rem 0 1.6rem 0; -} - -h1 { - font-size: 3.2rem; - line-height: 3.2rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 2.8rem; - line-height: 2.8rem; - } -} -h2 { - font-size: 2.8rem; - line-height: 2.8rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 2.4rem; - line-height: 2.4rem; - } -} -h3 { - font-size: 2.4rem; - line-height: 2.4rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 2.0rem; - line-height: 2.0rem; - } -} -h4 { - font-size: 2.2rem; - line-height: 2.2rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 1.8rem; - line-height: 1.8rem; - } -} -h5 { - font-size: 2.0rem; - line-height: 2.0rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 1.6rem; - line-height: 1.6rem; - } -} -h6 { - font-size: 1.4rem; - line-height: 1.4rem; -} - -pre { - margin: 1.6rem 0 1.0rem 0; - padding: 1.6rem; - overflow-x: auto; -} - -code { - display: inline-block; - background-color: @darker-fg-color; - color: @bg-color; - padding: 0.4rem 0.8rem 0.4rem 0.8rem; -} - -blockquote { - border-left: 2px solid @darker-bg-color; - padding-left: 1.6rem; - font-style: italic; -} - -th, td { - padding: 1.6rem; -} -table { - border-collapse: collapse; -} -table td, table th { - border: 2px solid @darker-fg-color; -} -table tr:first-child th { - border-top: 0; -} -table tr:last-child td { - border-bottom: 0; -} -table tr td:first-child, -table tr th:first-child { - border-left: 0; -} -table tr td:last-child, -table tr th:last-child { - border-right: 0; -} - -img { - max-width: 100%; -} - -.wrapper { - display: flex; - flex-direction: column; - min-height: 100vh; - width: 100%; -} - -.container { - margin: 0 auto; - max-width: 120.0rem; - width: 100%; - padding-left: 2.0rem; - padding-right: 2.0rem; -} - -.navigation { - height: 6.0rem; - width: 100%; - a { - display: inline; - font-size: 1.6rem; - text-transform: uppercase; - line-height: 6.0rem; - letter-spacing: 0.1rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 768px) { - font-size: 1.6rem; - } - } - ul { - list-style: none; - margin-bottom: 0; - margin-top: 0; - li { - float: left; - margin: 0; - position: relative; - a { - margin-left: 1.0rem; - margin-right: 1.0rem; - } - @media only screen and (min-device-width : 320px) and (max-device-width : 768px) { - float: none !important; - } - } - @media only screen and (min-device-width : 320px) and (max-device-width : 768px) { - visibility: hidden; - opacity: 0; - max-height: 0; - z-index: 5; - top: 5rem; - right: 0; - width: 100%; - position: absolute; - background-color: rgba(254,254,254 ,0.98); - padding: 0; - border-bottom: solid 2px #E2DFE1; - transition: opacity 0.25s, max-height 0.15s linear; - } - } -} - -#menu-control { - display: none; -} - -.btn-mobile { - display: none; -} - -@media only screen and (min-device-width : 320px) and (max-device-width : 768px) { - .btn-mobile { - display: block; - font-size: 2.0rem; - color: black; - cursor: pointer; - margin-top: 1.5rem; - } - - #menu-control:checked + label .btn-mobile { - color: #E2DFE1; - } - - #menu-control:checked + label ul { - visibility: visible; - opacity: 1; - max-height: 100rem; - } - - .navigation-item { - position: relative; - } - - .mobile-menu-lang-separator-centered { - padding-left: 7rem; - padding-right: 7rem; - } - - .mobile-menu-lang-separator-full { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - - .multilingual-separator { - display: none; - } - - .align-left { - text-align: left; - padding-left: 1rem; - } - - .align-right { - text-align: right; - padding-right: 1rem; - } - - .align-center { - text-align: center; - } - -} - -.content { - flex: 1; - margin-top: 1.6rem; - margin-bottom: 3.2rem; - article { - header { - margin-top: 3.2rem; - margin-bottom: 3.2rem; - h1, h2 { - margin: 0; - } - h2 { - margin-top: 1.0rem; - font-size: 1.8rem; - color: @fg-color; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 1.6rem; - } - } - } - } -} - -.avatar img{ - width: 20rem; - height: auto; - border-radius: 50%; - @media only screen and (max-device-width : 768px) { - width: 10rem; - } -} - -.list { - ul { - margin: 3.2rem 0 3.2rem 0; - list-style: none; - padding: 0; - li { - font-size: 1.6rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 1.4rem; - margin: 1.6rem 0 1.6rem 0; - } - span { - display: inline-block; - text-align: right; - width: 20.0rem; - margin-right: 3.0rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - display: block; - text-align: left; - } - } - a { - text-transform: uppercase; - } - } - } -} - -.pagination { - margin-top: 6.0rem; - text-align: center; - li { - display: inline; - text-align: center; - span { - margin: 0; - text-align: center; - width: 3.2rem; - } - a { - span { - margin: 0; - text-align: center; - width: 3.2rem; - } - } - } -} - -.centered { - display: flex; - height: 100%; - align-items: center; - justify-content: center; - .about { - text-align: center; - h1 { - margin-top: 2.0rem; - margin-bottom: 0.5rem; - } - h2 { - margin-top: 1.0rem; - margin-bottom: 0.5rem; - font-size: 2.4rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 2.0rem; - } - } - ul { - list-style: none; - margin: 3.0rem 0 1.0rem 0; - padding: 0; - li { - display: inline-block; - position: relative; - a { - text-transform: uppercase; - margin-left: 1.0rem; - margin-right: 1.0rem; - font-size: 1.6rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 1.4rem; - } - } - } - } - } - - .error { - text-align: center; - h1 { - margin-top: 2.0rem; - margin-bottom: 0.5rem; - font-size: 4.6rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 3.2rem; - } - } - h2 { - margin-top: 2.0rem; - margin-bottom: 3.2rem; - font-size: 3.2rem; - @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { - font-size: 2.8rem; - } - } - } -} - -.footer { - width: 100%; - text-align: center; - line-height: 2.0rem; - margin-bottom:1.0rem; -} - -.float-right { - float: right; -} - -.float-left { - float: left; -} - -// ### AsciiDoc style enhancements ### - -.title { - font-weight: bold; -} diff --git a/theme.toml b/theme.toml index d761ba7..71c7162 100644 --- a/theme.toml +++ b/theme.toml @@ -19,7 +19,7 @@ features = [ "single-column", "syntax-highlighting" ] -min_version = "0.32" +min_version = "0.43" [author] name = "Luiz F. A. de PrĂ¡"