3aebadf7 |
1 | /* Reset rules by Eric S. Meyer |
2 | http://meyerweb.com/eric/tools/css/reset/ |
3 | v2.0 | 20110126 |
4 | License: none (public domain) |
5 | */ |
6 | html, body, div, span, applet, object, iframe, |
7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
8 | a, abbr, acronym, address, big, cite, code, |
9 | del, dfn, em, img, ins, kbd, q, s, samp, |
10 | small, strike, strong, sub, sup, tt, var, |
11 | b, u, i, center, |
12 | dl, dt, dd, ol, ul, li, |
13 | fieldset, form, label, legend, |
14 | table, caption, tbody, tfoot, thead, tr, th, td, |
15 | article, aside, canvas, details, embed, |
16 | figure, figcaption, footer, header, hgroup, |
17 | menu, nav, output, ruby, section, summary, |
18 | time, mark, audio, video { |
19 | margin: 0; |
20 | padding: 0; |
21 | border: 0; |
22 | font-size: 100%; |
23 | font: inherit; |
24 | vertical-align: baseline; } |
25 | |
26 | /* HTML5 display-role reset for older browsers */ |
27 | article, aside, details, figcaption, figure, |
28 | footer, header, hgroup, menu, nav, section { |
29 | display: block; } |
30 | |
31 | body { |
32 | line-height: 1; } |
33 | |
34 | ol, ul { |
35 | list-style: none; } |
36 | |
37 | blockquote, q { |
38 | quotes: none; } |
39 | |
40 | blockquote:before, blockquote:after, |
41 | q:before, q:after { |
42 | content: ''; |
43 | content: none; } |
44 | |
45 | table { |
46 | border-collapse: collapse; |
47 | border-spacing: 0; } |
48 | |
49 | h1 { |
50 | font-family: 'Montserrat', sans-serif; |
51 | font-weight: 800; |
52 | text-transform: uppercase; } |
53 | |
54 | h2 { |
55 | font-family: 'Montserrat', sans-serif; |
56 | font-weight: 800; |
57 | text-transform: uppercase; } |
58 | |
59 | h3 { |
60 | font-family: 'Montserrat', sans-serif; |
61 | font-weight: 800; |
62 | text-transform: uppercase; } |
63 | |
64 | h4 { |
65 | font-family: 'Montserrat', sans-serif; |
66 | font-weight: 800; |
67 | text-transform: uppercase; } |
68 | |
69 | h5 { |
70 | font-family: 'Montserrat', sans-serif; |
71 | font-weight: 800; |
72 | text-transform: uppercase; } |
73 | |
74 | h6 { |
75 | font-family: 'Montserrat', sans-serif; |
76 | font-weight: 800; |
77 | text-transform: uppercase; } |
78 | |
79 | div { |
80 | margin: 0; |
81 | padding: 0; } |
82 | |
83 | .material-icons { |
84 | line-height: 1em; } |
85 | |
86 | dl dt { |
87 | text-decoration: underline; } |
88 | dl dd { |
89 | margin-left: 2em; } |
90 | |
91 | body { |
92 | font-family: 'Open Sans', sans-serif; |
93 | font-size: 16px; |
94 | font-weight: 400; |
95 | line-height: 1.5; |
96 | background-color: #F5F5F5; |
97 | background: radial-gradient(farthest-corner at 1% 1%, #F5F5F5 30%, #9E9E9E 100%); } |
98 | body #wrapper { |
99 | padding: 1em; |
100 | padding-left: 4.5em; |
101 | display: grid; |
102 | grid-template-columns: 1fr 1fr 1fr 1fr; |
103 | grid-template-rows: auto; |
104 | grid-template-areas: "header header header header" "main main main main" "footer footer footer footer"; } |
105 | body #wrapper #language { |
106 | position: fixed; |
107 | top: 0; |
108 | left: 0; |
109 | width: 7%; |
110 | z-index: 99; |
111 | margin: 0; |
112 | padding: 0; |
113 | color: #F5F5F5; } |
114 | body #wrapper #menu { |
115 | position: fixed; |
116 | top: 0; |
117 | left: 0; |
118 | width: 10em; |
119 | height: 100vh; |
120 | background-color: #616161; |
121 | -webkit-box-shadow: 0px 10px 25px #484848; |
122 | -moz-box-shadow: 0px 10px 25px #484848; |
123 | box-shadow: 0px 10px 25px #484848; |
124 | transition: width 0.4s ease-in-out; } |
125 | body #wrapper #menu.closed { |
126 | width: 4em; } |
127 | body #wrapper #menu.closed #menu-content { |
128 | display: none; } |
129 | body #wrapper #menu #menu-content { |
130 | margin-top: 3em; |
131 | text-align: center; |
132 | padding-left: 1em; |
133 | padding-right: 1em; } |
e6e48bf7 |
134 | body #wrapper #menu #menu-content #print-page i { |
135 | font-size: 6em; |
136 | color: #F5F5F5; } |
3aebadf7 |
137 | body #wrapper #header { |
138 | grid-area: header; |
139 | display: grid; |
140 | grid-template-columns: 3fr 1fr; |
141 | grid-template-rows: 1; |
142 | grid-template-areas: "name photo"; } |
143 | body #wrapper #header figure { |
144 | grid-area: photo; |
145 | width: 16em; } |
146 | body #wrapper #header figure img { |
147 | width: 16em; |
148 | -webkit-box-shadow: -5px 5px 25px #484848; |
149 | -moz-box-shadow: -5px 5px 25px #484848; |
150 | box-shadow: -5px 5px 25px #484848; } |
151 | body #wrapper #header #heading { |
152 | grid-area: name; |
153 | align-self: center; |
154 | text-align: center; |
155 | line-height: 2.5; } |
156 | body #wrapper #header #heading div h1 { |
157 | font-size: 3em; |
158 | line-height: 2; } |
159 | body #wrapper #header #heading div#address { |
160 | text-transform: uppercase; } |
161 | body #wrapper #header #heading div#address i { |
162 | font-size: 1em; |
163 | line-height: 1; } |
164 | body #wrapper #main { |
165 | grid-area: main; } |
166 | body #wrapper #main #container #content { |
167 | display: grid; |
168 | grid-template-columns: 1fr 3fr; |
169 | grid-template-rows: repeat(5, fit-content(100%)); |
170 | grid-column-gap: 1em; |
171 | grid-template-areas: "profile-title profile-content" "working-title working-content" "studies-title studies-content" "knowledge-title knowledge-content" "personal-title personal-content"; } |
172 | body #wrapper #main #container #content div, body #wrapper #main #container #content h2 { |
173 | margin-top: 2em; } |
174 | body #wrapper #main #container #content h2.personal-profile { |
175 | grid-area: profile-title; } |
176 | body #wrapper #main #container #content div.personal-profile { |
177 | grid-area: profile-content; |
178 | text-align: justify; } |
179 | body #wrapper #main #container #content h2.working-experience { |
180 | grid-area: working-title; } |
181 | body #wrapper #main #container #content div.working-experience { |
182 | grid-area: working-content; } |
183 | body #wrapper #main #container #content div.working-experience div:first-child { |
184 | margin-top: 0; } |
185 | body #wrapper #main #container #content h2.studies { |
186 | grid-area: studies-title; } |
187 | body #wrapper #main #container #content div.studies { |
188 | grid-area: studies-content; } |
189 | body #wrapper #main #container #content h2.knowledge { |
190 | grid-area: knowledge-title; } |
191 | body #wrapper #main #container #content div.knowledge { |
192 | grid-area: knowledge-content; |
193 | text-align: justify; } |
194 | body #wrapper #main #container #content h2.personal-details { |
195 | grid-area: personal-title; } |
196 | body #wrapper #main #container #content div.personal-details { |
197 | grid-area: personal-content; } |
198 | body #wrapper #main #container #content h2 { |
199 | text-align: left; } |
200 | body #wrapper #main #container #privacy { |
201 | margin-top: 2em; |
202 | display: grid; |
203 | grid-template-columns: 1fr 3fr; |
204 | grid-template-rows: auto; |
205 | grid-row-gap: 1px; |
206 | grid-template-areas: ". refs" ". privacy"; } |
207 | body #wrapper #main #container #privacy div#refs { |
208 | grid-area: refs; } |
209 | body #wrapper #main #container #privacy div#notice { |
210 | grid-area: privacy; } |
211 | body #wrapper #main #container #privacy div#notice, |
212 | body #wrapper #main #container #privacy div#refs { |
213 | text-align: center; |
214 | font-size: 0.7em; |
215 | font-style: italic; } |
216 | body #wrapper #footer { |
217 | margin-top: 2em; |
218 | font-size: 0.8em; |
219 | grid-area: footer; } |
220 | body #wrapper #footer p { |
221 | display: grid; |
222 | grid-template-columns: 1fr 1fr 1fr; |
223 | grid-template-rows: auto; |
224 | grid-column-gap: 1em; |
225 | grid-template-areas: "mail name phone"; } |
226 | body #wrapper #footer p span i { |
227 | font-size: 0.75em; } |
228 | body #wrapper #footer p span#mail { |
229 | grid-area: mail; |
230 | text-align: left; } |
231 | body #wrapper #footer p span#name { |
232 | grid-area: name; |
233 | text-align: center; } |
234 | body #wrapper #footer p span#phone { |
235 | grid-area: phone; |
236 | text-align: right; } |
237 | |
238 | @page { |
239 | size: A4; |
e6e48bf7 |
240 | margin: 17mm 15mm 17mm 15mm; } |
3aebadf7 |
241 | @media print { |
242 | body { |
243 | background: none; } |
244 | body #wrapper #language, |
245 | body #wrapper #menu { |
246 | display: none; } |
247 | body #wrapper #header figure { |
e6e48bf7 |
248 | width: 8em; } |
3aebadf7 |
249 | body #wrapper #header figure img { |
e6e48bf7 |
250 | width: 8em; |
3aebadf7 |
251 | box-shadow: none; } |
252 | body #wrapper #main #container #content div.working-experience div { |
253 | page-break-inside: avoid; } |
e6e48bf7 |
254 | body #wrapper #main #container #content div.knowledge p:last-child { |
3aebadf7 |
255 | page-break-after: always !important; } |
e6e48bf7 |
256 | body #wrapper #main #container #content h2.personal-details { |
257 | page-break-before: always; } |
3aebadf7 |
258 | body #wrapper #footer { |
259 | position: fixed; |
260 | bottom: 0; |
261 | width: 100%; } |
262 | |
263 | html, body { |
264 | width: 210mm; |
265 | height: 297mm; } } |
266 | |
267 | /*# sourceMappingURL=style.css.map */ |