aboutsummaryrefslogtreecommitdiff
path: root/lab/assets/css/branches-et-canopee.css
blob: db61a063b5ef236fbc37e21904f4a50d40d90a2c (plain) (blame)
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
105
106
107
108
109
110
111
@import 'normalize.css';
@import 'chota.min.css';

/* font-size:
 * HTML font size is 16px on most browsers, sometimes 14px.
 * Chota sets `font-size: 62.5%;`, that is 10px on most browsers.
 */

:root {
  /* Blanc cassé (offset autour de #main-page) */
  --bg-color: #f4f4f4;
  /* Bleu turquoise du ciel au lion */
  --bg-secondary-color: #cafaef;
  /* Gris violet du sol */
  --bg-ternary-color: #c7c9e2;
  --bg-canopee-color: #151a05;
  --color-canopee: #a0c43c;
  --bg-branche-color: #381e02;
  --color-primary: #14854F;
  --color-text-light: #fafafa;
  --color-lightGrey: #d2d6dd;
  --color-grey: #747681;
  --color-darkGrey: #3f4144;
  --color-error: #d43939;
  --color-success: #28bd14;
  --grid-maxWidth: 120rem;
  --grid-gutter: 0rem;
  --font-size: 1.6rem;
  --font-color: #333333;
  --font-family-sans: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next",
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  --font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
}

body {
  background-color: var(--bg-color);
}

#main-page {
  background-color: var(--bg-ternary-color);
  padding: 0;
}

header {
  margin-bottom: 4rem;
}

header>nav {
  background-color: var(--bg-canopee-color);
  padding-left: 1rem;
  padding-right: 1rem;
}

#logo {
  font-size: 3.2rem;
  color: var(--color-text-light);
}

section div {
  padding-left: 4rem;
  padding-right: 4rem;
  margin-top: 2rem;
}

section p {
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 2rem;
}

section .canopee {
  border-radius: 3rem;
  background-color: var(--bg-canopee-color);
  color: var(--color-canopee);
  margin-bottom: 4rem;
}

section .canopee.left {
  margin-left: 0;
  padding-left: 6rem;
  border-top-left-radius: 0rem;
  border-bottom-left-radius: 0rem;
}

section .canopee.right {
  margin-right: 0;
  border-top-right-radius: 0rem;
  border-bottom-right-radius: 0rem;
}

section .canopee p {
  font-size: 1.6rem;
}

section .branche {
  background-color: var(--bg-branche-color);
  color: var(--color-text-light);
  padding-bottom: 4rem;
  padding-top: 4rem;
}

section .branche p {
  font-size: 2.6rem;
  margin: 0;
}

footer {
  padding: 4rem;
  border-top: 1px solid var(--bg-color);
}