Naposledy aktivní 1752994298

NeoRetro stylesheet for Sigal

Revize 6d349753129c763916a26df55559ce080baeb463

neoretro-sigal.css Raw
1body {
2 background-color: navy;
3 color: whitesmoke;
4 font: 16px/1.5 monospace;
5}
6
7.container {
8 margin: 0 auto;
9 text-align: left;
10 width: 96%;
11}
12
13a, a:link, a:visited {
14 color: black;
15 text-decoration: none;
16 padding: 2px 6px 2px 6px;
17 background: limegreen;
18 box-shadow: 7px 7px black;
19}
20
21a:hover {
22 background: forestgreen;
23 color: yellow;
24}
25
26a:active {
27 background: black;
28 color: white;
29 box-shadow: none;
30 margin: 7px 0px 7px 7px;
31}
32
33/* remove SMALLCAPS style and dotted underline from some browsers */
34abbr[title] {
35 text-decoration: none;
36 font-variant: none;
37 border-bottom: none;
38}
39
40abbr[title="exposure"]::after { content: "s" }
41abbr[title="film speed"]::before { content: "ISO " }
42abbr[title="aperture"]::before { content: "f/" }
43abbr[title="focal length"]::after { content: "mm" }
44abbr[title="camera make and model"], abbr[title="date"] {
45 display: block;
46}
47
48/* header */
49header {
50 padding: 1em 0;
51}
52header h1, header h2 {
53 margin: 10px 0;
54}
55header h1 a, header h1 a:link, header h1 a:visited,
56header h2 a, header h2 a:link, header h2 a:visited {
57 text-decoration: none;
58}
59header h1 a:hover, header h2 a:hover {
60 text-decoration: none;
61}
62header hr {
63 margin-top: 18px;
64 border: 2px solid cyan;
65}
66
67#menu ul {
68 list-style-type: none;
69 margin: 0 0 10px;
70 padding: 0;
71}
72#menu ul li {
73 display: inline-block;
74}
75#menu ul li a, #menu ul li a:link, #menu ul li a:visited {
76 color: #aaaaaa;
77 border-bottom: 1px solid #aaaaaa;
78 padding-bottom: 2px;
79 margin-left: 5px;
80 text-decoration: none;
81}
82#menu ul li a:hover {
83 color: #eeeeee;
84 border-color: #eeeeee;
85 text-decoration: none;
86}
87
88/* gallery */
89#albums ul {
90 list-style-type: none;
91 padding-left: 0;
92}
93#albums ul li {
94 display: inline-block;
95 margin: 0 55px 30px 0;
96 text-align: center;
97 vertical-align: top;
98 width: 280px;
99}
100#albums ul li:nth-child(3n+3) {
101 margin-right: 0;
102}
103#albums ul li a img {
104 box-shadow: 10px 10px black;
105 border: 2px solid white;
106}
107#albums a {
108 background: none;
109 box-shadow: none;
110}
111#albums img:hover {
112 border: 2px solid magenta;
113}
114#albums img:active {
115 margin: 7px 0px 7px 7px;
116 box-shadow: none;
117}
118
119.album_title {
120 display: block;
121 color: white;
122 font-size: 1.2em;
123 font-weight: bold;
124 text-align: center;
125 padding-left: 25px;
126}
127
128/* galleria */
129#gallery {
130 line-height: 0;
131 width: 100%;
132 height: 600px;
133 clear: both;
134 box-shadow: 7px 7px black;
135 border: 2px solid magenta;
136}
137#gallery video {
138 position: absolute;
139 top: 10%;
140 width: 100%;
141 margin: 0 auto;
142}
143.galleria-theme-classic .galleria-info-text {
144 background-color: rgba(0, 0, 0, 0.7);
145}
146
147.icons {
148 top: 10px;
149 right: 20px;
150 padding: 6px;
151 z-index: 2;
152 position: absolute;
153 text-align: right;
154}
155.icons a {
156 cursor: pointer;
157 padding-top: 9px;
158}
159.icons a:active {
160 background: black;
161}
162/* Mimic .galleria-stage to use the same area for the map */
163#galleria-map {
164 position: absolute;
165 bottom: 80px;
166 left: 10px;
167 top: 0;
168 right: 10px;
169}
170
171/* footer */
172footer {
173 clear: both;
174 display: block;
175 margin: 1em 0;
176 text-align: center;
177}
178footer a:link, footer a:visited {
179 font-weight: bold;
180 text-decoration: none;
181}
182footer a:hover {
183 text-decoration: none;
184}
185footer span:not(:last-child):after {
186 content: ' - ';
187}
188
189@media only screen and (min-width: 980px) {
190 .container {
191 width: 960px;
192 }
193
194 #gallery {
195 width: 980px;
196 margin: 0 0 40px -10px;
197 }
198
199 header h1, #menu {
200 display: inline-block;
201 width: 49.5%;
202 }
203 #menu {
204 text-align: right;
205 }
206}