-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
95 lines (85 loc) · 1.57 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
#thumbs, #thumbs * {
padding: 0;
margin: 0;
box-sizing: border-box;
}
#thumbs {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
padding: 10px;
}
#thumbs li {
list-style-type: none;
margin-right: 10px;
margin-bottom: 10px;
}
#thumbs li > span, .hidden {
display: none !important;
}
#thumbs figure {
position: relative;
text-align: center;
}
#thumbs img {
max-height: 100px;
max-width: 100px;
}
#thumbs figure > span {
position: absolute;
text-shadow: 0 0 2px black, 0 0 2px black;
opacity: 0;
color: white;
cursor: pointer;
transition: all .3s;
}
#thumbs .sidebar-vote.stars {
transform-origin: top left;
top: 2px;
left: 2px;
}
#thumbs .quick-unstar {
transform-origin: bottom right;
bottom: 2px;
right: 2px;
}
#thumbs figure:hover > span {
opacity: 1;
transform: scale(1.2);
}
#thumbs .img {
background-image: url('https://i.stack.imgur.com/Da7jC.png') !important;
}
#thumbs .sidebar-vote.stars.user-star .vote {
color: gold;
}
#lightbox-container {
background-color: #0008;
top: 0;
height: 100vh;
position: fixed;
width: 100vw;
z-index: 1;
display: flex;
flex-flow: column;
}
#lightbox-container > div.filler {
flex: 1 0 auto;
}
#lightbox {
flex: 0 1 auto;
overflow: auto;
margin: 0 auto;
max-width: 90%;
}
#lightbox > img {
max-height: 90vh;
max-width: 90vw;
cursor: zoom-in;
}
#lightbox > img.zoomed {
max-height: initial;
max-width: initial;
cursor: zoom-out;
}