Skip to content

Commit 449d6f8

Browse files
Moved CSS out to separate file. Thx Anatol Broder.
Closes #6
1 parent 53299c0 commit 449d6f8

3 files changed

Lines changed: 104 additions & 216 deletions

File tree

index.html

Lines changed: 2 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!doctype html><html><head><meta charset=utf-8>
2-
<title>The Nu Markup Checker (v.Nu)</title></head>
2+
<title>The Nu Markup Checker (v.Nu)</title>
3+
<link rel=stylesheet href=style.css></head>
34
<body>
45
<h1>The Nu Markup Checker (v.Nu)</h1>
56

@@ -154,109 +155,3 @@ <h4 id="version">--version</h4>
154155
<code>vnu.war</code> package that’s also available, see
155156
<a href="http://validator.github.io/service.html">Web-based checking with vnu.war or vnu.jar</a>.
156157
</p>
157-
158-
<!-- TODO: For more information... sources bugz etc. -->
159-
160-
<style type="text/css">
161-
html {
162-
background: #DDE5D9 url(data:image/gif;base64,R0lGODlhBAAEAIAAANra2v///yH5BAAAAAAALAAAAAAEAAQAAAIFTGB4xlcAOw==) repeat 0 0;
163-
font-family: "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica;
164-
}
165-
body {
166-
border: solid 1px #CED4CA;
167-
background-color: #FFF;
168-
padding: 4px 25px 4px 25px;
169-
margin: 20px 20% 20px 20px;
170-
line-height: 1.75;
171-
}
172-
h1 {
173-
font-size: 36px;
174-
font-weight: normal;
175-
color: #0B5B9D;
176-
vertical-align: top;
177-
margin-bottom: 0px;
178-
}
179-
h2 {
180-
font-size: 28px;
181-
font-weight: normal;
182-
color: #0B5B9D;
183-
vertical-align: top;
184-
margin-bottom: 0px;
185-
margin-top: 24px;
186-
}
187-
h3 {
188-
font-size: 22px;
189-
font-weight: normal;
190-
color: #0B5B9D;
191-
vertical-align: top;
192-
margin-bottom: 0px;
193-
margin-top: 32px;
194-
}
195-
h4 {
196-
font-size: 20px;
197-
font-weight: normal;
198-
color: #0B5B9D;
199-
vertical-align: top;
200-
margin-bottom: 0px;
201-
margin-top: 22px;
202-
}
203-
a {
204-
text-decoration: none;
205-
color: #0B5B9D;
206-
padding: 2px;
207-
}
208-
209-
a:hover {
210-
text-decoration: none;
211-
background-color: #0B5B9D;
212-
color: white;
213-
}
214-
a:active {
215-
text-decoration: none;
216-
background-color: white;
217-
color: black;
218-
}
219-
.set, .note {
220-
background-color: ivory;
221-
padding: 16px;
222-
padding-top: 4px;
223-
padding-bottom: 4px;
224-
padding-right: 32px;
225-
padding-left: 32px;
226-
border: 1px solid #ccc;
227-
margin-left: 2px;
228-
margin-right: 2px;
229-
border-radius: 6px;
230-
}
231-
.note {
232-
background-color: rgb(241, 255, 240);
233-
}
234-
.note p {
235-
margin-top: 8px;
236-
}
237-
code {
238-
background-color: #F8F8F8;
239-
border: 1px solid #ccc;
240-
border-radius: 3px;
241-
padding: 2px 6px;
242-
}
243-
pre {
244-
background-color: #F8F8F8;
245-
border: 1px solid #ccc;
246-
border-radius: 3px;
247-
padding: 10px;
248-
margin-right: 15%;
249-
margin-top: 6px;
250-
line-height: 1.2
251-
}
252-
.java-class, .java-property, .option-value {
253-
background-color: yellow;
254-
padding: 2px 6px;
255-
}
256-
.arg {
257-
color: green;
258-
}
259-
.links {
260-
text-align: center;
261-
}
262-
</style>

service.html

