generated from Code-Institute-Org/ci-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
333 lines (292 loc) · 5.46 KB
/
style.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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
@import url('https://fonts.googleapis.com/css2?family=Satisfy&family=Spinnaker&family=Ysabeau+SC:wght@500&display=swap')
* {
margin: 0;
padding: 0;
border: none;
}
body {
font-weight: 300;
color: black;
/* background-color: #FFD9DA;*/
}
/* create a style for headings and logo*/
h1,h2 {
font-family: Spinnaker, sans-serif;
font-style: bold;
letter-spacing: 4px;
color: #100F1A;
}
h2 {
text-transform: uppercase;
}
h3{
color: #202241;
font-family: Ysabeau;
font-style: italic;
font-size: 96%;
}
p{
color: #202241;
font-family: Ysabeau;
font-size: 120%;
}
#logo {
margin-left: 50px;
font-family: Pristina;
color: #6B4E71;
font-style: italic;
float: left;
font-size: 500%;
letter-spacing: 7px;
}
/* create a style for navigation menu*/
#menu {
font-size: 120%;
letter-spacing: 3px;
padding-top: 20px;
}
/* put in the same line logo and menu*/
#menu, #logo {
line-height: 40px;
}
#menu li {
float: right;
list-style-type: none;
margin-right: 25px;
}
#menu a {
text-decoration: none;
color: grey;
}
#menu a:hover {
border-bottom: 3px solid #202241;
font-size: 130%;
}
.active {
border-bottom: 1px solid #202241;
}
/* create a style for top image and cover text */
#img-outer {
height: 750px;
width: 100%;
overflow: hidden;
position: relative;
}
#top-img {
height: 750px;
width: 100%;
background: url('top.png') no-repeat center center;
/* animates zoom effect on loading page zooming the top_img*/
animation-name: zoom_images;
animation-duration: 5s;
animation-fill-mode: forwards;
}
/* creates the level of zoom for zoom_images*/
@keyframes zoom_images {
from{
transform: scale(1);
}
to{
transform: scale(1.15);
}
}
/* create style for second section */
.welcome{
text-align: center;
padding-top: 20px;
margin: 20px 0;
font-size: 220%;
}
#second{
height: 520px;
background-color: #F1E3F3;
}
.blocs{
padding-top: 30px;
width: 25%;
float: left;
text-align: center;
margin: 20px 0;
font-size: 120%;
}
.pict{
width: 150px;
height: 150px;
padding: 30px;
border-style: solid;
border-width: 1px;
border-radius: 50%;
margin: 0 auto;
}
#third{
text-align: center;
margin-left: 250px;
margin-right: 250px;
}
#fourth{
height: 500px;
width: 100%;
background-color: #F5F0F6;
}
.card{
padding-top: 20px;
float: left;
height: 500px;
width: 20%;
text-align: center;
font-size: 120%;
}
.card img{
max-width: 90%;
max-height: 90%;
display: block;
object-fit: cover;
border-style: solid;
border-width: 1px;
border-radius: 5px;
margin: 0 auto;
}
/* footer */
footer {
height: 100px;
}
.social-networks {
text-align: center;
}
.social-networks > li {
display: inline;
}
.social-networks i {
font-size: 160%;
margin: 1%;
padding: 5%;
color: #3a3a3a;
}
.social-networks a:hover {
border-bottom: 3px solid #202241;
font-size: 130%;
}
/* gallery */
#photos {
clear: both;
line-height: 0;
column-count: 4;
column-gap: 0;
}
#photos > img {
width: 100%;
}
/* Form */
#signup {
float: left;
background: url('top2a.jpg') no-repeat center center;
background-size: cover;
background-position: 75%;
padding: 100px 55% 100px 1%;;
flex-grow: 1;
}
#signup-form {
color: #ffffff;
background-color: rgba(234, 234, 234, 0.5);
padding: 30px;
}
#signup-form>h2 {
color: #fafafa;
margin-bottom: 20px;
}
.text-input {
background: transparent;
color: #fafafa;
width: 100%;
height: 25px;
margin: 5px 0 20px 0;
border: 1px solid #fafafa;
border-radius: 2px;
padding: 0 5px;
}
/**************** Media queries ****************/
/* For larger to medium screens size from 1200px wide and down */
@media screen and (max-width: 1200px) {
#second {
margin: 0 auto;
background-color: inherit;
}
#third{
margin-left: 5%;
margin-right: 5%;
}
#welcome {
padding: 30px 0;
margin: 0;
}
/* For medium screen sizes from 950px wide and down */
@media screen and (max-width: 950px) {
#second{
width: 90%;
margin: 0 auto;
}
#fourth{
width: 90%;
margin: 0 auto;
}
.blocs {
width: inherit;
border-style: none;
}
.blocs h1,h2{
width: 100%;
text-align: center;
font-size: 80%;
}
.pict{
width: 95%;
margin: 0 auto;
border-style: none;
}
.card {
width: 90%;
height: auto;
font-size: 80%;
margin: 0 auto;
clear: right;
}
#fourth{
background-color: inherit;
}
#photos {
column-count: 3;
}
}
/* For small screen sizes 750px and down */
@media screen and (max-width: 750px) {
#photos {
column-count: 2;
}
#logo {
margin-left: 25px;
letter-spacing: 4px;
float: left;
font-size: 300%;
}
#menu {
clear: left;
float: left;
margin-left: 30px;
margin-bottom: 20px;
line-height: 25px;
}
#signup {
width: 90%;
padding:5%;
}
footer{
float: left;
}
.social-networks > li {
display: inline;
align-items: center;
}
social-networks i {
font-size: 170%;
}
}