-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog.css
106 lines (99 loc) · 1.67 KB
/
blog.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
/*****
*
* $Id: blog.css 555 2010-07-19 15:23:27Z klaus $
* stylesheet for the HTML5 blog
*
*****/
body {
font-family: sans-serif;
font-size: 130%;
width: 90%;
margin: auto;
background-color: #EEE;
}
header, aside, #content, footer {
background-color: #FFF;
}
/* display: block for new elements
not needed for browsers supporting them
*/
header, hgroup, article, aside, section, nav, footer {
display: block;
}
header {
margin: 10px 0px 3px 0px;
border: 1px solid #CCC;
}
header img {
float: left;
padding: 5px;
}
header h1 {
margin: 10px 0px 10px 0px;
}
header h2 {
font-style: italic;
margin-top: 10px;
}
aside {
border: 1px solid #CCC;
float: right;
width: 20%;
font-size: 0.9em;
}
aside section, nav {
padding: 0px 10px 0px 10px;
}
aside h2 {
display: none;
}
#content {
border: 1px solid #CCC;
clear: left;
width: 79%;
margin-bottom: 3px;
}
article {
padding: 0px 10px 0px 10px;
}
article img {
float: left;
padding: 0px 10px 10px 0px;
}
article p {
text-align: justify;
}
footer {
background-color: #EEE;
width: 79%;
text-align: right;
font-size: 0.8em;
}
footer nav {
padding: 5px 0px 0px 0px;
}
footer nav a {
padding: 5px 15px 5px 15px;
background-color: #FFF;
border: 1px solid #CCC;
}
footer nav h2 {
display: none;
}
footer .copyright {
float:left;
margin-top:0px;
font-size:0.9em;
color:#666;
}
/* CSS3 styles */
.rounded-bottom-right {
-moz-border-radius: 0px 0px 20px 0px;
-webkit-border-radius: 0px 0px 20px 0px;
border-radius: 0px 0px 20px 0px;
}
.shadow {
-moz-box-shadow: 4px 0px 10px -3px silver;
-webkit-box-shadow: 4px 0px 10px -3px silver;
box-shadow: 4px 0px 10px -3px silver;
}