hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit 84543ecaf67051f36174bf7b82ca0b18bb6824d8
parent fe1d17dc8fb548fa661ce53d0d7d3923f035ccbd
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date:   Thu, 13 Jun 2019 14:28:23 -0400

Creates some files

Diffstat:
Adata/tokens/colors.lua | 4++++
Adata/tokens/grid.lua | 2++
Adata/tokens/typography.lua | 2++
Astatic/src/css/inline-styles.scss | 38++++++++++++++++++++++++++++++++++++++
Dstatic/src/css/styles.css | 37-------------------------------------
Astatic/src/css/styles.scss | 0
6 files changed, 46 insertions(+), 37 deletions(-)

diff --git a/data/tokens/colors.lua b/data/tokens/colors.lua @@ -0,0 +1,4 @@ +-- colors tokens +return { + +} diff --git a/data/tokens/grid.lua b/data/tokens/grid.lua @@ -0,0 +1,2 @@ +-- grid tokens +return {} diff --git a/data/tokens/typography.lua b/data/tokens/typography.lua @@ -0,0 +1,2 @@ +-- typography tokens +return {} diff --git a/static/src/css/inline-styles.scss b/static/src/css/inline-styles.scss @@ -0,0 +1,38 @@ +:root { + font-size: calc(1vw + 1vh + .5vmin); +} + +html, +body { + height: 100%; + min-height: 100%; +} + +body { + background: #eee; + color: #111; + font: 1rem/1.6 monospace; + + & > article, + & > div, + & > main { + margin: auto; + max-width: 960px; + width: auto; + } +} + +img { + max-width: 100%; +} + +.visuallyhidden { + border:0; + clip:rect(0 0 0 0); + height:1px; + margin:-1px; + overflow:hidden; + padding:0; + position:absolute; + width:1px; +} diff --git a/static/src/css/styles.css b/static/src/css/styles.css @@ -1,37 +0,0 @@ -:root { - font-size: calc(1vw + 1vh + .5vmin); -} - -html, -body { - height: 100%; - min-height: 100%; -} - -body { - background: #eee; - color: #111; - font: 1rem/1.6 monospace; -} - -body > * { - margin: auto; - max-width: 960px; - width: auto; -} - -img { - max-width: 100%; - width: auto; -} - -.visuallyhidden { - border:0; - clip:rect(0 0 0 0); - height:1px; - margin:-1px; - overflow:hidden; - padding:0; - position:absolute; - width:1px; -} diff --git a/static/src/css/styles.scss b/static/src/css/styles.scss