-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle1.css
More file actions
132 lines (112 loc) · 2.07 KB
/
style1.css
File metadata and controls
132 lines (112 loc) · 2.07 KB
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
*{
margin: 0;
padding: 0;
font-family: "montserrat",sans-serif;
box-sizing: border-box;
}
.gallery-section{
width: 100%;
padding: 60px 0;
background: #000000;
}
.inner-width{
width: 100%;
max-width: 1200px;
margin: auto;
padding: 0 20px;
}
.gallery-section h1{
text-align: left;
text-transform: uppercase;
color: rgb(255, 255, 255);
}
.gallery-section h2{
text-align: right;
text-transform: lowercase;
color: rgb(255, 255, 255);
}
.gallery-section a{
color: rgb(255, 255, 255);
text-decoration: none;
}
.border{
width: 1px;
height: 1px;
background: rgb(0, 0, 0);
margin: 40px auto;
}
.gallery-section .gallery{
display: flex;
flex-wrap: wrap-reverse;
justify-content: center;
}
.gallery-section .image{
flex: 25%;
position: relative;
overflow: hidden;
cursor: pointer;
}
.gallery-section .image img{
width: 100%;
height: 100%;
object-fit: cover;
transition: 0.4s;
}
.gallery-section .image:hover img{
transform: scale(1.2);
}
.loader-wrapper {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: #000000;
display:flex;
justify-content: center;
align-items: center;
}
.loader {
display: inline-block;
width: 30px;
height: 30px;
position: relative;
border: 4px solid #Fff;
animation: loader 2s infinite ease;
}
.loader-inner {
vertical-align: top;
display: inline-block;
width: 100%;
background-color: #fff;
animation: loader-inner 2s infinite ease-in;
}
@keyframes loader {
0% { transform: rotate(0deg);}
25% { transform: rotate(180deg);}
50% { transform: rotate(180deg);}
75% { transform: rotate(360deg);}
100% { transform: rotate(360deg);}
}
@keyframes loader-inner {
0% { height: 0%;}
25% { height: 0%;}
50% { height: 100%;}
75% { height: 100%;}
100% { height: 0%;}
}
@media screen and (max-width:960px) {
.gallery-section .image{
flex: 33.33%;
}
}
@media screen and (max-width:768px) {
.gallery-section .image{
flex: 50%;
}
}
@media screen and (max-width:480px) {
.gallery-section .image{
flex: 100%;
}
}