Son aktivite 1752994298

NeoRetro stylesheet for Sigal

Revizyon aff4d059132e2f4c3a51c3db13373f07abed7c45

neoretro-sigal.css Ham
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 box-shadow: 10px 10px black;
115 border: 2px solid white;
116}
117#albums a {
118 background: none;
119 box-shadow: none;
120}
121#albums img:hover {
122 border: 2px solid magenta;
123}
124#albums img:active {
125 margin: 7px 0px 7px 7px;
126 box-shadow: none;
127}
128
129.album_title {
130 display: block;
131 color: white;
132 font-size: 1.2em;
133 font-weight: bold;
134 text-align: center;
135 padding-left: 25px;
136}
137
138/* galleria */
139#gallery {
140 line-height: 0;
141 width: 100%;
142 height: 600px;
143 clear: both;
144 box-shadow: 7px 7px black;
145 border: 2px solid magenta;
146}
147#gallery video {
148 position: absolute;
149 top: 10%;
150 width: 100%;
151 margin: 0 auto;
152}
153.galleria-theme-classic .galleria-info-text {
154 background-color: rgba(0, 0, 0, 0.7);
155}
156
157.icons {
158 top: 10px;
159 right: 20px;
160 padding: 6px;
161 z-index: 2;
162 position: absolute;
163 text-align: right;
164}
165.icons a {
166 cursor: pointer;
167 padding-top: 9px;
168}
169.icons a:active {
170 background: black;
171}
172/* Mimic .galleria-stage to use the same area for the map */
173#galleria-map {
174 position: absolute;
175 bottom: 80px;
176 left: 10px;
177 top: 0;
178 right: 10px;
179}
180
181/* footer */
182footer {
183 clear: both;
184 display: block;
185 margin: 1em 0;
186 text-align: center;
187}
188footer a:link, footer a:visited {
189 font-weight: bold;
190 text-decoration: none;
191}
192footer a:hover {
193 text-decoration: none;
194 border-bottom: none;
195}
196footer span:not(:last-child):after {
197 content: ' - ';
198}
199
200@media only screen and (min-width: 980px) {
201 .container {
202 width: 960px;
203 }
204
205 #gallery {
206 width: 980px;
207 margin: 0 0 40px -10px;
208 }
209
210 header h1, #menu {
211 display: inline-block;
212 width: 49.5%;
213 }
214 #menu {
215 text-align: right;
216 }
217}