From 29d052164439a772ffcfdf0f7c917aad7a5923aa Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 2 Jun 2022 20:54:13 +0200 Subject: Fix images for txt --- assets/scss/screen.scss | 105 +++++++++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 45 deletions(-) (limited to 'assets/scss/screen.scss') diff --git a/assets/scss/screen.scss b/assets/scss/screen.scss index 6e6f060..a18c9b9 100644 --- a/assets/scss/screen.scss +++ b/assets/scss/screen.scss @@ -1,18 +1,70 @@ +/** + * Variables + **/ @import 'variables'; + +/** + * Fonts + **/ +@import 'fonts'; + +/** + * Reset + **/ @import 'normalize'; @import 'skeleton'; + +/** + * Defaults + **/ + +a { + text-decoration: none; + + &:link { + color: $a-link; + } + &:hover { + color: $a-hover; + text-decoration: underline; + } + &:active { + color: $a-active; + } + &:visited { + color: $a-visited; + } +} + +img { + max-width: 100%; +} + +@keyframes fade-in { + from { + opacity: 0.2; + } to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + } to { + opacity: 0.2; + } +} + +/** + * Layout + **/ @import 'header'; @import 'main'; @import 'aside'; @import 'footer'; /** - * Fonts - **/ -@import 'fonts'; - -/** - * Pages + * Page overrides **/ @import 'gfx'; @import 'txt'; @@ -40,27 +92,9 @@ html[lang='fr'] :lang(en) { } /** - * Defaults + * Branding **/ -a { - text-decoration: none; - - &:link { - color: $a-link; - } - &:hover { - color: $a-hover; - text-decoration: underline; - } - &:active { - color: $a-active; - } - &:visited { - color: $a-visited; - } -} - span.ps { background: url(../img/logo-ps.svg) top left / 3rem no-repeat; opacity: 0.75; @@ -74,8 +108,7 @@ body { > header, > footer { :link, :visited { - color: $fg-header-h1; - text-decoration: none; + color: $fg-main; } } @@ -84,21 +117,3 @@ body { } } -img { - max-width: 100%; -} - -@keyframes fade-in { - from { - opacity: 0.2; - } to { - opacity: 1; - } -} -@keyframes fade-out { - from { - opacity: 1; - } to { - opacity: 0.2; - } -} -- cgit v1.2.3