-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (71 loc) · 1.22 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
*{
box-sizing: border-box;
}
.gallery img{
width: 100%;
max-width: 350px;
height: 350px;
/*object-fit: contain;*/
border-radius: 20px;
}
.gallery::after{
content: "";
width: 350px ;
}
img:hover {
transform: scale(0.9); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
body{
margin: 0;
font-family: sans-serif;
background-color: #f5f6f7 ;
}
.header{
text-align: center;
text-transform: uppercase;
padding: 32px;
background: #0a0a23;
color: #fff;
border-bottom: 4px solid #fdb347;
}
.main{
text-align: center;
padding: 20px;
font-family: fantasy;
}
.gallery{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding: 20px 10px;
max-width: 1400px;
margin: 0 auto;
gap: 16px;
}
.footer{
text-align: center;
padding: 32px;
background: #0a0a23;
color: #fff;
border-top: 4px solid #fdb347;
align-items: center;
}
ul{
list-style: none;
}
a{
color: #dee4e9;
text-decoration: none;
}
a:hover{
color: #fdb347;
}
h4{
text-align: center;
text-decoration: underline;
}
h4:hover{
color: #fdb347;
}