-
Notifications
You must be signed in to change notification settings - Fork 0
/
galerija.css
83 lines (74 loc) · 1.35 KB
/
galerija.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
.galerija{
display:none;
margin:0 auto;
text-align: center;
}
/* .row{
width: 98%;
height: 20vh;
margin: 107px auto;
text-align: center;
}*/
.row-block{
width: 22%;
height: auto;
display: inline-block;
transition:0.3s;
}
.row-block img{
width:100%;
height: auto;
}
.showImg {
height: 100vh;
width: 100%;
padding: 0 5rem;
background-color: rgba(0,0,0,0.8);
display: block;
justify-content: center;
align-items: center;
position: fixed;
top: 0;
left: 0;
z-index: 100;
opacity: 0;
visibility: hidden;
transition: all 0.2s linear;
}
.showOverlay {
visibility: visible;
opacity:1;
}
#closeOverlay{
position: absolute;
top: 40px;
right: 200px;
width: 50px;
height: 50px;
background-color: white;
color: black;
text-align: center;
line-height: 52px;
opacity: 1;
transition: 0.2s;
z-index: 1;
}
#closeOverlay:hover{
background-color:darkred;
transition:0.2s;
color:white;
border-radius:30px;
}
.imgContainer{
width: 100%;
height: 100vh;
left: 0;
right: 0;
position: fixed;
margin: auto;
text-align: center;
}
.imgContainer img{
max-width: 100%;
max-height:100%;
}