Lines changed: 1 addition & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,6 @@
11
<!doctype html><html><head><meta charset=utf-8>
22
<title>Web-based checking with vnu.jar or vnu.war</title>
3-
4-
<style type="text/css">
5-
html {
6-
background: #DDE5D9 url(data:image/gif;base64,R0lGODlhBAAEAIAAANra2v///yH5BAAAAAAALAAAAAAEAAQAAAIFTGB4xlcAOw==) repeat 0 0;
7-
font-family: "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica;
8-
}
9-
body {
10-
border: solid 1px #CED4CA;
11-
background-color: #FFF;
12-
padding: 4px 25px 4px 25px;
13-
margin: 20px 20% 20px 20px;
14-
line-height: 1.75;
15-
}
16-
h1 {
17-
font-size: 36px;
18-
font-weight: normal;
19-
color: #0B5B9D;
20-
vertical-align: top;
21-
margin-bottom: 0px;
22-
}
23-
h2 {
24-
font-size: 28px;
25-
font-weight: normal;
26-
color: #0B5B9D;
27-
vertical-align: top;
28-
margin-bottom: 0px;
29-
margin-top: 24px;
30-
}
31-
h3 {
32-
font-size: 22px;
33-
font-weight: normal;
34-
color: #0B5B9D;
35-
vertical-align: top;
36-
margin-bottom: 0px;
37-
margin-top: 32px;
38-
}
39-
h4 {
40-
font-size: 20px;
41-
font-weight: normal;
42-
color: #0B5B9D;
43-
vertical-align: top;
44-
margin-bottom: 0px;
45-
margin-top: 22px;
46-
}
47-
a {
48-
text-decoration: none;
49-
color: #0B5B9D;
50-
padding: 2px;
51-
}
52-
53-
a:hover {
54-
text-decoration: none;
55-
background-color: #0B5B9D;
56-
color: white;
57-
}
58-
a:active {
59-
text-decoration: none;
60-
background-color: white;
61-
color: black;
62-
}
63-
.set, .note {
64-
background-color: ivory;
65-
padding: 16px;
66-
padding-top: 4px;
67-
padding-bottom: 4px;
68-
padding-right: 32px;
69-
padding-left: 32px;
70-
border: 1px solid #ccc;
71-
margin-left: 2px;
72-
margin-right: 2px;
73-
border-radius: 6px;
74-
}
75-
.note {
76-
background-color: rgb(241, 255, 240);
77-
}
78-
.note p {
79-
margin-top: 8px;
80-
}
81-
code {
82-
background-color: #F8F8F8;
83-
border: 1px solid #ccc;
84-
border-radius: 3px;
85-
padding: 2px 6px;
86-
}
87-
pre {
88-
background-color: #F8F8F8;
89-
border: 1px solid #ccc;
90-
border-radius: 3px;
91-
padding: 10px;
92-
margin-right: 15%; /* This seems high -- consider reducing? */
93-
margin-top: 6px;
94-
line-height: 1.2
95-
}
96-
.java-class, .java-property, .option-value {
97-
background-color: yellow;
98-
padding: 2px 6px;
99-
}
100-
.arg {
101-
color: green;
102-
}
103-
.links {
104-
text-align: center;
105-
}
106-
</style>
107-
108-
</head>
3+
<link rel=stylesheet href=style.css></head>
1094
<body>
1105
<h1>Web-based checking with vnu.war or vnu.jar</h1>
1116

@@ -127,7 +22,6 @@ <h1>Web-based checking with vnu.war or vnu.jar</h1>
12722
with the actual paths to those files on your system.
12823

12924
<p class=links>
130-
<!--<a href="#web-based-usage">Usage</a> · -->
13125
<a href="#standalone">Standalone</a> ·
13226
<a href="#servlet">Servlet</a> ·
13327
<a href="#http-client">Client</a> ·
@@ -340,5 +234,3 @@ <h4 id="nuvalidatorclientasciiquotes">nu.validator.client.asciiquotes</h4>
340234

341235
</section>
342236
</div>
343-
344-
<!-- TODO: For more information... sources bugz etc. -->

style.css

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
html {
2+
background: #DDE5D9 url(data:image/gif;base64,R0lGODlhBAAEAIAAANra2v///yH5BAAAAAAALAAAAAAEAAQAAAIFTGB4xlcAOw==) repeat 0 0;
3+
font-family: "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica;
4+
}
5+
body {
6+
border: solid 1px #CED4CA;
7+
background-color: #FFF;
8+
padding: 4px 25px 4px 25px;
9+
margin: 20px 20% 20px 20px;
10+
line-height: 1.75;
11+
}
12+
h1 {
13+
font-size: 36px;
14+
font-weight: normal;
15+
color: #0B5B9D;
16+
vertical-align: top;
17+
margin-bottom: 0px;
18+
}
19+
h2 {
20+
font-size: 28px;
21+
font-weight: normal;
22+
color: #0B5B9D;
23+
vertical-align: top;
24+
margin-bottom: 0px;
25+
margin-top: 24px;
26+
}
27+
h3 {
28+
font-size: 22px;
29+
font-weight: normal;
30+
color: #0B5B9D;
31+
vertical-align: top;
32+
margin-bottom: 0px;
33+
margin-top: 32px;
34+
}
35+
h4 {
36+
font-size: 20px;
37+
font-weight: normal;
38+
color: #0B5B9D;
39+
vertical-align: top;
40+
margin-bottom: 0px;
41+
margin-top: 22px;
42+
}
43+
a {
44+
text-decoration: none;
45+
color: #0B5B9D;
46+
padding: 2px;
47+
}
48+
49+
a:hover {
50+
text-decoration: none;
51+
background-color: #0B5B9D;
52+
color: white;
53+
}
54+
a:active {
55+
text-decoration: none;
56+
background-color: white;
57+
color: black;
58+
}
59+
.set, .note {
60+
background-color: ivory;
61+
padding: 16px;
62+
padding-top: 4px;
63+
padding-bottom: 4px;
64+
padding-right: 32px;
65+
padding-left: 32px;
66+
border: 1px solid #ccc;
67+
margin-left: 2px;
68+
margin-right: 2px;
69+
border-radius: 6px;
70+
}
71+
.note {
72+
background-color: rgb(241, 255, 240);
73+
}
74+
.note p {
75+
margin-top: 8px;
76+
}
77+
code {
78+
background-color: #F8F8F8;
79+
border: 1px solid #ccc;
80+
border-radius: 3px;
81+
padding: 2px 6px;
82+
}
83+
pre {
84+
background-color: #F8F8F8;
85+
border: 1px solid #ccc;
86+
border-radius: 3px;
87+
padding: 10px;
88+
margin-right: 15%;
89+
margin-top: 6px;
90+
line-height: 1.2
91+
}
92+
.java-class, .java-property, .option-value {
93+
background-color: yellow;
94+
padding: 2px 6px;
95+
}
96+
.arg {
97+
color: green;
98+
}
99+
.links {
100+
text-align: center;
101+
}

0 commit comments

Comments
 (0)