-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
326 lines (280 loc) · 9.18 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
/*
Theme Name: Laparca First Theme
Theme URI: http://blog.laparca.es/
Description: This is the first theme made entirely by me. Of course is Mac OS X like theme.
Author: laparca
Version: 1.0
Tags: grey, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)
Under the terms of the GNU Affero Public License
*/
@charset "UTF-8";
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background: #42413C url(fondo.png);
margin: 0;
padding: 0;
color: #616160;
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing block. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px; /* adding the padding to the sides of the elements within the blocks, instead of the block elements themselves, gets rid of any box model math. A nested block with side padding can also be used as an alternate method. */
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color: #42413C;
text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {
color: #6E6C64;
text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: none;
}
/* ~~ This fixed width container surrounds all other blocks ~~ */
.container {
width: 900px;
/*background: #FFFFFF; /* the auto value on the sides, coupled with the width, centers the layout */
margin-top: 34px;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
box-shadow: 0px 0px 15px rgba(0, 0, 0, .5);
-webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, .5);
-moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, .5);
}
/* ~~ The header is not given a width. It will extend the full width of your layout. ~~ */
header {
background: #e1e1e0; /*#616160;*/
height: 71px;
padding-top: 15px;
font-size: 30px;
color: black;
text-shadow: 1px 1px 1px white, -1px -1px 1px #AAA;
text-align: center;
font-weight: bold;
border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e1e0', endColorstr='#616160'); /* IE */
background: -webkit-gradient(linear, left top, left bottom, from(#e1e1e0), to(#616160));
background: -moz-linear-gradient(top, #e1e1e0, #616160);
}
header a, header a:visited {
text-decoration: none !important;
color: black !important;
}
.sidebar1 {
float: right;
width: 262px;
background: #BAD8ED;
}
.sidebar1 aside {
margin: 10px;
font-size: 10px;
}
.sidebar1 aside > ul, .sidebar1 aside > ul > li > ul {
list-style-type: none;
}
.sidebar1 aside > ul > li {
margin-bottom: 20px;
}
.sidebar1 aside h2 {
font-size: 14px;
}
.content {
/*padding: 10px 0;*/
width: 638px;
float: left;
background: white;
}
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}
nav {
height: 30px;
background: #616160;
box-shadow: #616160 0 3px 3px 2px inset, black 0px 0px 3px inset;
-webkit-box-shadow: #616160 0 3px 3px 2px inset, black 0px 0px 3px inset;
-moz-box-shadow: #616160 0 3px 3px 2px inset, black 0px 0px 3px inset;
}
/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
nav ul {
width: 638px;
list-style: none; /* this removes the list marker */
float: left;
height: 30px;
}
nav ul li {
float: left;
height: 30px;
margin-left: 5px;
padding-left: 5px;
padding-right: 5px;
}
nav ul a, nav ul a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
display: table-cell;
vertical-align: middle;
text-decoration: none !important;
height: 30px;
text-shadow: 1px 1px 1px black;
color: white !important;
padding-left: 5px;
padding-right: 5px;
font-weight: normal;
}
nav ul a:hover, nav ul a:active, nav ul a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
color: #FFF;
}
nav ul li[class~="current_page_item"] {
background: white;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e1e0', endColorstr='#FFFFFF'); /* IE */
background: -webkit-gradient(linear, left top, left bottom, from(#e1e1e0), to(#FFFFFF));
background: -moz-linear-gradient(top, #e1e1e0, #FFFFFF);
box-shadow: 0px 0px 3px black;
-webkit-box-shadow: 0px 0px 3px black;
-moz-box-shadow: 0px 0px 3px black;
}
nav ul li[class~="current_page_item"] a, nav ul li[class~="current_page_item"] a:visited {
color: black !important;
text-shadow: none !important;
}
nav #search {
float: left;
width: 262px;
}
nav #search input {
height: 20px;
width: 222px; /* plus 20 from padding */
border: 1px solid #363636;
padding-left: 10px;
padding-right: 10px;
margin-left: 10px;
border-radius: 10px;
-moz-border-radius: 11px;
box-shadow: 1px 1px 3px rgba(0, 0, 0, .5) inset;
-webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, .5) inset;
-moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, .5) inset;
outline: none;
}
nav #search input:focus {
box-shadow: 1px 1px 3px rgba(0, 0, 0, .5) inset, 0 0 5px white;
-webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, .5) inset, 0 0 5px white;
-moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, .5) inset, 0 0 5px white;
transition: 0.2s box-shadow ease-out;
-webkit-transition: 0.2s -webkit-box-shadow ease-out;
-moz-transition: 0.2s -moz-box-shadow ease-out;
-o-transition: 0.2s box-shadow ease-out;
}
/* ~~ The footer ~~ */
footer {
clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
width: 900px;
margin: 0 auto;
height: 20px;
padding-top: 10px;
}
/*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */
header, section, footer, aside, nav, article, figure {
display: block;
}
.column1 {
/*width: 262px;*/
width: 100%;
background: #BAD8ED;
float: left;
position: relative;
overflow: hidden;
}
.column2 {
/*width: 900px;*/
width: 100%;
background: white;
float: left;
position: relative;
right: 262px;
}
.sidebar1 {
position: relative;
left: 262px;
}
.content {
position: relative;
left: 262px;
box-shadow: black 0px 0px 3px;
-webkit-box-shadow: black 0px 0px 3px;
-moz-box-shadow: black 0px 0px 3px;
}
article {
font-size: 12px;
margin: 20px 15px 5px 15px;
}
article .article_head {
border-radius: 2px 2px 0 0;
-moz-border-radius: 2px 2px 0 0;
box-shadow: #666 0px -1px 1px;
-webkit-box-shadow: #666 0px -1px 1px;
-moz-box-shadow: #666 0px -1px 1px;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e1e0', endColorstr='#FFFFFF'); /* IE */
background: -webkit-gradient(linear, left top, left bottom, from(#e1e1e0), to(#FFFFFF));
background: -moz-linear-gradient(top, #e1e1e0, #FFFFFF);
}
article h1 {
font-size: 16px;
padding-top: 10px;
}
article h1 a, article h1 a:visited {
text-decoration: none !important;
color: #42413C;
}
article .article_head .dater {
box-shadow: black 1px 1px 1px;
-webkit-box-shadow: black 1px 1px 1px;
-moz-box-shadow: black 1px 1px 1px;
border-radius: 3px;
-moz-border-radius: 3px;
float: left;
margin: 10px;
}
article .article_head .dater .day {
background: #AE8;
background: -webkit-gradient(radial, 50% 10%, 1, 50% 10%, 35, from(#AE8), to(#7A5));
background-image: -moz-radial-gradient(center 10%, cover, #AE8, #7A5);
/*background-image: -moz-radial-gradient(center 45deg, circle closest-side, orange 0%, red 100%);*/
/*background: radial-gradient(50% 10%, 1px, 50% 10%, 35px, from(#AE8), to(#7A5));*/
border-radius: 3px 3px 0 0;
-moz-border-radius: 3px 3px 0 0;
color: white;
font-size: 20px;
margin: 0px;
padding: 0px;
text-align: center;
}
article .article_head .dater .day a {
color: white;
font-weight: bold;
text-decoration: none;
text-shadow: black 1px 1px 1px;
}
article .article_head .dater .monthyear {
background: blue;
border-radius: 0 0 3px 3px;
-moz-border-radius: 0 0 3px 3px;
margin: 0px;
text-align: center;
}
article .article_head .dater .monthyear a {
color: white;
text-decoration: none;
}