Última atividade 1752994298

NeoRetro stylesheet for Sigal

Revisão 22f47f723efb533a53254e2ea269c091b5111774

neoretro-sigal.css Bruto
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}
60header h1 a:hover, header h2 a:hover {
61 text-decoration: none;
62}
63header hr {
64 margin-top: 18px;
65 border: 2px solid cyan;
66}
67
68#menu ul {
69 list-style-type: none;
70 margin: 0 0 10px;
71 padding: 0;
72}
73#menu ul li {
74 display: inline-block;
75}
76#menu ul li a, #menu ul li a:link, #menu ul li a:visited {
77 color: #aaaaaa;
78 border-bottom: 1px solid #aaaaaa;
79 padding-bottom: 2px;
80 margin-left: 5px;
81 text-decoration: none;
82}
83#menu ul li a:hover {
84 color: #eeeeee;
85 border-color: #eeeeee;
86 text-decoration: none;
87}
88
89/* gallery */
90#albums ul {
91 list-style-type: none;
92 padding-left: 0;
93}
94#albums ul li {
95 display: inline-block;
96 margin: 0 55px 30px 0;
97 text-align: center;
98 vertical-align: top;
99 width: 280px;
100}
101#albums ul li:nth-child(3n+3) {
102 margin-right: 0;
103}
104#albums ul li a img {
105 box-shadow: 10px 10px black;
106 border: 2px solid white;
107}
108#albums a {
109 background: none;
110 box-shadow: none;
111}
112#albums img:hover {
113 border: 2px solid magenta;
114}
115#albums img:active {
116 margin: 7px 0px 7px 7px;
117 box-shadow: none;
118}
119
120.album_title {
121 display: block;
122 color: white;
123 font-size: 1.2em;
124 font-weight: bold;
125 text-align: center;
126 padding-left: 25px;
127}
128
129/* galleria */
130#gallery {
131 line-height: 0;
132 width: 100%;
133 height: 600px;
134 clear: both;
135 box-shadow: 7px 7px black;
136 border: 2px solid magenta;
137}
138#gallery video {
139 position: absolute;
140 top: 10%;
141 width: 100%;
142 margin: 0 auto;
143}
144.galleria-theme-classic .galleria-info-text {
145 background-color: rgba(0, 0, 0, 0.7);
146}
147
148.icons {
149 top: 10px;
150 right: 20px;
151 padding: 6px;
152 z-index: 2;
153 position: absolute;
154 text-align: right;
155}
156.icons a {
157 cursor: pointer;
158 padding-top: 9px;
159}
160.icons a:active {
161 background: black;
162}
163/* Mimic .galleria-stage to use the same area for the map */
164#galleria-map {
165 position: absolute;
166 bottom: 80px;
167 left: 10px;
168 top: 0;
169 right: 10px;
170}
171
172/* footer */
173footer {
174 clear: both;
175 display: block;
176 margin: 1em 0;
177 text-align: center;
178}
179footer a:link, footer a:visited {
180 font-weight: bold;
181 text-decoration: none;
182}
183footer a:hover {
184 text-decoration: none;
185 border-bottom: none;
186}
187footer span:not(:last-child):after {
188 content: ' - ';
189}
190
191@media only screen and (min-width: 980px) {
192 .container {
193 width: 960px;
194 }
195
196 #gallery {
197 width: 980px;
198 margin: 0 0 40px -10px;
199 }
200
201 header h1, #menu {
202 display: inline-block;
203 width: 49.5%;
204 }
205 #menu {
206 text-align: right;
207 }
208}