aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/screen.scss
blob: 6e6f0601845d2a292a17e6e94bbe99e11afc059a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@import 'variables';
@import 'normalize';
@import 'skeleton';
@import 'header';
@import 'main';
@import 'aside';
@import 'footer';

/**
 * Fonts
 **/
@import 'fonts';

/**
 * Pages
 **/
@import 'gfx';
@import 'txt';
@import 'vda';
@import 'vdo';

/**
 * Languages
 **/

@charset 'UTF-8';

html[lang='en'] :lang(fr) {
    display: none !important;
}
html[lang='fr'] :lang(en) {
    display: none !important;
}

:lang(en) {
    quotes: '\201C' '\201D' '\2018' '\2019';
}
:lang(fr) {
    quotes: '« ' ' »';
}

/**
 * Defaults
 **/

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;
    color: transparent;
    padding: 0.25rem;
}

body {
    font-family: $sans-serif;
    font-size: 1em; /* No rem here, bug workaround */

    > header, > footer {
	      :link, :visited {
	          color: $fg-header-h1;
	          text-decoration: none;
	      }
    }

    :visited {
	      text-decoration: underline;
    }
}

img {
	  max-width: 100%;
}

@keyframes fade-in {
    from {
	      opacity: 0.2;
    } to {
	      opacity: 1;
    }
}
@keyframes fade-out {
    from {
	      opacity: 1;
    } to {
	      opacity: 0.2;
    }
}