hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit a43a9210a48a5e5507677784997db5ddab640885
parent 2ce9890e8f4f3b68be48ba729a616ae839603a83
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Mon, 27 Mar 2017 07:37:08 -0400

Try to preprocess some css with mustache

Diffstat:
Mstatic/dev/css/README.md | 48------------------------------------------------
Astatic/dev/css/global/abstractions.css | 31+++++++++++++++++++++++++++++++
Mstatic/dev/css/global/base.css | 13+++++--------
Mstatic/dev/css/global/grid.css | 7+++----
Mstatic/dev/css/modules/logo.css | 2+-
Mstatic/dev/css/modules/nav.css | 4++--
Mstatic/dev/css/modules/note.css | 2+-
Mstatic/prod/css/styles.css | 53++++++++++++++++++++++++++++++++++++++++-------------
Mstatic/prod/css/styles.min.css | 4++--
Mtemplates/mustache/partials/head.mustache | 32+-------------------------------
10 files changed, 86 insertions(+), 110 deletions(-)

diff --git a/static/dev/css/README.md b/static/dev/css/README.md @@ -1,48 +0,0 @@ - -<!-- // DEFAULT CONFIGURATION --> -<!-- $typo: ( --> -<!-- fontsize: 18, --> -<!-- lineheight: 1.5 --> -<!-- ); --> - -<!-- $paths: ( --> -<!-- images: "http://assets.soucy.cc/images/", --> -<!-- fonts: "../fonts/" --> -<!-- ); --> - -<!-- $grid: ( --> -<!-- maxwidth: 992px, --> -<!-- colnumber: 12, --> -<!-- gutter:12px --> -<!-- ); --> - -<!-- // Colors --> -<!-- $colors: ( --> -<!-- black: #000000, --> -<!-- alpha: #111111, --> -<!-- beta: #0000ff, --> -<!-- gamma:#00a450, --> -<!-- delta:#f5871e, --> -<!-- epsilon: #ed1a3b, --> -<!-- omega: #f1f1f1, --> -<!-- white: #ffffff --> -<!-- ); --> - -<!-- // RWD Breakpoints --> -<!-- $breakpoints: ( --> -<!-- xxs: 360, --> -<!-- xs: 520, --> -<!-- sm: 768, --> -<!-- md: 992, --> -<!-- lg: 1140 --> -<!-- ); --> - -<!-- // X Y Rhythm --> -<!-- $spacings: ( --> -<!-- xs: 8, --> -<!-- sm: 16, --> -<!-- default: 24, --> -<!-- md: 32, --> -<!-- lg: 48, --> -<!-- xl: 64 --> -<!-- ); --> diff --git a/static/dev/css/global/abstractions.css b/static/dev/css/global/abstractions.css @@ -0,0 +1,31 @@ +/* ABSTRACTIONS */ + +/* Global Vars */ +:root { + /* Colors */ + --base-bg-color: #f1f1f1; + --base-fg-color: #111111; + --base-link-color: #0000ff; + --code-bg-color: rgba(255,255,255,0.4); + --code-fg-color: #444444; + --shadow-color: #cccccc; + + /* Typography */ + --fontfamily-alpha: "Domine",Georgia,"Times New Roman",times,serif; + --fontfamily-beta: "Leitura News","Domine", serif; + + /* 18px / 16px */ + --base-fontsize: 112.5%; + + /* Layout */ + --grid-max-width: 992px; +} + +@media screen and (min-width: {{ BREAKPOINTS.md }}) { + :root { + /* Typography */ + + /* 24px / 16px */ + --base-fontsize: 150%; + } +} diff --git a/static/dev/css/global/base.css b/static/dev/css/global/base.css @@ -6,9 +6,6 @@ select, textarea { color:var(--base-fg-color); font-family:var(--fontfamily-alpha); -} - -html { font-size:var(--base-fontsize); line-height:1.5; } @@ -35,7 +32,7 @@ hr { h1, .like-h1 { - font-size:2em; + font-size: {{ SIZES.36 }}; hyphens:none; margin:0 0 .67em; padding-top:.67em; @@ -43,14 +40,14 @@ h1, h2, .like-h2 { - font-size:1.5em; + font-size: {{ SIZES.27 }}; margin:0.83em 0; } h3, .like-h3 { - font-size:1.17em; - margin:1em 0; + font-size: {{ SIZES.21 }}; + margin:1em 0 1em; } h4, @@ -182,7 +179,7 @@ img { code { background:var(--code-bg-color); color:var(--code-fg-color); - font-size:.85rem; + font-size:.85em; } pre { diff --git a/static/dev/css/global/grid.css b/static/dev/css/global/grid.css @@ -5,14 +5,13 @@ margin-left:auto; margin-right:auto; max-width:var(--grid-max-width); - padding:0 .889em; + padding:0 1.6rem; width:auto; } -/* 768px / 16px = 48em */ -@media screen and (min-width: 48em) { +@media screen and (min-width: {{ BREAKPOINTS.sm }}) { .layout { - padding:0 1.111em; + padding:0 2rem; text-align:left; } } diff --git a/static/dev/css/modules/logo.css b/static/dev/css/modules/logo.css @@ -9,7 +9,7 @@ } -@media screen and (min-width: 22.5em) { +@media screen and (min-width: {{ BREAKPOINTS.xxs }}) { .logo { line-height:normal; } diff --git a/static/dev/css/modules/nav.css b/static/dev/css/modules/nav.css @@ -9,7 +9,7 @@ top:.9375rem; } -@media screen and (min-width: 48em) { +@media screen and (min-width: {{ BREAKPOINTS.sm }}) { .nav-button, .nav__close { right:1.25rem; @@ -34,7 +34,7 @@ .nav-button__text, .nav__close__text { - font-size:.75rem; + font-size:.75em; display:block; } diff --git a/static/dev/css/modules/note.css b/static/dev/css/modules/note.css @@ -19,7 +19,7 @@ font-size:14px; } -@media screen and (min-width: 48em) { +@media screen and (min-width: {{ BREAKPOINTS.sm }}) { .note__footer { font-size:16px; } diff --git a/static/prod/css/styles.css b/static/prod/css/styles.css @@ -499,6 +499,37 @@ template { [hidden] { display: none; } +/* ABSTRACTIONS */ + +/* Global Vars */ +:root { + /* Colors */ + --base-bg-color: #f1f1f1; + --base-fg-color: #111111; + --base-link-color: #0000ff; + --code-bg-color: rgba(255,255,255,0.4); + --code-fg-color: #444444; + --shadow-color: #cccccc; + + /* Typography */ + --fontfamily-alpha: "Domine",Georgia,"Times New Roman",times,serif; + --fontfamily-beta: "Leitura News","Domine", serif; + + /* 18px / 16px */ + --base-fontsize: 112.5%; + + /* Layout */ + --grid-max-width: 992px; +} + +@media screen and (min-width: 62em) { + :root { + /* Typography */ + + /* 24px / 16px */ + --base-fontsize: 150%; + } +} /* BASE STYLES */ html, button, @@ -507,9 +538,6 @@ select, textarea { color:var(--base-fg-color); font-family:var(--fontfamily-alpha); -} - -html { font-size:var(--base-fontsize); line-height:1.5; } @@ -536,7 +564,7 @@ hr { h1, .like-h1 { - font-size:2em; + font-size: 2em; hyphens:none; margin:0 0 .67em; padding-top:.67em; @@ -544,14 +572,14 @@ h1, h2, .like-h2 { - font-size:1.5em; + font-size: 1em; margin:0.83em 0; } h3, .like-h3 { - font-size:1.17em; - margin:1em 0; + font-size: 1em; + margin:1em 0 1em; } h4, @@ -683,7 +711,7 @@ img { code { background:var(--code-bg-color); color:var(--code-fg-color); - font-size:.85rem; + font-size:.85em; } pre { @@ -809,14 +837,13 @@ pre code { margin-left:auto; margin-right:auto; max-width:var(--grid-max-width); - padding:0 .889em; + padding:0 1.6rem; width:auto; } -/* 768px / 16px = 48em */ @media screen and (min-width: 48em) { .layout { - padding:0 1.111em; + padding:0 2rem; text-align:left; } } @@ -892,7 +919,7 @@ footer { } -@media screen and (min-width: 22.5em) { +@media screen and (min-width: 22em) { .logo { line-height:normal; } @@ -938,7 +965,7 @@ footer { .nav-button__text, .nav__close__text { - font-size:.75rem; + font-size:.75em; display:block; } diff --git a/static/prod/css/styles.min.css b/static/prod/css/styles.min.css @@ -1 +1 @@ -@font-face{font-family:leitura news;src:url(../fonts/leitura/leituranews-italic4-webfont.eot);src:url(../fonts/leitura/leituranews-italic4-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/leitura/leituranews-italic4-webfont.woff) format('woff'),url(../fonts/leitura/leituranews-italic4-webfont.ttf) format('truetype'),url(../fonts/leitura/leituranews-italic4-webfont.svg#LeituraNewsItalic4Regular) format('svg');font-weight:400;font-style:normal}@font-face{font-family:domine;src:url(../fonts/domine/domine-bold-webfont.eot);src:url(../fonts/domine/domine-bold-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/domine/domine-bold-webfont.woff2) format('woff2'),url(../fonts/domine/domine-bold-webfont.woff) format('woff'),url(../fonts/domine/domine-bold-webfont.ttf) format('truetype'),url(../fonts/domine/domine-bold-webfont.svg#dominebold) format('svg');font-weight:700;font-style:normal}@font-face{font-family:domine;src:url(../fonts/domine/domine-regular-webfont.eot);src:url(../fonts/domine/domine-regular-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/domine/domine-regular-webfont.woff2) format('woff2'),url(../fonts/domine/domine-regular-webfont.woff) format('woff'),url(../fonts/domine/domine-regular-webfont.ttf) format('truetype'),url(../fonts/domine/domine-regular-webfont.svg#domineregular) format('svg');font-weight:400;font-style:normal}/*!normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css*/html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted buttontext}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html,button,input,select,textarea{color:var(--base-fg-color);font-family:var(--fontfamily-alpha)}html{font-size:var(--base-fontsize);line-height:1.5}html,body{height:100%;min-height:100%;position:relative}body{background:var(--base-bg-color) url(http://assets.soucy.cc/images/noise.png) repeat}hr{display:block;height:1px;border:0;border-top:1px solid var(--base-fg-color);margin:1em 0;padding:0}h1,.like-h1{font-size:2em;hyphens:none;margin:0 0 .67em;padding-top:.67em}h2,.like-h2{font-size:1.5em;margin:.83em 0}h3,.like-h3{font-size:1.17em;margin:1em 0}h4,.like-h4{font-size:1em;margin:1.33em 0}h5,.like-h5{font-size:.83em;margin:1.67em 0}h6,.like-h6{font-size:.67em;margin:2.33em 0}a{border-bottom:1px dotted var(--base-link-color);color:var(--base-link-color);text-decoration:none}a:active,a:visited{border-bottom:1px dotted var(--base-fg-color);color:var(--base-fg-color)}a:focus,a:hover{background-color:var(--base-link-color);border:0;color:var(--base-bg-color)}ol,ul{margin-left:1em;padding:0}ul ul{margin-bottom:.5em;margin-top:.5em}li{margin-bottom:.25em}address{font-style:normal}address,dl,menu,ol,ul{margin-bottom:1em;margin-top:1em}dd{margin:0}dl,menu,ol,ul{padding:0}nav ul,nav ol{list-style:none;list-style-image:none}menu ul,menu ol,nav ul,nav ol{margin:0}blockquote{border-left:10px solid #ccc;display:block;margin:1em 0;padding-left:1.5em}blockquote span{display:inline-block}blockquote span:before,blockquote span:after{display:inline}blockquote span:after{content:"\00A0\00BB"}blockquote span:before{content:"\00AB\00A0"}blockquote p{display:inline}figure{margin:0}img{max-width:100%;width:auto}code{background:var(--code-bg-color);color:var(--code-fg-color);font-size:.85rem}pre{background:var(--code-bg-color);overflow-x:auto;padding:.5em}pre code{background:transparent}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}.position--fixed{position:fixed}.position--relative{position:relative}.layout{hyphens:auto;margin-left:auto;margin-right:auto;max-width:var(--grid-max-width);padding:0 .889em;width:auto}@media screen and (min-width:48em){.layout{padding:0 1.111em;text-align:left}}.layout__vcenter{display:table-cell;height:100vh;vertical-align:middle}.cv{color:var(--base-fg-color)}.cv__title{font-size:1em;line-height:normal}.cv__title a{display:inline-block}.cv__banner .logo{margin-bottom:0}.cv__title a[rel=home]{border:0;color:var(--base-fg-color)}.cv__banner,.cv__main{text-align:left}.cv__banner .job{font-size:1.5em;margin-top:0}footer{font-size:.7619047619em}.img-cache{border:1rem solid transparent;border-radius:100%;display:inline-block;float:right;height:150px;position:relative;overflow:hidden;width:150px}.img-cache>.u-photo{max-width:100%;position:relative;top:-20px}.logo{font:normal 3.33333em/1.1 var(--fontfamily-beta);hyphens:none;margin:0 0 .333em;padding-top:.333em;padding-right:1.08333333333em;text-shadow:3px 3px var(--shadow-color)}@media screen and (min-width:22.5em){.logo{line-height:normal}}.logo a[rel=home]{border:0;color:var(--base-fg-color)}.nav-button,.nav__close{border:0;display:inline-block;position:absolute;right:.9375rem;text-align:center;top:.9375rem}@media screen and (min-width:48em){.nav-button,.nav__close{right:1.25rem}}.nav-button:active,.nav-button:hover,.nav-button:focus,.nav-button:visited{background:transparent;border-bottom:0;color:var(--base-fg-color)}.nav__close,.nav__close:visited{background:transparent;border-bottom:0;color:var(--base-bg-color)}.nav-button__text,.nav__close__text{font-size:.75rem;display:block}.nav-button__burger,.nav__x{display:block;height:50px;margin:0 auto;position:relative;width:50px}.nav-button__burger{background:var(--base-fg-color)}.nav__x{background:var(--code-fg-color)}.nav-button:hover .nav-button__burger,.nav-button:focus .nav-button__burger{background:var(--base-link-color)}.nav__panel{background:var(--base-fg-color);color:var(--base-bg-color)}.js .nav__panel{display:none}.nav__panel.state--hidden,.nav__panel.state--visible{display:block;height:auto;left:0;min-height:1em;opacity:1;position:absolute;top:0;width:100%}.mod_csstransitions .nav__panel.state--hidden,.mod_csstransitions .nav__panel.state--visible{transition:transform .25s ease-in-out}.nav__panel.state--hidden{top:-100%}.mod_csstransforms .nav__panel.state--hidden{top:0;transform:translateY(-100%)}.nav__panel.state--visible{top:0}.mod_csstransforms .nav__panel.state--visible{transform:translateY(0)}.nav__panel__content{margin:0 auto;position:relative;text-align:left;width:auto}.nav__list{padding:1em 0}.nav__link,.nav__link:visited{color:var(--base-bg-color)}.nav__link{font-size:.7619047619em}.no-js .nav__close{display:none;opacity:0}.note__list{list-style-type:none;margin-left:0}.note__item{border-bottom:1px solid var(--shadow-color);margin-bottom:1.5em;padding-bottom:1em}.note__blockquote__footer{margin:1em 0 0}.note__footer{font-size:14px}@media screen and (min-width:48em){.note__footer{font-size:16px}}.single{text-align:left}.single h1{padding-right:66px}.webmention-container{background:rgba(9,9,9,.1);margin-top:1.5em;padding:1em}.webmention-mention{margin-bottom:1em}.webmention-mention:last-child{margin-bottom:0}.webmention-author,.webmention-summary{font-size:14px}@media screen and (min-width:48em){.webmention-author,.webmention-summary{font-size:16px}}.webmention-author a{display:inline}.webmention-author img{display:inline-block;margin-right:.5em;max-width:32px;height:auto}.webmention-summary{margin:.5em 0 0}.webmention-published{font-size:12px}- \ No newline at end of file +@font-face{font-family:leitura news;src:url(../fonts/leitura/leituranews-italic4-webfont.eot);src:url(../fonts/leitura/leituranews-italic4-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/leitura/leituranews-italic4-webfont.woff) format('woff'),url(../fonts/leitura/leituranews-italic4-webfont.ttf) format('truetype'),url(../fonts/leitura/leituranews-italic4-webfont.svg#LeituraNewsItalic4Regular) format('svg');font-weight:400;font-style:normal}@font-face{font-family:domine;src:url(../fonts/domine/domine-bold-webfont.eot);src:url(../fonts/domine/domine-bold-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/domine/domine-bold-webfont.woff2) format('woff2'),url(../fonts/domine/domine-bold-webfont.woff) format('woff'),url(../fonts/domine/domine-bold-webfont.ttf) format('truetype'),url(../fonts/domine/domine-bold-webfont.svg#dominebold) format('svg');font-weight:700;font-style:normal}@font-face{font-family:domine;src:url(../fonts/domine/domine-regular-webfont.eot);src:url(../fonts/domine/domine-regular-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/domine/domine-regular-webfont.woff2) format('woff2'),url(../fonts/domine/domine-regular-webfont.woff) format('woff'),url(../fonts/domine/domine-regular-webfont.ttf) format('truetype'),url(../fonts/domine/domine-regular-webfont.svg#domineregular) format('svg');font-weight:400;font-style:normal}/*!normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css*/html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}:root{--base-bg-color: #f1f1f1;--base-fg-color: #111111;--base-link-color: #0000ff;--code-bg-color: rgba(255,255,255,0.4);--code-fg-color: #444444;--shadow-color: #cccccc;--fontfamily-alpha: "Domine",Georgia,"Times New Roman",times,serif;--fontfamily-beta: "Leitura News","Domine", serif;--base-fontsize: 112.5%;--grid-max-width: 992px}@media screen and (min-width:62em){:root{--base-fontsize: 150%}}html,button,input,select,textarea{color:var(--base-fg-color);font-family:var(--fontfamily-alpha);font-size:var(--base-fontsize);line-height:1.5}html,body{height:100%;min-height:100%;position:relative}body{background:var(--base-bg-color) url(http://assets.soucy.cc/images/noise.png) repeat}hr{display:block;height:1px;border:0;border-top:1px solid var(--base-fg-color);margin:1em 0;padding:0}h1,.like-h1{font-size:2em;hyphens:none;margin:0 0 .67em;padding-top:.67em}h2,.like-h2{font-size:1em;margin:.83em 0}h3,.like-h3{font-size:1em;margin:1em 0}h4,.like-h4{font-size:1em;margin:1.33em 0}h5,.like-h5{font-size:.83em;margin:1.67em 0}h6,.like-h6{font-size:.67em;margin:2.33em 0}a{border-bottom:1px dotted var(--base-link-color);color:var(--base-link-color);text-decoration:none}a:active,a:visited{border-bottom:1px dotted var(--base-fg-color);color:var(--base-fg-color)}a:focus,a:hover{background-color:var(--base-link-color);border:0;color:var(--base-bg-color)}ol,ul{margin-left:1em;padding:0}ul ul{margin-bottom:.5em;margin-top:.5em}li{margin-bottom:.25em}address{font-style:normal}address,dl,menu,ol,ul{margin-bottom:1em;margin-top:1em}dd{margin:0}dl,menu,ol,ul{padding:0}nav ul,nav ol{list-style:none;list-style-image:none}menu ul,menu ol,nav ul,nav ol{margin:0}blockquote{border-left:10px solid #ccc;display:block;margin:1em 0;padding-left:1.5em}blockquote span{display:inline-block}blockquote span:before,blockquote span:after{display:inline}blockquote span:after{content:"\00A0\00BB"}blockquote span:before{content:"\00AB\00A0"}blockquote p{display:inline}figure{margin:0}img{max-width:100%;width:auto}code{background:var(--code-bg-color);color:var(--code-fg-color);font-size:.85em}pre{background:var(--code-bg-color);overflow-x:auto;padding:.5em}pre code{background:transparent}.ir{background-color:transparent;border:0;overflow:hidden*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}.position--fixed{position:fixed}.position--relative{position:relative}.layout{hyphens:auto;margin-left:auto;margin-right:auto;max-width:var(--grid-max-width);padding:0 1.6rem;width:auto}@media screen and (min-width:48em){.layout{padding:0 2rem;text-align:left}}.layout__vcenter{display:table-cell;height:100vh;vertical-align:middle}.cv{color:var(--base-fg-color)}.cv__title{font-size:1em;line-height:normal}.cv__title a{display:inline-block}.cv__banner .logo{margin-bottom:0}.cv__title a[rel=home]{border:0;color:var(--base-fg-color)}.cv__banner,.cv__main{text-align:left}.cv__banner .job{font-size:1.5em;margin-top:0}footer{font-size:.7619047619em}.img-cache{border:1rem solid transparent;border-radius:100%;display:inline-block;float:right;height:150px;position:relative;overflow:hidden;width:150px}.img-cache>.u-photo{max-width:100%;position:relative;top:-20px}.logo{font:normal 3.33333em/1.1 var(--fontfamily-beta);hyphens:none;margin:0 0 .333em;padding-top:.333em;padding-right:1.08333333333em;text-shadow:3px 3px var(--shadow-color)}@media screen and (min-width:22em){.logo{line-height:normal}}.logo a[rel=home]{border:0;color:var(--base-fg-color)}.nav-button,.nav__close{border:0;display:inline-block;position:absolute;right:.9375rem;text-align:center;top:.9375rem}@media screen and (min-width:48em){.nav-button,.nav__close{right:1.25rem}}.nav-button:active,.nav-button:hover,.nav-button:focus,.nav-button:visited{background:transparent;border-bottom:0;color:var(--base-fg-color)}.nav__close,.nav__close:visited{background:transparent;border-bottom:0;color:var(--base-bg-color)}.nav-button__text,.nav__close__text{font-size:.75em;display:block}.nav-button__burger,.nav__x{display:block;height:50px;margin:0 auto;position:relative;width:50px}.nav-button__burger{background:var(--base-fg-color)}.nav__x{background:var(--code-fg-color)}.nav-button:hover .nav-button__burger,.nav-button:focus .nav-button__burger{background:var(--base-link-color)}.nav__panel{background:var(--base-fg-color);color:var(--base-bg-color)}.js .nav__panel{display:none}.nav__panel.state--hidden,.nav__panel.state--visible{display:block;height:auto;left:0;min-height:1em;opacity:1;position:absolute;top:0;width:100%}.mod_csstransitions .nav__panel.state--hidden,.mod_csstransitions .nav__panel.state--visible{transition:transform .25s ease-in-out}.nav__panel.state--hidden{top:-100%}.mod_csstransforms .nav__panel.state--hidden{top:0;transform:translateY(-100%)}.nav__panel.state--visible{top:0}.mod_csstransforms .nav__panel.state--visible{transform:translateY(0)}.nav__panel__content{margin:0 auto;position:relative;text-align:left;width:auto}.nav__list{padding:1em 0}.nav__link,.nav__link:visited{color:var(--base-bg-color)}.nav__link{font-size:.7619047619em}.no-js .nav__close{display:none;opacity:0}.note__list{list-style-type:none;margin-left:0}.note__item{border-bottom:1px solid var(--shadow-color);margin-bottom:1.5em;padding-bottom:1em}.note__blockquote__footer{margin:1em 0 0}.note__footer{font-size:14px}@media screen and (min-width:48em){.note__footer{font-size:16px}}.single{text-align:left}.single h1{padding-right:66px}.webmention-container{background:rgba(9,9,9,.1);margin-top:1.5em;padding:1em}.webmention-mention{margin-bottom:1em}.webmention-mention:last-child{margin-bottom:0}.webmention-author,.webmention-summary{font-size:14px}@media screen and (min-width:48em){.webmention-author,.webmention-summary{font-size:16px}}.webmention-author a{display:inline}.webmention-author img{display:inline-block;margin-right:.5em;max-width:32px;height:auto}.webmention-summary{margin:.5em 0 0}.webmention-published{font-size:12px}+ \ No newline at end of file diff --git a/templates/mustache/partials/head.mustache b/templates/mustache/partials/head.mustache @@ -7,37 +7,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> <script src="{{ BASE_URL }}/js/vendor/modernizr-3.3.1-custom.min.js" async="async"></script> - - <style> - /* ABSTRACTIONS */ - /* Global Vars */ - :root { - /* Colors */ - --base-bg-color: #f1f1f1; - --base-fg-color: #111111; - --base-link-color: #0000ff; - --code-bg-color: rgba(255,255,255,0.4); - --code-fg-color: #444444; - --shadow-color: #cccccc; - - /* Typography */ - --fontfamily-alpha: "Domine",Georgia,"Times New Roman",times,serif; - --fontfamily-beta: "Leitura News","Domine", serif; - - --base-fontsize: 18px; - - /* Layout */ - --grid-max-width: 992px; - } - - /* 992px / 16px = 62em */ - @media screen and (min-width: 62em) { - :root { - /* Typography */ - --base-fontsize: 24px; - } - } - </style> + <link rel="stylesheet" href="{{ BASE_URL }}/css/styles.min.css" /> <!-- webmention -->