55 --secondary-button : # e8f2ec ;
66 --accent : # 61a87b ;
77}
8-
98@font-face {
10- font-family : 'Inter' ;
11- src : url ('/fonts/Inter.eot' );
12- src : url ('/fonts/Inter.eot' ) format ('embedded-opentype' ),
13- url ('/fonts/Inter.woff2' ) format ('woff2' ),
14- url ('/fonts/Inter.woff' ) format ('woff' ),
15- url ('/fonts/Inter.ttf' ) format ('truetype' ),
16- url ('/fonts/Inter.svg' ) format ('svg' );
17- }
18-
19- .container {
20- height : 100vh ;
21- width : 100% ;
22- overflow-y : scroll;
23- scroll-snap-type : y mandatory;
24- }
25-
26- .panel {
27- scroll-snap-align : center;
28- height : 100vh ;
29- display : flex;
30- flex-direction : column;
31- align-items : center;
32- padding-left : 5% ;
33- padding-right : 5% ;
34- }
35-
36- .panel h1
37- {
38- color : var (--accent );
39- font-size : 3em ;
40- font-weight : bold;
41- padding : 15px ;
42- }
43-
44- .panel : nth-child (2 )
45- {
46- background-image : url ("/images/forest (Moyen).jpg" );
47- background-size : cover;
48- }
49-
50- .slider {
51- display : flex;
52- min-width : 0 ;
53-
9+ font-family : "Inter" ;
10+ src : url ('../fonts/Inter.woff2' ) format ('woff2' );
11+ font-weight : normal;
12+ font-style : normal;
5413
55- border-radius : 1rem ;
56- border : 22px solid var (--secondary-button );
57- background-color : var (--secondary-button );
58- gap : 25px ;
5914}
6015
61- @media screen and (orientation : landscape) {
62- .slider {
63- width : 90% ;
64- flex-direction : row;
65- overflow-x : scroll;
66- overflow-y : hidden;
67- }
16+ * {
17+ box-sizing : border-box;
18+ margin : 0 ;
19+ padding : 0 ;
6820}
6921
70- @media screen and (orientation : portrait) {
71- .slider {
72- height : 90% ;
73- flex-direction : column;
74- overflow-x : hidden;
75- overflow-y : scroll;
76- }
77- }
78-
79- .no_scroll_bar {
80- scrollbar-width : none;
81- -ms-overflow-style : none;
82- }
83-
84- .no_scroll_bar ::-webkit-scrollbar {
85- display : none;
86- }
87-
88- .card {
89- position : relative;
90- min-width : 400px ;
91- height : 280px ;
92- flex-grow : 1 ;
93- background-color : var (--secondary-button );
94- }
95- .card > img {
96- width : 100% ;
97- height : 100% ;
98- object-fit : cover;
99- }
100-
101- .card_content {
102- position : absolute;
103- top : 0 ;
104- left : 0 ;
22+ html {
10523 width : 100% ;
10624 height : 100% ;
107- display : flex;
108- flex-direction : column;
109- justify-content : space-between;
110- }
111-
112- .back_blur {
113- background-color : color-mix (in srgb, var (--secondary-button ), transparent 30% );
114- backdrop-filter : blur (2px );
115- }
116-
117- .card_content > p {
118- text-align : center;
11925}
12026
121- /*PRESENTATION*/
122- .logo {
123- display : block;
124-
125- grid-column : 4 / span 2 ;
126- grid-row : 1 / span 3 ;
127-
27+ body {
28+ font-family : "Inter" ;
12829 width : 100% ;
12930 height : 100% ;
13031}
13132
132- .presentation {
133- display : grid;
134- grid-template-columns : 20% 20% 20% 20% 20% ;
135- grid-template-rows : 25% 25% 25% 25% ;
136- }
137-
138- .description {
139- display : flex;
140-
141- grid-column : 1 / span 3 ;
142- grid-row : 1 / span 3 ;
14333
144- flex-direction : column;
145- height : 100% ;
146- justify-content : space-evenly;
14734
35+ .hero {
36+ background : linear-gradient (10deg , var (--accent ), color-mix (in oklab, var (--accent ), blue 35% ));
37+ padding : 1rem ;
38+ color : var (--background );
39+ margin-bottom : 1rem ;
14840}
14941
150- .description > h1 {
42+ .hero p {
15143 text-align : center;
152- font-size : 5em ;
153- font-weight : bold;
154- color : var (--accent );
155- }
156-
157- .presentation hr {
158- width : 95% ;
159- border : 1px solid var (--accent );
160- }
161-
162- .presentation h2 {
163- padding-top : 5px ;
164- padding-bottom : 30px ;
165- }
166-
167- .competences {
168- display : flex;
169- justify-content : space-evenly;
170- flex-wrap : wrap;
171- }
172-
173- .competence {
174- background-color : var (--secondary-button );
175- padding : 5px ;
176- margin : 3px ;
177- border-radius : 5px ;
178- min-width : 200px ;
179- text-align : center;
180- font-size : 2em ;
181- }
182-
183- .description > p
184- {
185- max-width : 600px ;
186- margin : 0 auto;
187- text-align : justify;
188-
189- border : solid var (--accent ) 1px ;
190- border-radius : 5px ;
191- padding : 15px ;
192- background : var (--secondary-button );
193- }
194-
195- .contact {
196- width : 100% ;
197- height : 100% ;
198-
199- grid-row : 4 ;
200- grid-column : 1 / span 5 ;
201-
202- justify-self : center;
203- margin : auto;
204- }
205-
206- .contact_infos {
207- display : flex;
208-
209- flex-direction : row;
210- justify-content : space-evenly;
211- align-items : flex-start;
212- width : 100% ;
213- height : 100% ;
214- }
215-
216- .programmation
217- {
218- display : grid;
219- grid-template-columns : 100% ;
220- grid-template-rows : 20% 80% ;
221- }
222-
223- .programmation > .title {
224- display : flex;
225- justify-content : center;
226- align-items : center;
227- grid-row : 1 ;
228- grid-column : 1 ;
229-
230- height : 100% ;
231- }
232-
233- .programmation > .projects {
234- grid-row : 2 ;
235- grid-column : 1 ;
236-
237- display : flex;
238- justify-content : center;
239- align-items : center;
240-
241- height : 100% ;
242-
243- }
244-
245-
246-
247-
248- body {
249- background-color : var (--background );
250- color : var (--text );
251- font-family : "Inter" , Arial, sans-serif;
252- /*max-width: 1000px;*/
253- margin : auto;
44+ padding-top : 1em ;
45+ color : color-mix (in oklab, var (--background ) 70% , gray);
25446}
25547
25648h1 {
257- font-weight : bold;
258- font-size : 2.5em ;
259- margin : 20px 0 ;
49+ text-align : center;
50+ font-size : clamp (1rem , 3rem , 5vw );
26051}
26152
26253h2 {
263- font-weight : bold;
264- font-size : 2.2em ;
265- text-align : center;
266- padding : 15px ;
267- }
268-
269- b {
270- font-weight : bold;
271- color : var (--accent );
272- }
273-
274- p {
275- line-height : 25px ;
276- margin : 10px 0 ;
277- }
278-
279- a {
280- text-decoration : underline;
281- font-weight : bold;
282- color : var (--accent );
283- width : auto;
284- }
285-
286- .navigation_bar
287- {
288- display : flex;
289- justify-content : space-between;
290- align-items : center;
291- padding : 10px ;
292- font-weight : bolder;
293- font-size : 1.2em ;
294- margin : 5px 10px 50px ;
295- }
296-
297- .navigation_bar a
298- {
299- color : var (--text );
300- text-decoration : none;
301- transition : transform 0.2s ;
302- }
303-
304- .navigation_bar > a : hover
305- {
306- transform : translateY (-3px );
307- }
308-
309- .button {
310- background-color : var (--primary-button );
311- color : var (--background ) !important ;
312- padding : 15px ;
313- margin : 10px 0 0 10px ;
314- border-radius : 5px ;
315- transition : transform 0.2s , box-shadow 0.1s ;
316- }
317-
318- .button > i {
319- margin-right : 10px ;
320- }
321- .button : hover {
322- transform : scale (1.03 ) translateY (-3px ) !important ;
323- box-shadow : # 10f49c 0 3px 10px 0 ;
324- cursor : pointer;
54+ font-size : clamp (0.5rem , 2.5rem , 5vw );
55+ line-height : clamp (0.5rem , 2.5rem , 5vw );
32556}
32657
327- . content {
328- margin : 1000 px ;
58+ p , a , button , li {
59+ font-size : clamp ( 0.5 rem , 2 rem , 2 vw ) ;
32960}
33061
33162
332- .banner {
333- padding : 10px ;
334- background-color : # ffa416 ;
335- color : # fff ;
336- }
337-
338- .banner a {
339- display : flex;
340- align-items : center;
341- justify-content : center;
342- text-decoration : none;
343- color : # fff ;
344- }
34563
346- .banner a : hover {
347- text-decoration : underline;
348- }
64+ .competence {
34965
350- .banner img {
351- width : 80px ;
35266}
0 commit comments