-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.css
107 lines (86 loc) · 1.21 KB
/
base.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
/** Reset **/
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/** Defaults **/
a {
text-decoration: none;
}
h1, h2, h3 {
font-weight: normal;
}
/** Structure **/
html {
min-height: 100%;
}
body {
min-height: 100%;
background-size: cover;
background-color: #EEE;
}
header {
background-color: #AAA;
}
header > div {
margin: 0 auto;
width: 960px;
position: relative;
min-height: 50px;
}
.logo {
display: inline-block;
margin: 10px;
}
header nav {
position: absolute;
right: 0;
bottom: 10px;
}
a.main {
display: inline-block;
padding: 0 10px;
}
.main-content {
margin: 0 auto;
width: 960px;
padding-top: 1px; /* Collapsing Margins Fix */
}
.main-content::after {
content: '';
clear: both;
}
aside {
float: left;
width: 250px;
padding-right: 10px;
}
main {
margin-left: 250px;
}
.box {
min-height: 50px;
margin: 10px 0;
padding: 10px;
overflow: hidden; /* Incase someone wants to float an image */
background-color: #FFF;
}
aside .box {
margin-left: 0;
margin-right: 0;
}
aside h1, aside h2, aside h3 {
margin-bottom: 10px;
}
aside a {
display: block;
padding: 3px 10px;
}
footer > div {
margin: 0 auto;
width: 960px;
text-align: center;
font-size: 8pt;
color: #AAA;
}