annotate basic.css @ 306:2c5ff6aa9845

Bump copyright years.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 03 Apr 2020 16:26:00 +0300
parents c5a5899f4869
children 782c1520984e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
218
024b22f8401a Add copyright blurb here as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 217
diff changeset
1 /*
024b22f8401a Add copyright blurb here as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 217
diff changeset
2 * Yet Another Image Gallery
024b22f8401a Add copyright blurb here as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 217
diff changeset
3 * -- Base CSS stylesheet
024b22f8401a Add copyright blurb here as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 217
diff changeset
4 * Programmed and designed by Matti 'ccr' Hamalainen <ccr@tnsp.org>
306
2c5ff6aa9845 Bump copyright years.
Matti Hamalainen <ccr@tnsp.org>
parents: 258
diff changeset
5 * (C) Copyright 2015-2020 Tecnic Software productions (TNSP)
218
024b22f8401a Add copyright blurb here as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 217
diff changeset
6 */
237
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
7 html, body {
218
024b22f8401a Add copyright blurb here as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 217
diff changeset
8 /* Prevent automatic text size adjustment, which happens on some mobile browsers. */
231
2731d2d8400e Set meta viewport tag and initial scale, and try to "fix" things for some
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
9 -webkit-text-size-adjust: 100%;
2731d2d8400e Set meta viewport tag and initial scale, and try to "fix" things for some
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
10 -moz-text-size-adjust: 100%;
2731d2d8400e Set meta viewport tag and initial scale, and try to "fix" things for some
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
11 -ms-text-size-adjust: 100%;
212
c3512a94189d Prevent idiotic Chrome text scaling / boosting.
Matti Hamalainen <ccr@tnsp.org>
parents: 211
diff changeset
12 }
c3512a94189d Prevent idiotic Chrome text scaling / boosting.
Matti Hamalainen <ccr@tnsp.org>
parents: 211
diff changeset
13
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 body {
231
2731d2d8400e Set meta viewport tag and initial scale, and try to "fix" things for some
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
15 font-size: 0.9em;
207
34c9eca1c726 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 206
diff changeset
16 font-family: Verdana, Arial, helvetica, sans-serif;
34c9eca1c726 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 206
diff changeset
17
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
18 color: white;
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
19 background: #454;
207
34c9eca1c726 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 206
diff changeset
20
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
21 margin: 0;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
22 padding: 0;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 a {
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 color: white;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 a:hover {
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 text-decoration: none;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 color: yellow;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 text-shadow: 1px 1px 2px #000;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34
244
73348fa0bc85 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 237
diff changeset
35 .note {
73348fa0bc85 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 237
diff changeset
36 color: #fd0;
73348fa0bc85 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 237
diff changeset
37 text-shadow: 1px 1px 2px #000;
73348fa0bc85 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 237
diff changeset
38 }
73348fa0bc85 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 237
diff changeset
39
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40
199
d03fad24f4bc Make separate containing div elements for gallery and image view page types.
Matti Hamalainen <ccr@tnsp.org>
parents: 198
diff changeset
41 #galleryPage, #imagePage {
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
42 padding: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
43 margin: 0;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45
199
d03fad24f4bc Make separate containing div elements for gallery and image view page types.
Matti Hamalainen <ccr@tnsp.org>
parents: 198
diff changeset
46 #imagePage {
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
47 position: absolute;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
48 top: 0;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
49 bottom: 0;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
50 left: 0;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
51 right: 0;
199
d03fad24f4bc Make separate containing div elements for gallery and image view page types.
Matti Hamalainen <ccr@tnsp.org>
parents: 198
diff changeset
52 }
d03fad24f4bc Make separate containing div elements for gallery and image view page types.
Matti Hamalainen <ccr@tnsp.org>
parents: 198
diff changeset
53
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
54 h1 {
123
956cafa61b91 Adjust.
Matti Hamalainen <ccr@tnsp.org>
parents: 121
diff changeset
55 font-size: 1.5em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56 font-family: helvetica;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
57 margin: 0;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
58 padding: 0.25em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59 color: white;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 text-shadow: 2px 2px 2px #000;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
61 background: #787;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
63 border-top-left-radius: 0.25em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
64 border-top-right-radius: 0.25em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
65 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
66
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
67 #pageInfoHeader {
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
68 background: #565;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
69 margin: 0;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
70 padding: 0.25em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
71
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
72 border-top-left-radius: 0.5em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
73 border-top-right-radius: 0.5em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
74 }
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
75
102
f8e6e0f2471d Use CSS id instead of generic selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 94
diff changeset
76 #pageInfoFooter {
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
77 position: fixed;
203
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
78
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
79 bottom: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
80 left: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
81 right: 0;
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
82 height: 1.5em;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
83
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
84 background: #565;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
85 margin: 0;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
86 padding: 0.25em;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
87 text-align: right;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
88 font-size: 0.75em;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
89 text-shadow: 1px 1px 1px black;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
90
237
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
91 border-top: 1px solid black;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
92 z-index: 12;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
93 }
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
94
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
95 div.imagePageHeader {
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
96 position: fixed;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
97
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
98 z-index: 12;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
99
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
100 top: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
101 left: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
102 right: 0;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
103 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
104
168
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
105 #pageInfoButton, #pageUpNaviButton {
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
106 display: block;
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
107 text-decoration: none;
229
9dcfd808c092 Cosmetic.
Matti Hamalainen <ccr@tnsp.org>
parents: 228
diff changeset
108
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
109 position: fixed;
176
d7d773f6b246 Adjust hovering control button positions, size and opacity.
Matti Hamalainen <ccr@tnsp.org>
parents: 168
diff changeset
110 left: 0.15em;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
111 z-index: 30;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
112
176
d7d773f6b246 Adjust hovering control button positions, size and opacity.
Matti Hamalainen <ccr@tnsp.org>
parents: 168
diff changeset
113 text-align: center;
d7d773f6b246 Adjust hovering control button positions, size and opacity.
Matti Hamalainen <ccr@tnsp.org>
parents: 168
diff changeset
114 width: 1em;
d7d773f6b246 Adjust hovering control button positions, size and opacity.
Matti Hamalainen <ccr@tnsp.org>
parents: 168
diff changeset
115 height: 1em;
237
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
116 font-size: 1.1em;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
117
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
118 background: black;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
119 color: white;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
120
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
121 border: 0.2em solid white;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
122 border-radius: 0.3em;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
123 padding: 1em;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
124 }
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
125
168
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
126 #pageInfoButton:hover, #pageUpNaviButton:hover {
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
127 background: white;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
128 color: black;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
129 }
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
130
197
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
131 #pageInfoButton {
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
132 top: 4em;
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
133 }
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
134
168
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
135 #pageUpNaviButton {
197
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
136 top: 0.25em;
168
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
137 }
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
138
179
ff99168270e5 Cosmetic.
Matti Hamalainen <ccr@tnsp.org>
parents: 178
diff changeset
139
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
140 /*
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
141 * Albums
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
142 */
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
143 div.albumHeaderText {
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
144 padding: 0.25em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
145 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
146
20
12916fcdb8b8 Improve the non-tabled mode.
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
147 .galleryTable {
143
be2e9d5e127d Fix CSS so that use_tables actually works with the default example CSS.
Matti Hamalainen <ccr@tnsp.org>
parents: 139
diff changeset
148 align-items: center;
be2e9d5e127d Fix CSS so that use_tables actually works with the default example CSS.
Matti Hamalainen <ccr@tnsp.org>
parents: 139
diff changeset
149 justify-content: center;
be2e9d5e127d Fix CSS so that use_tables actually works with the default example CSS.
Matti Hamalainen <ccr@tnsp.org>
parents: 139
diff changeset
150 width: 100%;
be2e9d5e127d Fix CSS so that use_tables actually works with the default example CSS.
Matti Hamalainen <ccr@tnsp.org>
parents: 139
diff changeset
151 background: #454;
156
d5ebb0d9d70f Minor CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 155
diff changeset
152 margin-bottom: 1em;
104
d7cc5c0ca1b5 Some CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 102
diff changeset
153 display: flex;
d7cc5c0ca1b5 Some CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 102
diff changeset
154 flex-wrap: wrap;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
155 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
156
235
028291a78acb Get rid of the "use tables" option.
Matti Hamalainen <ccr@tnsp.org>
parents: 231
diff changeset
157 .galleryEntry {
227
a57b5fa51e07 Attempt to get rid of the hard-coded pixel sizes for thumbnails in the stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents: 225
diff changeset
158 width: 12em;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
159 padding: 1em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
160 text-align: center;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
161 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
162
235
028291a78acb Get rid of the "use tables" option.
Matti Hamalainen <ccr@tnsp.org>
parents: 231
diff changeset
163 .galleryEntry img {
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
164 width: 100%;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
165 }
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
166
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
167 .galleryTable + .imageTable {
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
168 border-top: 2px solid #232;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
169 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
170
20
12916fcdb8b8 Improve the non-tabled mode.
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
171 .galleryTable a, .galleryTable a:visited {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
172 text-decoration: none;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
173 color: white;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
174 outline: 0;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
175 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
176
20
12916fcdb8b8 Improve the non-tabled mode.
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
177 .galleryTable a:hover, .galleryTable a:active, .galleryTable a:focus {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
178 text-shadow: 1px 1px 2px #000;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
179 text-decoration: underline;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
180 color: #f00;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
181 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
182
235
028291a78acb Get rid of the "use tables" option.
Matti Hamalainen <ccr@tnsp.org>
parents: 231
diff changeset
183 .galleryTable .galleryEntry {
20
12916fcdb8b8 Improve the non-tabled mode.
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
184 display: inline-block;
12916fcdb8b8 Improve the non-tabled mode.
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
185 vertical-align: middle;
12916fcdb8b8 Improve the non-tabled mode.
Matti Hamalainen <ccr@tnsp.org>
parents: 18
diff changeset
186 }
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
187
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
188
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
189 /*
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
190 *
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
191 */
203
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
192 #pageImageBox {
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
193 position: absolute;
203
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
194 top: 0;
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
195 bottom: 4.5em;
203
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
196 left: 0;
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
197 right: 0;
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
198 }
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
199
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
200
177
724fac3d21e9 Use .imageBox class selector instead of more specific div.imageBox.
Matti Hamalainen <ccr@tnsp.org>
parents: 176
diff changeset
201 .imageBox {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
202 text-align: center;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
203 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
204
177
724fac3d21e9 Use .imageBox class selector instead of more specific div.imageBox.
Matti Hamalainen <ccr@tnsp.org>
parents: 176
diff changeset
205 .imageBox img,
150
28a2b6e6b527 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 144
diff changeset
206 div.imageCtrl img {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
207 border: 0.2em solid black;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
208 border-radius: 0.3em;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
209 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
210
177
724fac3d21e9 Use .imageBox class selector instead of more specific div.imageBox.
Matti Hamalainen <ccr@tnsp.org>
parents: 176
diff changeset
211 .imageBox a:hover img, .imageBox a:active img, .imageBox a:focus img,
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
212 div.imageCtrl a:hover img, div.imageCtrl a:active img, div.imageCtrl a:focus img {
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
213 border: 0.2em solid white;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
214 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
215
177
724fac3d21e9 Use .imageBox class selector instead of more specific div.imageBox.
Matti Hamalainen <ccr@tnsp.org>
parents: 176
diff changeset
216 .galleryEntry .imageBox img {
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
217 box-shadow: 2px 2px 4px -2px black;
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
218 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
219
18
8c1599a30120 CSS improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
220 img.albumIcon {
8c1599a30120 CSS improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
221 border: 0.2em solid black;
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
222 border-radius: 0.4em;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
223 box-shadow: 0px 0px 2px black;
18
8c1599a30120 CSS improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
224 }
8c1599a30120 CSS improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
225
8c1599a30120 CSS improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
226 a:hover img.albumIcon, a:active img.albumIcon, a:focus img.albumIcon {
8c1599a30120 CSS improvements.
Matti Hamalainen <ccr@tnsp.org>
parents: 3
diff changeset
227 border: 0.2em solid white;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
228 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
229
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
230 div.imageCtrl {
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
231 position: absolute;
258
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
232 min-width: 8em;
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
233 width: 10%;
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
234 top: 0;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
235 bottom: 0;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
236 background: rgba(0,0,0, 0.35);
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
237 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
238
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
239 div.imageCtrl.next, div.imageCtrl.nextBtm {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
240 right: 0;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
241 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
242
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
243
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
244 div.imageCtrl.prev, div.imageCtrl.prevBtm {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
245 left: 0;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
246 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
247
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
248 div.imageCtrl a {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
249 display: block;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
250 position: absolute;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
251 top: 0;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
252 bottom: 0;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
253 left: 0;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
254 right: 0;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
255 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
256
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
257 div.imageCtrl a img {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
258 position: relative;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
259 display: block;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
260 margin: auto;
227
a57b5fa51e07 Attempt to get rid of the hard-coded pixel sizes for thumbnails in the stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents: 225
diff changeset
261 width: 85%;
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
262 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
263
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
264
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
265 div.imageCtrl.nextBtm, div.imageCtrl.prevBtm {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
266 z-index: 1;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
267 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
268
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
269 div.imageCtrl.prev, div.imageCtrl.next {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
270 opacity: 0;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
271 transition: opacity 0.15s linear;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
272 z-index: 10;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
273 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
274
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
275 div.imageCtrl.prev:hover, div.imageCtrl.next:hover {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
276 opacity: 1;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
277 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
278
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
279
180
05fba4ce0b5a Add #imageImageBox style def.
Matti Hamalainen <ccr@tnsp.org>
parents: 179
diff changeset
280 #imageImageBox {
215
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
281 position: absolute;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
282 top: 0;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
283 left: 0;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
284 right: 0;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
285 bottom: 0;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
286
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
287 display: flex;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
288 align-items: center;
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
289 justify-content: center;
180
05fba4ce0b5a Add #imageImageBox style def.
Matti Hamalainen <ccr@tnsp.org>
parents: 179
diff changeset
290 }
05fba4ce0b5a Add #imageImageBox style def.
Matti Hamalainen <ccr@tnsp.org>
parents: 179
diff changeset
291
203
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
292
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
293 #imageImage {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
294 position: relative;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
295 z-index: 5;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
296 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
297
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
298 div.imageCtrl * img {
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
299 position: absolute;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
300 top: 40%;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
301 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
302
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
303
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
304
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
305 div.albumTitle, div.imageCaption {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
306 text-align: center;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
307 text-shadow: 1px 1px 2px black;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
308 padding: 0.5em;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
309 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
310
24
7f5209a6f7e0 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
311 .galleryEntry div.imageCaption {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
312 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
313
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
314 #pageImageCaption {
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
315 position: absolute;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
316 bottom: 1.5em;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
317 left: 0;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
318 right: 0;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
319 height: 2em;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
320 background: #350;
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
321 border-top: 1px solid black;
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
322 border-bottom: 1px solid black;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
323 z-index: 12;
144
c0c0708bd94d Make image caption stand out a bit better on the image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 143
diff changeset
324 }
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
325
197
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
326 #infoBox {
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
327 position: fixed;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
328 bottom: 0;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
329 left: 0.1em;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
330 right: 0.1em;
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
331 height: auto;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
332 min-height: 5em;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
333 background: rgba(0,0,0, 0.5);
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
334
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
335 text-align: center;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
336 margin: 0;
156
d5ebb0d9d70f Minor CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 155
diff changeset
337 padding-top: 0.5em;
d5ebb0d9d70f Minor CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 155
diff changeset
338 padding-bottom: 2em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
339 border: 0.2em solid white;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
340 border-radius: 0.5em;
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
341
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
342 opacity: 0;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
343 z-index: 15;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
344 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
345
197
4150b412a783 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
346 #infoBox:hover {
82
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
347 opacity: 1;
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
348 }
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
349
e0e5e5197bb8 Refactor for somewhat more mobile-bullshit-friendly style and usage.
Matti Hamalainen <ccr@tnsp.org>
parents: 74
diff changeset
350
94
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
351 #imageLink {
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
352 position: absolute;
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
353 left: 0;
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
354 right: 0;
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
355 bottom: 0;
155
144513aefcd4 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 152
diff changeset
356
94
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
357 background: white;
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
358 color: black;
155
144513aefcd4 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 152
diff changeset
359
94
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
360 text-shadow: none;
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
361 text-decoration: none;
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
362 font-size: 1.25em;
155
144513aefcd4 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 152
diff changeset
363
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
364 padding: 0.5em;
94
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
365 }
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
366
1e9a6e773627 Improve best quality/"full size" link CSS styling.
Matti Hamalainen <ccr@tnsp.org>
parents: 91
diff changeset
367
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
368 span.infoDateTime {
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
369 display: block;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
370 color: white;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
371 font-weight: bold;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
372 text-shadow: 1px 1px 2px black;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
373 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
374
40
cac085f8f4ab Add comment.
Matti Hamalainen <ccr@tnsp.org>
parents: 24
diff changeset
375
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
376 /*
40
cac085f8f4ab Add comment.
Matti Hamalainen <ccr@tnsp.org>
parents: 24
diff changeset
377 * Navigation controls
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
378 */
3
c85f630a4198 Improve bread crumb navigation by making the current album a link as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
379 .naviBreadCrumbItem {
c85f630a4198 Improve bread crumb navigation by making the current album a link as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
380 }
c85f630a4198 Improve bread crumb navigation by making the current album a link as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
381
c85f630a4198 Improve bread crumb navigation by making the current album a link as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
382 .naviBreadCrumbCurr {
244
73348fa0bc85 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 237
diff changeset
383 color: #fd0;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
384 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
385
3
c85f630a4198 Improve bread crumb navigation by making the current album a link as well.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
386 .naviBreadCrumbSep:before {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
387 content: " → ";
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
388 color: #0f0;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
389 font-weight: bold;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
390 font-size: 1.5em;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
391 }
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
392
118
6739c52e110c Change naviBreadCrumbs to CSS id instead of class.
Matti Hamalainen <ccr@tnsp.org>
parents: 116
diff changeset
393 #naviBreadCrumbs {
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
394 text-shadow: 1px 1px 1px black;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
395 padding: 0.5em;
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
396 padding-top: 0;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
397 font-size: 1.25em;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
398
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
399 background: #676;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
400 box-shadow: 0px 2px 4px -4px black;
0
ac688606ec4b Initial import of code.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
401 }
44
bc9da3b71888 Implement imgur-style image zoom/de-zoom via image click/enter.
Matti Hamalainen <ccr@tnsp.org>
parents: 42
diff changeset
402
bc9da3b71888 Implement imgur-style image zoom/de-zoom via image click/enter.
Matti Hamalainen <ccr@tnsp.org>
parents: 42
diff changeset
403
48
5a2dd41ff7ad Initial implementation of language selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 44
diff changeset
404 #languages {
5a2dd41ff7ad Initial implementation of language selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 44
diff changeset
405 position: absolute;
135
8425fcd3fc25 Adjust language selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
406 right: 0.5em;
8425fcd3fc25 Adjust language selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
407 top: 0.5em;
73
5e98fe999fac Adjust language selector CSS.
Matti Hamalainen <ccr@tnsp.org>
parents: 72
diff changeset
408 background: black;
5e98fe999fac Adjust language selector CSS.
Matti Hamalainen <ccr@tnsp.org>
parents: 72
diff changeset
409 border-radius: 0.35em;
135
8425fcd3fc25 Adjust language selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
410 padding: 0.5em;
48
5a2dd41ff7ad Initial implementation of language selector.
Matti Hamalainen <ccr@tnsp.org>
parents: 44
diff changeset
411 }
116
7964b6a27f8a Adjust language selection box.
Matti Hamalainen <ccr@tnsp.org>
parents: 110
diff changeset
412
7964b6a27f8a Adjust language selection box.
Matti Hamalainen <ccr@tnsp.org>
parents: 110
diff changeset
413 #languages a {
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
414 display: inline-block;
116
7964b6a27f8a Adjust language selection box.
Matti Hamalainen <ccr@tnsp.org>
parents: 110
diff changeset
415 padding: 0.5em;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
416 margin: 0.1em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
417 background: white;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
418 color: black;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
419 border-radius: 0.35em;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
420 text-align: center;
116
7964b6a27f8a Adjust language selection box.
Matti Hamalainen <ccr@tnsp.org>
parents: 110
diff changeset
421 }
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
422
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
423
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
424 /*
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
425 * Mobile device rules via media queries
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
426 */
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
427 @media screen and (min-resolution: 2dppx) and (min-resolution: 150dpi) {
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
428
225
3b8fd5a7a4cf CSS cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
429 /*
3b8fd5a7a4cf CSS cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
430 * Orientation related
3b8fd5a7a4cf CSS cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
431 */
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
432 @media (orientation: landscape) {
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
433 body {
231
2731d2d8400e Set meta viewport tag and initial scale, and try to "fix" things for some
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
434 font-size: 1em;
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
435 }
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
436 }
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
437
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
438
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
439 @media (orientation: portrait) {
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
440 body {
231
2731d2d8400e Set meta viewport tag and initial scale, and try to "fix" things for some
Matti Hamalainen <ccr@tnsp.org>
parents: 230
diff changeset
441 font-size: 1.4em;
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
442 }
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
443
235
028291a78acb Get rid of the "use tables" option.
Matti Hamalainen <ccr@tnsp.org>
parents: 231
diff changeset
444 .galleryEntry {
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
445 width: 40%;
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
446 }
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
447
215
23995179ecd8 Use flexbox for centering the image on image pages.
Matti Hamalainen <ccr@tnsp.org>
parents: 213
diff changeset
448 #pageInfoHeader, h1 {
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
449 font-size: 1.25em;
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
450 }
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
451
228
a0a1fe8d2fe0 Commonize some CSS settings for mobile landscape/portrait.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
452 }
a0a1fe8d2fe0 Commonize some CSS settings for mobile landscape/portrait.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
453
236
9803200bc7f8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 235
diff changeset
454
9803200bc7f8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 235
diff changeset
455 /*
9803200bc7f8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 235
diff changeset
456 * Common rules
9803200bc7f8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 235
diff changeset
457 */
228
a0a1fe8d2fe0 Commonize some CSS settings for mobile landscape/portrait.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
458 #pageInfoButton, #pageUpNaviButton {
a0a1fe8d2fe0 Commonize some CSS settings for mobile landscape/portrait.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
459 font-size: 1.5em;
a0a1fe8d2fe0 Commonize some CSS settings for mobile landscape/portrait.
Matti Hamalainen <ccr@tnsp.org>
parents: 227
diff changeset
460 bottom: 3em;
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
461 }
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
462
236
9803200bc7f8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 235
diff changeset
463
225
3b8fd5a7a4cf CSS cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
464 div.imageCtrl a img {
237
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
465 top: 3%;
225
3b8fd5a7a4cf CSS cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 218
diff changeset
466 }
203
3798ba80a255 Cosmetics.
Matti Hamalainen <ccr@tnsp.org>
parents: 201
diff changeset
467
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
468 div.albumTitle, div.imageCaption {
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
469 font-size: 1.2em;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
470 }
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
471
236
9803200bc7f8 Cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 235
diff changeset
472
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
473 #languages {
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
474 position: relative;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
475 top: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
476 right: 0;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
477 left: 0;
237
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
478 margin: 0;
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
479 padding: 0.2em;
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
480 text-align: right;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
481 }
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
482
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
483 #languages a {
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
484 width: 5em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
485 padding: 1em;
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
486 }
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
487
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
488 #naviBreadCrumbs {
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
489 font-size: 1.5em;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
490 }
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
491
209
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
492 div.albumHeaderText {
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
493 }
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
494
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
495 #pageImageCaption {
671b7cfebf87 Various fixes and adjustments to style.
Matti Hamalainen <ccr@tnsp.org>
parents: 207
diff changeset
496 bottom: 0;
210
0a0a2936d779 Adjust image adjustment etc.
Matti Hamalainen <ccr@tnsp.org>
parents: 209
diff changeset
497 height: 2.5em;
0a0a2936d779 Adjust image adjustment etc.
Matti Hamalainen <ccr@tnsp.org>
parents: 209
diff changeset
498 overflow: hidden;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
499 }
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
500
237
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
501 #imageImage {
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
502 border: none;
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
503 border-radius: 0;
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
504 box-shadow: none;
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
505 }
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
506
c7f369ff0fb9 CSS adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 236
diff changeset
507 #imagePage #pageInfoFooter {
152
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
508 display: none;
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
509 }
606b05c31d5e Improve mobile experience and also desktop image display, maybe.
Matti Hamalainen <ccr@tnsp.org>
parents: 150
diff changeset
510
168
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
511 #pageInfoButton, #pageUpNaviButton {
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
512 top: auto;
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
513 left: auto;
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
514 }
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
515
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
516 #pageInfoButton {
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
517 right: 0.25em;
168
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
518 }
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
519
ba02d12cb4be Add "up" navigation button, to go back to the main gallery from image page.
Matti Hamalainen <ccr@tnsp.org>
parents: 156
diff changeset
520 #pageUpNaviButton {
213
8938fef384a2 CSS adjustments, use nesting media query blocks.
Matti Hamalainen <ccr@tnsp.org>
parents: 212
diff changeset
521 right: 4em;
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
522 }
230
6b34b61b956b Add a horrible kludge for using the info button to display also the image info on mobile.
Matti Hamalainen <ccr@tnsp.org>
parents: 229
diff changeset
523
6b34b61b956b Add a horrible kludge for using the info button to display also the image info on mobile.
Matti Hamalainen <ccr@tnsp.org>
parents: 229
diff changeset
524 #infoBox {
6b34b61b956b Add a horrible kludge for using the info button to display also the image info on mobile.
Matti Hamalainen <ccr@tnsp.org>
parents: 229
diff changeset
525 background: black;
6b34b61b956b Add a horrible kludge for using the info button to display also the image info on mobile.
Matti Hamalainen <ccr@tnsp.org>
parents: 229
diff changeset
526 display: none;
6b34b61b956b Add a horrible kludge for using the info button to display also the image info on mobile.
Matti Hamalainen <ccr@tnsp.org>
parents: 229
diff changeset
527 opacity: 1;
6b34b61b956b Add a horrible kludge for using the info button to display also the image info on mobile.
Matti Hamalainen <ccr@tnsp.org>
parents: 229
diff changeset
528 }
120
d1ed6213f6d2 Various improvements/changes to CSS and usability on mobile devices.
Matti Hamalainen <ccr@tnsp.org>
parents: 118
diff changeset
529 }
258
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
530
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
531
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
532 @media screen and (max-width: 400px), screen and (max-height: 400px) {
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
533 body {
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
534 font-size: 10px;
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
535 }
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
536
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
537 #pageInfoHeader {
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
538 }
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
539 }
c5a5899f4869 Minor stylesheet adjustments.
Matti Hamalainen <ccr@tnsp.org>
parents: 244
diff changeset
540