-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
111 lines (96 loc) · 1.58 KB
/
main.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
html {
scroll-behavior: smooth;
}
body {
background-color: rgba(245, 240, 236, 1);
font-family: 'Montserrat', sans-serif;
}
a,
p,
h2,
button {
font-family: 'inter';
}
.italic span {
font-family: 'inter';
}
.header-heading {
line-height: 1.2;
}
.underline-effect {
position: relative;
display: inline-block;
transition: transform 0.3s ease-in-out;
}
.underline-effect::after {
content: '';
position: absolute;
width: 100%;
height: 1px;
bottom: -2px;
left: 0;
background-color: rgba(17, 17, 17, 1);
transform: scaleX(0);
transform-origin: bottom right;
transition: transform 0.3s ease-in-out;
}
.underline-effect:hover::after {
transform: scaleX(1);
transform-origin: bottom left;
}
.rounded-card {
border-radius: 20px;
}
.popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
align-items: center;
justify-content: center;
z-index: 1000;
}
.popup img {
max-width: 90%;
max-height: 90%;
}
/* i've used https://w3bits.com/css-masonry/ below*/
.masonry {
column-count: 2;
}
.item {
display: inline-block;
margin: 0 0 2em;
max-width: 100%;
background-size: cover;
}
@media (min-width: 768px) {
.masonry {
column-count: 3;
}
}
@media (min-width: 1450px) {
.masonry {
column-count: 4;
}
}
/* ___________ */
.gradient {
background: linear-gradient(360deg, #dcc1ab 0%, rgba(214, 183, 158, 0) 100%);
}
@keyframes slide-up {
0% {
transform: translateY(20px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
#searchContainer {
animation: slide-up 0.3s ease-in-out;
}