aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/screen.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scss/screen.scss')
-rw-r--r--assets/scss/screen.scss105
1 files changed, 60 insertions, 45 deletions
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;
- }
-}