Последняя активность 1752994298

NeoRetro stylesheet for Sigal

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