-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
154 lines (130 loc) · 2.46 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
body {
line-height: 1.5;
font-size: 17px;
background: #393939;
margin: 0;
padding: 0;
}
a {color: #960224; text-decoration: none;}
a:hover { text-decoration: underline; }
mark.black {
background-color: black;
color: white;
}
mark.pink {
background-color: pink;
}
mark.lime {
background-color: lime;
}
h1 {
margin: 0;
padding-left: 40px;
}
h1 a { text-decoration: none; color: #F9F7ED; }
h1 a:hover { text-decoration: none; border-bottom: 1px solid #F9F7ED; color: #F9F7ED; }
#wrap {
width: 800px;
margin: 20px auto;
}
#header {
background: #393939 url(images/header.jpg) no-repeat;
height: 140px;
line-height: 160px;
}
#menu {
background: #393939 url(images/menu.jpg) no-repeat;
height: 40px;
line-height: 40px;
}
#menu ul {
list-style-type: none;
margin: 0;
padding-left: 30px;
}
#menu ul li {
display: block;
float: left;
}
#menu ul li a {
display: block;
padding: 0 10px 0 10px;
text-decoration: none;
color: #F9F7ED;
font-size: 14px;
font-weight: 600;
}
#menu ul li a:hover {
color: #F9F7ED;
background: url(images/menuover.png) repeat-x;
}
#menubottom {
background: #393939 url(images/menubottom.jpg) no-repeat;
padding: 5px 0;
}
#contentwrap {
background: #393939 url(images/content.jpg) repeat-y;
padding: 0 20px 0 40px;
}
#content {
float: left;
width: 700px;
margin-top: 20px;
}
#content h2 {
margin: 0;
color: #960224;
font-size: 22px;
line-height: 30px;
font-weight: 100;
}
#content p { padding: 0 0 10px 0; color: #232323;}
#content ul { padding: 0 20px 10px 30px; }
#sidebar {
float: right;
margin-top: 20px;
width: 280px;
padding-left: 10px;
}
#sidebar h3 {
background: url(images/sidebarh3.jpg) no-repeat;
height: 60px;
line-height: 60px;
font-weight: 600;
font-size: 14px;
margin: 0; padding: 0 0 0 20px;
color: #F9F7ED;
}
#sidebar p { padding: 0 10px 10px 10px; color: #232323; }
#sidebar ul {
padding: 5px 0 20px 35px;
margin: 0;
color: #960224;
}
#sidebar ul li {
padding: 0;
margin: 0;
}
#sidebar ul ul { padding: 2px 0 2px 20px; }
#footer {
background: #393939 url(images/footer.jpg) no-repeat;
text-align: center;
color: #F9F7ED;
height: 80px;
line-height: 80px;
}
#footer p { padding: 0; margin: 0; }
#footer a { color: #F9F7ED; }
#footer a:hover { text-decoration: underline; }
.container {
width: 800px;
height: 250px;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
margin: auto;
box-sizing: border-box;
display: grid;
grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
grid-template-rows: 1fr;
grid-gap: 15px;
}