aboutsummaryrefslogtreecommitdiff
path: root/lab/assets/css/deuxfleurs-chato-fullwidth.css
blob: dbec9b63d2468e9734bb75b3e9897c3be7aaed69 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
@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-maxWidth: 100%;
  --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-secondary-color);
  padding: 0;
}

header {
  margin-bottom: 4rem;
  height: 100%;
}

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

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

#illustration {
  background-image: url("../images/illustration-ronce_800x510px.png");
  height: 100%;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media screen and (min-width: 800px) {
  #illustration {
    background-image: url("../images/illustration-ronce_1200x765px.png");
  }
}
@media screen and (min-width: 1200px) {
  #illustration {
    background-image: url("../images/illustration-ronce_2400x1531px.png");

  }
}


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

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

section .canopee {
  background-color: var(--bg-canopee-color);
  color: var(--color-canopee);
  margin-bottom: 4rem;
}
section .canopee.left {
  margin-left: 0;
  padding-left: 6rem;
  border-top-right-radius: 3rem;
  border-bottom-right-radius: 3rem;
}
section .canopee.right {
  margin-right: 0;
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
}

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);
}