-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.css
173 lines (154 loc) · 2.84 KB
/
gallery.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
#logo {
width: 35px;
}
#header {
font-size: 20px;
font-weight: 600;
color: white;
text-decoration: none;
/* padding-bottom: 30px; */
}
.navbar {
top: 0;
padding: 0;
margin: 0;
width: 100%;
box-sizing: border-box;
position: static;
font-family: 'Josefin Sans', sans-serif;
box-shadow: 1px 2px 3px rgb(237, 231, 231);
background: rgba(37, 36, 36, 0.2);
}
nav {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 10px;
padding-left: 5%;
padding-right: 5%;
}
nav ul li {
list-style-type: none;
display: inline-block;
padding: 10px 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
color: rgb(180, 129, 243);
transition: .2s;
}
#subscribe {
border: none;
/* background-image: linear-gradient(80deg, rgb(124, 78, 230), rgb(106, 206, 237)); */
background-image: linear-gradient(80deg, rgb(81, 41, 174), rgb(219, 106, 237));
padding: 8px 22px;
border-radius: 22px;
color: white;
font-weight: bold;
font-size: 15px;
transition: .4s;
}
#subscribe:hover {
transform: scale(1.2);
cursor: pointer;
}
body {
padding: 0;
margin: 0;
/* min-height: 100vh; */
background-image: url('/images/background.png');
/* background-size: cover; */
font-family: 'Josefin Sans', sans-serif;
}
.container {
display: grid;
grid-template-columns: repeat(6,1fr);
grid-template-rows: 250px 200px 300px 160px 180px 300px ;
grid-gap: 20px;
margin: 22px;
}
.gallery-item {
width: 100%;
height: 100%;
position: relative;
}
.gallery-item .image {
width: 100%;
height: 100%;
overflow: hidden;
}
.gallery-item .image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 50%;
cursor: pointer;
transition: .5s ease-in-out;
filter: blur(3px);
-webkit-filter: blur(3px);
}
.gallery-item:hover .image img {
transform: scale(1.05);
filter: blur(0px);
-webkit-filter: blur(0px);
}
.w-1 {
grid-column: span 1;
}
.w-2 {
grid-column: span 2;
}
.w-3 {
grid-column: span 3;
}
.w-4 {
grid-column: span 4;
}
.w-5 {
grid-column: span 5;
}
.w-6 {
grid-column: span 6;
}
.h-1 {
grid-row: span 1;
}
.h-2 {
grid-row: span 2;
}
.h-3 {
grid-row: span 3;
}
.h-4 {
grid-row: span 4;
}
.h-5 {
grid-row: span 5;
}
.h-6 {
grid-row: span 6;
}
/* -------------------------------------FOOTER------------------------------------ */
.footer {
width: 100%;
text-align: center;
padding: 20px 0;
color: rgb(255, 255, 255);
}
.footer h4 {
margin-bottom: 20px;
margin-top: 20px;
font-weight: 600px;
}
.footer p{
color: rgb(221, 180, 225);
}
.icons .fa {
margin: 0 7px;
cursor: pointer;
padding: 0 10px;
}