-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle3.css
195 lines (144 loc) · 2.88 KB
/
style3.css
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
.svg_1 {
position: absolute;
top: 0;
width: 100%;
height: auto;
}
.svg_2 {
width: 100%;
position: relative;
bottom: 0;
}
/* Corps de la page */
body {
font-family: "Goldman";
background-color: #142b4d;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
height: 100vh;
}
/* Style de la balise h1 (Portfolio) */
h1 {
font-family: 'Rajdhani';
color: #f0ebd8;
font-size: 5rem;
text-align: center;
align-items: center;
margin: 2em;
}
/* Titres pages (ex : Mes projets, etc...) */
h2 {
font-family: 'Goldman';
color: #f0ebd8;
font-size: 5rem;
text-align: center;
align-items: center;
}
/* Barre de navigation */
.navbar {
color: #f0ebd8;
display: flex;
height: 100px;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
align-items: center;
justify-content: space-evenly;
width: 100%;
}
nav a {
color: #f0ebd8;
}
.navbar div {
display: flex;
flex-wrap: nowrap;
align-items: center;
}
a {
font-size: 1.98rem;
text-decoration: none;
color: #f0ebd8;
}
/* Quand on va sur un élément de la barre de navigation */
a:hover {
text-decoration: underline;
}
/* Concernant les éléments de la page lorsqu'ils sont redimentionnés */
main {
flex-grow: 1;
height: auto;
z-index: 1;
/* border: green solid; */
}
/* Responsive */
/* --- Page "Qui suis-je ?" --- */
p.about_1 {
/* border: red solid; */
display: inline;
color: #f0ebd8;
width: 40%;
font-size: 1.3em;
text-align: justify;
vertical-align: top;
margin: 0;
}
.pdp {
width: 53%;
}
.pdp img {
width: 100%;
height: auto;
}
.b1 {
width: 100%;
display: flex;
justify-content: space-around;
}
/* color: #f0ebd8 #142b4d */
@media screen and (max-width: 900px) {
h1 {
font-family: 'Rajdhani';
color: #f0ebd8;
font-size: 2rem;
text-align: center;
align-items: center;
}
h2 {
font-family: "Goldman";
color: #f0ebd8;
font-size: 5rem;
text-align: center;
align-items: center;
margin-top: 10%;
}
.navbar {
flex-direction: column;
padding-top: 1.5em;
}
.svg_2 {
display: none;
}
.svg_1 {
display: none;
}
a {
font-size: 1.5rem;
text-decoration: none;
color: #f0ebd8;
}
.b1 {
flex-direction: column-reverse;
justify-content: center;
text-align: center;
}
p.about_1 {
width: 90%;
padding: 1em;
}
.pdp {
margin-left: auto;
margin-right: auto;
}
}