Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Commit 7f689d1

Browse files
committed
Split CSS into files.
1 parent 0baf4b6 commit 7f689d1

File tree

3 files changed

+91
-92
lines changed

3 files changed

+91
-92
lines changed

index.html

Lines changed: 2 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -7,98 +7,8 @@
77
<meta name="date" content="Thu Aug 21 12:41:29 CEST 2008" />
88
<meta name="DC.Title" content="Rack: a Ruby Webserver Interface" />
99
<meta name="DC.Creator" content="Christian Neukirchen" />
10-
<style type="text/css">
11-
*{margin:0;padding:0}iframe,a img,fieldset,form,table{border:0}
12-
h6,h5,h4,h3,h2,h1,caption,th,td{font-size:100%;font-weight:normal}
13-
dd,dt,li,dl,ol,ul{list-style:none}legend{color:#000}
14-
button,select,textarea,input{font:100% serif}table{border-collapse:collapse}
15-
caption,th,td{text-align:left}
16-
17-
body {
18-
font-family: Verdana, sans-serif;
19-
margin: 0px;
20-
background-color: #FFFFFF;
21-
text-align: center;
22-
}
23-
24-
div.content {
25-
max-width: 976px;
26-
min-width: 27em;
27-
margin: 0 auto;
28-
text-align: left;
29-
padding: 10px;
30-
border-left: 15px solid #9CDAF9;
31-
border-right: 15px solid #9CDAF9;
32-
}
33-
34-
img#logo {
35-
margin: 0 auto;
36-
display: block;
37-
padding-bottom: 1em;
38-
}
39-
40-
h1, h2, h3, h4 {
41-
margin-top: 1em;
42-
margin-bottom: 0.33em;
43-
border-left: 15px solid #7CBAE9;
44-
margin-left: -25px;
45-
border-right: 15px solid #7CBAE9;
46-
margin-right: -25px;
47-
padding: 10px;
48-
}
49-
50-
h1 {
51-
font-size: 200%;
52-
margin-top: 0;
53-
margin-bottom: 0;
54-
font-weight: bold;
55-
}
56-
57-
h2 {
58-
font-size: 130%;
59-
}
60-
61-
h3 { font-size: 120%; }
62-
63-
a { color: #0066B2; text-decoration: none; }
64-
a:visited { color: #6CAAD9; }
65-
a:hover { text-decoration: underline; }
66-
67-
pre {
68-
background-color: #BBDFFA;
69-
padding: 0.2em;
70-
margin: 0.5em 0;
71-
}
72-
73-
p {
74-
margin-bottom: 0.5em;
75-
}
76-
77-
ul li {
78-
list-style-type: disc;
79-
margin-left: 1.5em;
80-
margin-bottom: 0.33em;
81-
}
82-
83-
p#imprint {
84-
font-size: small;
85-
margin-top: 2.5em;
86-
text-align: center;
87-
}
88-
89-
dd {
90-
margin-left: 2em;
91-
}
92-
93-
blockquote {
94-
margin: 0.5em 2em;
95-
font-style: italic;
96-
}
97-
98-
blockquote .src {
99-
text-align: right;
100-
}
101-
</style>
10+
<link rel="stylesheet" href="reset.css" />
11+
<link rel="stylesheet" href="style.css" />
10212
</head>
10313
<body>
10414
<div class="content">

reset.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*{margin:0;padding:0}iframe,a img,fieldset,form,table{border:0}
2+
h6,h5,h4,h3,h2,h1,caption,th,td{font-size:100%;font-weight:normal}
3+
dd,dt,li,dl,ol,ul{list-style:none}legend{color:#000}
4+
button,select,textarea,input{font:100% serif}table{border-collapse:collapse}
5+
caption,th,td{text-align:left}

style.css

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
body {
2+
font-family: Verdana, sans-serif;
3+
margin: 0px;
4+
background-color: #FFFFFF;
5+
text-align: center;
6+
}
7+
8+
div.content {
9+
max-width: 976px;
10+
min-width: 27em;
11+
margin: 0 auto;
12+
text-align: left;
13+
padding: 10px;
14+
border-left: 15px solid #9CDAF9;
15+
border-right: 15px solid #9CDAF9;
16+
}
17+
18+
img#logo {
19+
margin: 0 auto;
20+
display: block;
21+
padding-bottom: 1em;
22+
}
23+
24+
h1, h2, h3, h4 {
25+
margin-top: 1em;
26+
margin-bottom: 0.33em;
27+
border-left: 15px solid #7CBAE9;
28+
margin-left: -25px;
29+
border-right: 15px solid #7CBAE9;
30+
margin-right: -25px;
31+
padding: 10px;
32+
}
33+
34+
h1 {
35+
font-size: 200%;
36+
margin-top: 0;
37+
margin-bottom: 0;
38+
font-weight: bold;
39+
}
40+
41+
h2 {
42+
font-size: 130%;
43+
}
44+
45+
h3 { font-size: 120%; }
46+
47+
a { color: #0066B2; text-decoration: none; }
48+
a:visited { color: #6CAAD9; }
49+
a:hover { text-decoration: underline; }
50+
51+
pre {
52+
background-color: #BBDFFA;
53+
padding: 0.2em;
54+
margin: 0.5em 0;
55+
}
56+
57+
p {
58+
margin-bottom: 0.5em;
59+
}
60+
61+
ul li {
62+
list-style-type: disc;
63+
margin-left: 1.5em;
64+
margin-bottom: 0.33em;
65+
}
66+
67+
p#imprint {
68+
font-size: small;
69+
margin-top: 2.5em;
70+
text-align: center;
71+
}
72+
73+
dd {
74+
margin-left: 2em;
75+
}
76+
77+
blockquote {
78+
margin: 0.5em 2em;
79+
font-style: italic;
80+
}
81+
82+
blockquote .src {
83+
text-align: right;
84+
}

0 commit comments

Comments
 (0)