-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
100 lines (84 loc) · 1.41 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
@import url('https://fonts.googleapis.com/css2?family=Yatra+One&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
background: whitesmoke;
font-family: 'Yatra One', cursive;
}
h1 {
color: rgb(17, 7, 7);
text-align: center;
margin-top: 25px;
font-size: 40px;
letter-spacing: 5px;
margin-bottom: 0;
}
h4 {
text-align: center;
margin-top: 0;
font-size: 1.5rem;
}
.loader {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(255, 255, 2555, 0.3);
}
.loader img {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.image-container {
margin: 10px 15%;
columns: 3;
column-gap: 0.5rem;
overflow: hidden;
}
.image-container img {
border-radius: 5px;
width: 100%;
margin-top: 5px;
transition: transform .7s ease;
}
.image-container img:hover {
transform: scale(1.1);
}
.unsplash-link {
font-style: italic;
text-decoration: none;
color: rgb(17, 7, 7);
}
.unsplash-link:visited {
text-decoration: none;
color: rgb(17, 7, 7);
}
.unsplash-link:hover {
text-decoration: none;
color: rgb(17, 7, 7);
}
.unsplash-link:active {
text-decoration: none;
color: rgb(17, 7, 7);
}
/* Large phone */
@media screen and (max-width: 1000px) {
.image-container {
columns: 2;
margin: 10px 2%;
}
}
@media screen and (max-width: 700px) {
h1 {
font-size: 30px;
}
.image-container {
margin: 10px;
columns: 1;
}
}