-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.css
116 lines (89 loc) · 1.79 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
nav.navbar.bg-dark
{
background-image: linear-gradient(to right, rgb(1 10 17),rgba(0, 78, 95, 0.585));
/* background-color: rgba(255, 255, 255, 0); */
font-family: 'Scope One', serif;
font-weight: 400;
}
nav .collapse .nav-item .nav-link
{
color: rgb(255, 255, 255);
}
nav .collapse .nav-item .nav-link:hover
{
font-weight: 800;
}
.container.images-div
{
padding-bottom: 7%;
padding-top: 1.8%;
}
body
{
background-image: url("https://images.unsplash.com/photo-1478760329108-5c3ed9d495a0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80");
background-size: cover;
}
/* testing cards */
.row {
display: flex;
flex-wrap: wrap;
padding: 0 4px;
}
/* Create four equal columns that sits next to each other */
.column {
flex: 25%;
max-width: 25%;
padding: 0 4px;
}
.column img {
margin-top: 8px;
vertical-align: middle;
width: 100%;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
.column {
flex: 50%;
max-width: 50%;
}
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
flex: 100%;
max-width: 100%;
}
}
.imgg
{
position: relative;
}
#down-btn
{
position: absolute;
right: 8px;
bottom: 8px;
display: none;
}
.imgg:hover #down-btn
{
display: block;
}
@media (max-width:700px) {
#down-btn
{
font-size: 2vw;
height: min-content;
width: min-content;
display: block;
}
}
@media (max-width:1000px) {
#down-btn
{
font-size: 0.4vw;
height: min-content;
width: min-content;
display: block;
}
}