-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (67 loc) · 1.58 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
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*, html {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--white: #fff;
--bg-color: #151515;
--primary-color: #a91d3a;
--secondary-color: #C73659;
--text-color:#EEEEEE;
}
body {
font-family: Poppins, sans-serif;
background-color: var(--bg-color);
color: var(--secondary-color);
}
h1 {
text-align: center;
margin: 25px 0 15px 0;
font-size: 3rem;
letter-spacing: .3rem;
text-transform: uppercase;
}
/* loader */
.loader {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(21, 21, 21, 0.8);
}
.loader img {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* image container */
.image-container {
margin: 10px 5%;
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.image-container img {
width: 100%;
height: 550px
;
transition: .2s ease-in-out;
}
.image-container img:hover {
transform: scale(1.1);
box-shadow: 0px 3px 5px 3px var(--secondary-color);
}
/* Tablets & Phones */
@media screen and (max-width: 600px) {
h1 {
font-size: 1.8rem;
}
.image-container {
margin: 10px 5%;
grid-template-columns: 1fr;
}
}