From 0d2a41242a48aa4dd2f0c7d3bbb4b7fefdf9be60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Sun, 3 Feb 2019 16:00:13 +0100 Subject: [PATCH 1/5] added parameter for centered view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Felix Nüsse --- layouts/_default/baseof.html | 7 ++++++- source/css/main.css | 10 +++++++++- static/assets/blue.css | 2 +- static/assets/green.css | 2 +- static/assets/main.js | 2 +- static/assets/pink.css | 2 +- static/assets/red.css | 2 +- static/assets/style.css | 2 +- 8 files changed, 21 insertions(+), 8 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a6a6470..a0f40a4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,12 @@ {{ partial "head.html" . }} -
+{{ if eq $.Site.Params.themeWidth "full" }} +
+{{ else }} +
+{{ end }} + {{ partial "header.html" . }}
diff --git a/source/css/main.css b/source/css/main.css index e1f4fea..52e351e 100644 --- a/source/css/main.css +++ b/source/css/main.css @@ -222,14 +222,22 @@ ol ol { display: flex; flex-direction: column; padding: 40px; - border-right: 1px solid rgba(255, 255, 255, .1); max-width: 864px; min-height: 100vh; @media (--phone) { padding: 20px; } + } +.full { + border-right: none; + margin: auto; +} + +.half {border-right: 1px solid rgba(255, 255, 255, .1);} + + .content { display: flex; diff --git a/static/assets/blue.css b/static/assets/blue.css index b97a4fe..d767270 100644 --- a/static/assets/blue.css +++ b/static/assets/blue.css @@ -1 +1 @@ -html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#1d212c;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#23b0ff;background:var(--accent);color:#1d212c;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(35,176,255,.2);color:#23b0ff;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #23b0ff;border-bottom:1px solid var(--accent);border-top:1px solid #23b0ff;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#23b0ff;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #23b0ff;border:1px dashed var(--accent);padding:10px}th{color:#23b0ff;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#23b0ff,#23b0ff 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(29,33,44,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#1d212c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#1d212c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#23b0ff;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#23b0ff;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#23b0ff;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#1d212c;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(35,176,255,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #23b0ff;--border:3px dotted var(--accent);border-bottom:var(--border);color:#23b0ff;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #23b0ff;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#23b0ff;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#23b0ff;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(35,176,255,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#8d9ba3}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#23b0ff;--background:#1d212c;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#1d212c;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#23b0ff;background:var(--accent);color:#1d212c;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(35,176,255,.2);color:#23b0ff;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #23b0ff;border-bottom:1px solid var(--accent);border-top:1px solid #23b0ff;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#23b0ff;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #23b0ff;border:1px dashed var(--accent);padding:10px}th{color:#23b0ff;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.full{border-right:none;margin:auto}.half{border-right:1px solid hsla(0,0%,100%,.1)}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#23b0ff,#23b0ff 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(29,33,44,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#1d212c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#1d212c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#23b0ff;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#23b0ff;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#23b0ff;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#1d212c;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(35,176,255,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #23b0ff;--border:3px dotted var(--accent);border-bottom:var(--border);color:#23b0ff;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #23b0ff;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#23b0ff;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#23b0ff;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(35,176,255,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#8d9ba3}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#23b0ff;--background:#1d212c;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file diff --git a/static/assets/green.css b/static/assets/green.css index f254f59..e364159 100644 --- a/static/assets/green.css +++ b/static/assets/green.css @@ -1 +1 @@ -html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#1f222a;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#78e2a0;background:var(--accent);color:#1f222a;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(120,226,160,.2);color:#78e2a0;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #78e2a0;border-bottom:1px solid var(--accent);border-top:1px solid #78e2a0;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#78e2a0;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #78e2a0;border:1px dashed var(--accent);padding:10px}th{color:#78e2a0;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#78e2a0,#78e2a0 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(31,34,42,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#1f222a;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#1f222a;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#78e2a0;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#78e2a0;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#78e2a0;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#1f222a;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(120,226,160,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #78e2a0;--border:3px dotted var(--accent);border-bottom:var(--border);color:#78e2a0;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #78e2a0;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#78e2a0;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#78e2a0;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(120,226,160,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#96a09a}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#78e2a0;--background:#1f222a;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#1f222a;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#78e2a0;background:var(--accent);color:#1f222a;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(120,226,160,.2);color:#78e2a0;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #78e2a0;border-bottom:1px solid var(--accent);border-top:1px solid #78e2a0;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#78e2a0;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #78e2a0;border:1px dashed var(--accent);padding:10px}th{color:#78e2a0;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.full{border-right:none;margin:auto}.half{border-right:1px solid hsla(0,0%,100%,.1)}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#78e2a0,#78e2a0 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(31,34,42,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#1f222a;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#1f222a;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#78e2a0;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#78e2a0;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#78e2a0;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#1f222a;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(120,226,160,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #78e2a0;--border:3px dotted var(--accent);border-bottom:var(--border);color:#78e2a0;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #78e2a0;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#78e2a0;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#78e2a0;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(120,226,160,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#96a09a}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#78e2a0;--background:#1f222a;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file diff --git a/static/assets/main.js b/static/assets/main.js index cde6069..e8fae7d 100644 --- a/static/assets/main.js +++ b/static/assets/main.js @@ -117,7 +117,7 @@ eval("\n\nvar container = document.querySelector(\".container\");\nvar menu = do /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/main.js */\"./source/js/main.js\");\nmodule.exports = __webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/menu.js */\"./source/js/menu.js\");\n\n\n//# sourceURL=webpack:///multi_./source/js/main.js_./source/js/menu.js?"); +eval("__webpack_require__(/*! /var/www/html/main/themes/hugo-theme-terminal/source/js/main.js */\"./source/js/main.js\");\nmodule.exports = __webpack_require__(/*! /var/www/html/main/themes/hugo-theme-terminal/source/js/menu.js */\"./source/js/menu.js\");\n\n\n//# sourceURL=webpack:///multi_./source/js/main.js_./source/js/menu.js?"); /***/ }) diff --git a/static/assets/pink.css b/static/assets/pink.css index b34d057..36d109f 100644 --- a/static/assets/pink.css +++ b/static/assets/pink.css @@ -1 +1 @@ -html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#21202c;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ee72f1;background:var(--accent);color:#21202c;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(238,114,241,.2);color:#ee72f1;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ee72f1;border-bottom:1px solid var(--accent);border-top:1px solid #ee72f1;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ee72f1;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ee72f1;border:1px dashed var(--accent);padding:10px}th{color:#ee72f1;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ee72f1,#ee72f1 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(33,32,44,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#21202c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#21202c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ee72f1;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ee72f1;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ee72f1;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#21202c;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(238,114,241,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ee72f1;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ee72f1;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ee72f1;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ee72f1;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ee72f1;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(238,114,241,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a295a2}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#ee72f1;--background:#21202c;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#21202c;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ee72f1;background:var(--accent);color:#21202c;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(238,114,241,.2);color:#ee72f1;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ee72f1;border-bottom:1px solid var(--accent);border-top:1px solid #ee72f1;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ee72f1;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ee72f1;border:1px dashed var(--accent);padding:10px}th{color:#ee72f1;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.full{border-right:none;margin:auto}.half{border-right:1px solid hsla(0,0%,100%,.1)}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ee72f1,#ee72f1 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(33,32,44,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#21202c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#21202c;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ee72f1;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ee72f1;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ee72f1;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#21202c;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(238,114,241,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ee72f1;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ee72f1;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ee72f1;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ee72f1;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ee72f1;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(238,114,241,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a295a2}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#ee72f1;--background:#21202c;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file diff --git a/static/assets/red.css b/static/assets/red.css index 0071967..158f77e 100644 --- a/static/assets/red.css +++ b/static/assets/red.css @@ -1 +1 @@ -html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#221f29;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ff6266;background:var(--accent);color:#221f29;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(255,98,102,.2);color:#ff6266;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ff6266;border-bottom:1px solid var(--accent);border-top:1px solid #ff6266;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ff6266;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ff6266;border:1px dashed var(--accent);padding:10px}th{color:#ff6266;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ff6266,#ff6266 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(34,31,41,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#221f29;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#221f29;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ff6266;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ff6266;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ff6266;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#221f29;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(255,98,102,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ff6266;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ff6266;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ff6266;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ff6266;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ff6266;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(255,98,102,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a39494}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#ff6266;--background:#221f29;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#221f29;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ff6266;background:var(--accent);color:#221f29;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(255,98,102,.2);color:#ff6266;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ff6266;border-bottom:1px solid var(--accent);border-top:1px solid #ff6266;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ff6266;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ff6266;border:1px dashed var(--accent);padding:10px}th{color:#ff6266;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.full{border-right:none;margin:auto}.half{border-right:1px solid hsla(0,0%,100%,.1)}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ff6266,#ff6266 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(34,31,41,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#221f29;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#221f29;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ff6266;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ff6266;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ff6266;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#221f29;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(255,98,102,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ff6266;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ff6266;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ff6266;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ff6266;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ff6266;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(255,98,102,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a39494}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7}:root{--accent:#ffa86a;--accent:#ff6266;--background:#221f29;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)} \ No newline at end of file diff --git a/static/assets/style.css b/static/assets/style.css index 2ce5ad4..3143d4e 100644 --- a/static/assets/style.css +++ b/static/assets/style.css @@ -1 +1 @@ -:root{--accent:#ffa86a;--background:#222129;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}@font-face{font-family:Fira Code;font-style:normal;font-weight:400;src:url(62da0ac51db1e4a3a4d57b9154a344fc.woff) format("woff")}@font-face{font-family:Fira Code;font-style:normal;font-weight:800;src:url(2bf08001f42c34e30e1de9d2eb81aead.woff) format("woff")}.button-container{display:table;margin-left:auto;margin-right:auto}.button,a.button,button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border:1px solid transparent;border-radius:8px;cursor:pointer;display:flex;justify-content:center;margin-bottom:5px;outline:none;padding:8px 18px;position:relative;text-align:center;text-decoration:none}.button.outline,a.button.outline,button.outline{background:transparent;box-shadow:none;padding:8px 18px}.button.outline :hover,a.button.outline :hover,button.outline :hover{-webkit-transform:none;box-shadow:none;transform:none}.button.primary,a.button.primary,button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.button.primary:hover,a.button.primary:hover,button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}.button.link,a.button.link,button.link{background:none;font-size:1rem}.button.small,a.button.small,button.small{font-size:.8rem}.button.wide,a.button.wide,button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:active,a.read-more:hover{background:none;box-shadow:none;display:inline-flex;margin:20px 0;max-width:100%;padding:0}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border:1px solid transparent;border-radius:8px;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;justify-content:center;margin-bottom:5px;outline:none;padding:3px 8px;position:relative;text-align:center;text-decoration:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ffa86a,#ffa86a 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(34,33,41,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#222129;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#222129;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ffa86a;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ffa86a;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ffa86a;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#222129;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ffa86a;background:var(--accent);color:#222129;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(255,168,106,.2);color:#ffa86a;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ffa86a;border-bottom:1px solid var(--accent);border-top:1px solid #ffa86a;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ffa86a;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ffa86a;border:1px dashed var(--accent);padding:10px}th{color:#ffa86a;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{border-right:1px solid hsla(0,0%,100%,.1);display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(255,168,106,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ffa86a;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ffa86a;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ffa86a;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ffa86a;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#222129;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.footer{flex-grow:0;opacity:.5;padding:40px 0}.footer__inner{align-items:center;display:flex;justify-content:space-between;margin:0;max-width:100%;width:760px}@media (max-width:899px){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{align-items:center;color:var(--light-color-secondary);display:flex;flex-direction:row;font-size:1rem}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>:first-child:not(:only-child){margin-right:10px}@media (max-width:899px){.footer .copyright>:first-child:not(:only-child){border:none;margin:0;padding:0}}@media (max-width:899px){.footer .copyright{flex-direction:column;margin-top:10px}}code[class*=language-],pre[class*=language-]{-moz-tab-size:2;-ms-hyphens:none;-o-tab-size:2;-webkit-hyphens:none;background:none;font-family:inherit,monospace;hyphens:none;line-height:1.5;tab-size:2;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}pre[class*=language-]{margin:.5em 0;overflow:auto;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{border-radius:8px}:not(pre)>code[class*=language-]{border-radius:.3em;padding:.1em;white-space:normal}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block;pointer-events:none}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}.code-toolbar{border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);margin:40px 0;padding:20px 0;position:relative}.code-toolbar+.code-toolbar{border-top:0;margin-top:-40px}.code-toolbar+.highlight,.code-toolbar+.highlight .code-toolbar{border-top:0}.code-toolbar code,.code-toolbar pre{border:none}.code-toolbar code{color:inherit}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar>.toolbar .toolbar-item{display:inline-block}div.code-toolbar>.toolbar a{cursor:pointer}div.code-toolbar>.toolbar button{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0}div.code-toolbar>.toolbar a,div.code-toolbar>.toolbar button,div.code-toolbar>.toolbar span{background:#f5f2f0;background:hsla(0,0%,87.8%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar a:focus,div.code-toolbar>.toolbar a:hover,div.code-toolbar>.toolbar button:focus,div.code-toolbar>.toolbar button:hover,div.code-toolbar>.toolbar span:focus,div.code-toolbar>.toolbar span:hover{color:inherit;text-decoration:none}.command-line-prompt{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;user-select:none}.command-line-prompt>span:before{color:#999;content:" ";display:block;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ffa86a;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(255,168,106,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a39b94}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7} \ No newline at end of file +:root{--accent:#ffa86a;--background:#222129;--border-color:hsla(0,0%,100%,0.1);--color:#fff;--phoneWidth:(max-width:684px);--tabletWidth:(max-width:900px)}@font-face{font-family:Fira Code;font-style:normal;font-weight:400;src:url(62da0ac51db1e4a3a4d57b9154a344fc.woff) format("woff")}@font-face{font-family:Fira Code;font-style:normal;font-weight:800;src:url(2bf08001f42c34e30e1de9d2eb81aead.woff) format("woff")}.button-container{display:table;margin-left:auto;margin-right:auto}.button,a.button,button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border:1px solid transparent;border-radius:8px;cursor:pointer;display:flex;justify-content:center;margin-bottom:5px;outline:none;padding:8px 18px;position:relative;text-align:center;text-decoration:none}.button.outline,a.button.outline,button.outline{background:transparent;box-shadow:none;padding:8px 18px}.button.outline :hover,a.button.outline :hover,button.outline :hover{-webkit-transform:none;box-shadow:none;transform:none}.button.primary,a.button.primary,button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}.button.primary:hover,a.button.primary:hover,button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}.button.link,a.button.link,button.link{background:none;font-size:1rem}.button.small,a.button.small,button.small{font-size:.8rem}.button.wide,a.button.wide,button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:active,a.read-more:hover{background:none;box-shadow:none;display:inline-flex;margin:20px 0;max-width:100%;padding:0}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border:1px solid transparent;border-radius:8px;cursor:pointer;display:inline-flex;font-size:13px;font-weight:500;justify-content:center;margin-bottom:5px;outline:none;padding:3px 8px;position:relative;text-align:center;text-decoration:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{align-items:center;display:flex;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{background:repeating-linear-gradient(90deg,#ffa86a,#ffa86a 2px,transparent 0,transparent 10px);background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 2px,transparent 0,transparent 10px);content:"";display:block;right:10px;width:100%}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{--shadow:0 10px var(--shadow-color),-10px 10px var(--shadow-color),10px 10px var(--shadow-color);--shadow-color:rgba(34,33,41,0.8);margin:20px 0}@media (max-width:683px){.header .menu{background:#222129;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;list-style:none;margin:0;padding:10px;position:absolute;right:0;top:50px;z-index:99}}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}@media (max-width:683px){.header .menu__inner--desktop{display:none}}.header .menu__inner--mobile{display:none}@media (max-width:683px){.header .menu__inner--mobile{display:block}}.header .menu__inner li:not(:last-of-type){flex:0 0 auto;margin-bottom:10px;margin-right:20px}@media (max-width:683px){.header .menu__inner{align-items:flex-start;flex-direction:column;padding:0}.header .menu__inner li{margin:0;padding:5px}}.header .menu__sub-inner{list-style:none;margin:0;padding:0;position:relative}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{background:#222129;background:var(--background);border:2px solid;box-shadow:var(--shadow);color:#fff;left:0;list-style:none;margin:0;padding:10px;position:absolute;top:35px;z-index:99}.header .menu__sub-inner-more-trigger{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;color:#ffa86a;color:var(--accent);cursor:pointer;user-select:none}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.header .menu-trigger{border:2px solid;color:#ffa86a;color:var(--accent);height:100%;margin-left:10px;padding:3px 8px;position:relative}.logo{align-items:center;background:#ffa86a;background:var(--accent);color:#000;display:flex;padding:5px 10px;text-decoration:none}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{-webkit-font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";-webkit-font-smoothing:antialiased;-webkit-font-variant-ligatures:contextual;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;background-color:#222129;color:#fff;color:var(--color);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:"liga","tnum","case","calt","zero","ss01","locl","calt";font-size:1rem;font-variant-ligatures:contextual;line-height:1.54;margin:0;padding:0;text-rendering:optimizeLegibility}@media (max-width:683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{align-items:center;display:flex;font-weight:700;line-height:1.3}h1,h2,h3{font-size:1.4rem}h4,h5,h6{font-size:1.2rem}a{color:inherit}img{display:block;max-width:100%}img.center,img.left{margin-right:auto}img.center,img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;margin:25px 0;max-width:100%}figure.center,figure.left{margin-right:auto}figure.center,figure.right{margin-left:auto}figure figcaption{background:#ffa86a;background:var(--accent);color:#222129;color:var(--background);font-size:14px;margin-top:5px;padding:5px 10px}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{-webkit-font-feature-settings:normal;background:rgba(255,168,106,.2);color:#ffa86a;color:var(--accent);font-family:Fira Code,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;margin:0 2px;padding:1px 6px}code,pre{font-size:.95rem}pre{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);overflow:auto;padding:20px}@media (max-width:683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{background:none!important;border:none;font-size:inherit;margin:0;padding:0}blockquote{border-bottom:1px solid #ffa86a;border-bottom:1px solid var(--accent);border-top:1px solid #ffa86a;border-top:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width:683px){blockquote{padding-right:0}}blockquote:before{content:"\201D";font-family:Georgia,serif;font-size:3.875rem;left:-40px;position:absolute;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{color:#ffa86a;color:var(--accent);content:">";display:block;left:-25px;position:absolute}table{border-collapse:collapse;margin:40px 0;table-layout:fixed;width:100%}table,td,th{border:1px dashed #ffa86a;border:1px dashed var(--accent);padding:10px}th{color:#ffa86a;color:var(--accent)}ol,ul{margin-left:30px;padding:0}ol li,ul li{position:relative}@media (max-width:683px){ol,ul{margin-left:20px}}ol ol,ol ul,ul ol,ul ul{margin-top:20px}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;max-width:864px;min-height:100vh;padding:40px}@media (max-width:683px){.container{padding:20px}}.full{border-right:none;margin:auto}.half{border-right:1px solid hsla(0,0%,100%,.1)}.content{display:flex}hr{background:hsla(0,0%,100%,.1);background:var(--border-color);border:none;height:1px;width:100%}.hidden{display:none}.post{margin:20px auto;padding:20px 0;text-align:left;width:100%}@media (max-width:899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid hsla(0,0%,100%,.1);border-bottom:1px solid var(--border-color)}.post-meta{color:rgba(255,168,106,.7);font-size:1rem;margin-bottom:10px}.post-title{--border:3px dotted #ffa86a;--border:3px dotted var(--accent);border-bottom:var(--border);color:#ffa86a;color:var(--accent);margin:0 0 15px;padding-bottom:15px;position:relative}.post-title:after{border-bottom:var(--border);bottom:2px;content:"";display:block;position:absolute;width:100%}.post-title a{text-decoration:none}.post-tags{display:block;font-size:1rem;margin-bottom:20px;opacity:.5}.post-tags a{text-decoration:none}.post-content{margin-top:30px}.post-cover{background:transparent;border:20px solid #ffa86a;border:20px solid var(--accent);margin:40px 0;padding:20px}@media (max-width:683px){.post-cover{border-width:10px;padding:10px}}.post ul{list-style:none}.post ul li:before{color:#ffa86a;color:var(--accent);content:"\25BA";left:-20px;position:absolute}.post--regulation h1,.post--regulation h2{justify-content:center}.post--regulation h2{margin-bottom:10px}.post--regulation h2+h2{margin-bottom:20px;margin-top:-10px}.pagination{margin-top:50px}.pagination__title{display:flex;margin:100px 0 20px;position:relative;text-align:center}.pagination__title-h{background:#222129;font-size:.8rem;letter-spacing:.1em;margin:0 auto;padding:5px 10px;text-align:center;text-decoration:none;text-transform:uppercase;z-index:1}.pagination__title hr{left:0;margin-top:15px;position:absolute;right:0;width:100%;z-index:0}.pagination__buttons{align-items:center;display:flex;justify-content:center}.pagination__buttons a{text-decoration:none}.button{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:1rem;justify-content:center;max-width:40%;padding:0;position:relative}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-decoration:none}.button__text,.button a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button.next .button__icon{margin-left:8px}.button.previous .button__icon{margin-right:8px}.footer{flex-grow:0;opacity:.5;padding:40px 0}.footer__inner{align-items:center;display:flex;justify-content:space-between;margin:0;max-width:100%;width:760px}@media (max-width:899px){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{align-items:center;color:var(--light-color-secondary);display:flex;flex-direction:row;font-size:1rem}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>:first-child:not(:only-child){margin-right:10px}@media (max-width:899px){.footer .copyright>:first-child:not(:only-child){border:none;margin:0;padding:0}}@media (max-width:899px){.footer .copyright{flex-direction:column;margin-top:10px}}code[class*=language-],pre[class*=language-]{-moz-tab-size:2;-ms-hyphens:none;-o-tab-size:2;-webkit-hyphens:none;background:none;font-family:inherit,monospace;hyphens:none;line-height:1.5;tab-size:2;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal}pre[class*=language-]{margin:.5em 0;overflow:auto;padding:1em}:not(pre)>code[class*=language-],pre[class*=language-]{border-radius:8px}:not(pre)>code[class*=language-]{border-radius:.3em;padding:.1em;white-space:normal}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block;pointer-events:none}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}.code-toolbar{border-bottom:1px solid hsla(0,0%,100%,.1);border-top:1px solid hsla(0,0%,100%,.1);margin:40px 0;padding:20px 0;position:relative}.code-toolbar+.code-toolbar{border-top:0;margin-top:-40px}.code-toolbar+.highlight,.code-toolbar+.highlight .code-toolbar{border-top:0}.code-toolbar code,.code-toolbar pre{border:none}.code-toolbar code{color:inherit}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar>.toolbar .toolbar-item{display:inline-block}div.code-toolbar>.toolbar a{cursor:pointer}div.code-toolbar>.toolbar button{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0}div.code-toolbar>.toolbar a,div.code-toolbar>.toolbar button,div.code-toolbar>.toolbar span{background:#f5f2f0;background:hsla(0,0%,87.8%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar a:focus,div.code-toolbar>.toolbar a:hover,div.code-toolbar>.toolbar button:focus,div.code-toolbar>.toolbar button:hover,div.code-toolbar>.toolbar span:focus,div.code-toolbar>.toolbar span:hover{color:inherit;text-decoration:none}.command-line-prompt{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;user-select:none}.command-line-prompt>span:before{color:#999;content:" ";display:block;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.language-css .token.string,.language-scss .token.string,.style .token.string,.token.atrule,.token.attr-value,.token.boolean,.token.control,.token.directive,.token.entity,.token.keyword,.token.number,.token.regex,.token.statement,.token.string,.token.url,code.language-css,code.language-scss{color:#ffa86a;color:var(--accent)}.token.atrule-id,.token.attr-name,.token.operator,.token.placeholder,.token.tag-id,.token.unit,.token.variable{color:rgba(255,168,106,.7)}.token.function,.token.property,code.language-html,code.language-javascript{color:#a39b94}.token.punctuation,.token.selector,.token.tag{color:#fff}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:hsla(0,0%,100%,.3)}.token.namespace{opacity:.7} \ No newline at end of file From db29d335369be4ecf78856091265cef9ade1499f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Sun, 3 Feb 2019 16:01:43 +0100 Subject: [PATCH 2/5] updated readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Felix Nüsse --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 684cf5a..379cccd 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ paginate = 5 themeColor = "orange" # if you set this to 0, only submenu trigger will be visible showMenuItems = 2 + # center the content on the screen + themeWidth = "full" [languages] [languages.en] From 7cb7fc284c603a00781f086efce2deaee18096f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Kozie=C5=82?= Date: Sun, 17 Feb 2019 11:10:21 +0100 Subject: [PATCH 3/5] Update README.md Co-Authored-By: newhinton --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 379cccd..c7becad 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,10 @@ paginate = 5 # if you set this to 0, only submenu trigger will be visible showMenuItems = 2 # center the content on the screen - themeWidth = "full" + # set theme to full screen width + fullWidthTheme = true // default: false + # center theme with default width + centerTheme = true // default: false [languages] [languages.en] From 88ed5a0bef36e353b8468cc28ed1f0f076586695 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20N=C3=BCsse?= Date: Tue, 26 Feb 2019 09:30:10 +0100 Subject: [PATCH 4/5] Updated CSS and refined width-logic --- layouts/_default/baseof.html | 8 +++----- source/css/main.css | 17 +++++++++++------ 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a0f40a4..a7d7bab 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,11 +7,9 @@ {{ partial "head.html" . }} -{{ if eq $.Site.Params.themeWidth "full" }} -
-{{ else }} -
-{{ end }} +{{ $container := cond $.Site.Params.FullWidthTheme "container full" (cond $.Site.Params.CenterTheme "container center" "container") }} + +
{{ partial "header.html" . }} diff --git a/source/css/main.css b/source/css/main.css index 52e351e..3e67097 100644 --- a/source/css/main.css +++ b/source/css/main.css @@ -228,14 +228,19 @@ ol ol { @media (--phone) { padding: 20px; } + &.full, + &.center { + border: none; + margin: 0 auto; + } + + &.full { + max-width: 100%; + } + + } -.full { - border-right: none; - margin: auto; -} - -.half {border-right: 1px solid rgba(255, 255, 255, .1);} From 70cf7406fdb0512a639f6dbf6abdde358a0a79ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Kozie=C5=82?= Date: Sat, 2 Mar 2019 01:13:27 +0100 Subject: [PATCH 5/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bfc55e4..b9f4e62 100644 --- a/README.md +++ b/README.md @@ -65,9 +65,9 @@ paginate = 5 showMenuItems = 2 # center the content on the screen # set theme to full screen width - fullWidthTheme = true // default: false + fullWidthTheme = false # center theme with default width - centerTheme = true // default: false + centerTheme = false [languages] [languages.en]