Skip to content

Commit 86aa72c

Browse files
committed
modify HTML page design
1 parent 51e59d2 commit 86aa72c

File tree

2 files changed

+41
-19
lines changed

2 files changed

+41
-19
lines changed

html/css/main.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.name {
2+
font-weight: bold;
3+
}
4+
.screen_name, .datetime {
5+
color: lightslategray;
6+
}
7+
body {
8+
background-color: darkgray;
9+
}
10+
h1, dl, footer {
11+
background-color: white;
12+
width: 80%;
13+
margin: 0 auto;
14+
}
15+
h1 {
16+
margin-top: 50px;
17+
line-height: 2em;
18+
text-indent: 1em;
19+
}
20+
dt, footer {
21+
padding-top: 5px;
22+
border-top: 1px solid darkgray;
23+
}
24+
dt img {
25+
float: left;
26+
clear: left;
27+
margin: 10px 10px 0 10px;
28+
}
29+
dd {
30+
margin-left: 60px;
31+
padding-bottom: 5px;
32+
}
33+
footer {
34+
text-align: center;
35+
padding-bottom: 10px;
36+
margin-bottom: 50px;
37+
}

html/template/template.html

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,15 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="ja">
33
<head>
44
<meta charset="utf-8" />
55
<title>CharameLNetwork</title>
6-
<style>
7-
.name {
8-
font-weight: bold;
9-
}
10-
.screen_name, .datetime {
11-
color: lightslategray;
12-
}
13-
body {
14-
background-color: darkgray;
15-
}
16-
dl {
17-
background-color: white;
18-
}
19-
dd {
20-
border-bottom: 1px solid darkgray;
21-
}
22-
</style>
6+
<link rel="stylesheet" href="./css/main.css" />
237
</head>
248
<body>
25-
<h1>public timeline</h1>
9+
<h1><a href="#">public timeline</a></h1>
2610
<dl>
2711
[:pagebody:]
2812
</dl>
13+
<footer>Generated by <a href="https://github.com/nikolat/CharameLNetwork">CharameLNetwork</a>, Collaborated with <a href="http://umeici.onjn.jp/CharameL.html">CharameL</a></footer>
2914
</body>
3015
</html>

0 commit comments

Comments
 (0)