-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
206 lines (179 loc) · 3.81 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/*
This file is part of viood.
viood is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
viood is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with viood. If not, see <http://www.gnu.org/licenses/>.
*/
.standalone{
}
body{
background: black;
color: white;
font-family: "Source Sans Pro", Arial, sans-serif;
padding: 0;
margin: 0;
display: flex;
min-height: 100vh;
flex-direction: column;
}
body>.gallery{
display: flex;
flex: 1;
flex-flow: row wrap;
align-content: flex-start;
align-items: stretch;
}
body.gallery .gallery a{
height: calc(25vw - 7px);
width: calc(25% - 7px);
flex-grow: 1;
display: flex;
vertical-align: top;
margin: 3px;
}
body.gallery .gallery img{
width: 100%;
height: 100%;
object-fit: cover;
}
@media (max-width: 600px){
body.gallery .gallery a{
height: calc(50vw - 7px);
width: calc(50% - 7px);
}
}
@media (min-width: 1200px){
body.gallery .gallery a{
height: calc(16.6vw - 7px);
width: calc(16.6% - 7px);
}
}
a{
text-decoration: none;
}
button{
border: 0 none;
/*background: rgba(255,255,255,0.6);*/
border-radius: 0;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
-webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
outline: none !important;
background: none;
cursor: pointer;
}
a.gallery{
position: relative;
display: inline-block;
}
.galleryOverlay{
position: absolute;
color: white;
text-align: left;
font-weight: 100;
font-size: 18px;
width: calc( 100% - 30px );
height: 100%;
padding: 0 15px 0 15px;
background: rgba(0,0,0,0.4);
transition: opacity 1s ease-in-out;
}
.galleryOverlay:hover{
opacity: 0;
transition: opacity 1s ease-in-out;
}
.galleryOverlay h3 {
font-weight: 700;
margin-top: 10px;
margin-bottom: 5px;
}
.swipe-wrap img {
width: 100vw;
height: 100vh;
object-fit: contain;
display: inline-block;
vertical-align: top;
}
.toolbar button{
font-size: 130%;
}
.toolbar{
position: fixed;
bottom: 0;
right: 0;
transition: opacity 2s ease-out;
}
.faded{
opacity: 0.5;
}
:-moz-full-screen .toolbar, :-moz-full-screen a.back{
opacity: 0.2;
}
:-webkit-full-screen .toolbar, :-webkit-full-screen a.back{
opacity: 0.2;
}
:-ms-full-screen .toolbar, :-ms-full-screen a.back{
opacity: 0.2;
}
:full-screen .toolbar, :full-screen a.back{
opacity: 0.2;
}
h1 a img{
font-size: 14px;
float: right;
}
h1, p{
margin-left: 10px;
}
h1:empty, p:empty{
margin: 0;
}
a.back{
position: fixed;
left:0;
bottom: 0;
font-size: 30px;
width: 50px;
height: 40px;
display: block;
color: white;
text-align: center;
transition: opacity 2s ease-out;
}
footer{
text-align: right;
margin-right: 10px;
}
footer a{
color: #00B3FF;
}
.showcase .one, .showcase .two{
height: 100vh;
width: 100vw;
background-size: contain;
background-color: black;
background-repeat: no-repeat;
background-position: center center;
transition: opacity 10s ease-out;
}
.showcase .two{
opacity: 0;
position: absolute;
}
pre {
display: inline;
}
body.gallery.rect .gallery img{
height: auto;
}
body.gallery.rect .gallery a{
max-height: 20%;
width: auto;
height: auto;
}