Skip to content

Commit e4233e3

Browse files
committed
更新站点
1 parent 2af3137 commit e4233e3

8 files changed

Lines changed: 115 additions & 51 deletions

File tree

css/all-pages.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
/* --- 页面修饰 --- */
22

3-
body {background-color: #F6F6F6; }/* 使用十六进制颜色 F6F6F6 */
3+
body {
4+
background-color: #F6F6F6; /* 使用十六进制颜色 F6F6F6 */
5+
font-family: "Microsoft YaHei", "SimSun", sans-serif; /* 微软雅黑 黑体 无线 */
6+
}
47

58

69
/* --- 超链接修饰 --- */
710

811
/* 1. 基础状态(包括未访问和已访问) */
912

10-
a:link, a:visited {
13+
a:visited {
14+
text-decoration: none;
15+
}
16+
17+
a:link {
1118
text-decoration: none;
1219
}
1320

@@ -19,7 +26,7 @@ a:hover {
1926

2027
.text {
2128
text-align: left;
22-
font-family: "Microsoft YaHei", sans-serif;
29+
/*font-family: "Microsoft YaHei", sans-serif;*/
2330
font-size: 9pt;
2431
text-indent: 24pt;
2532
padding-top: 5pt;

css/main-page.css

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
.backbone {
1+

2+
.main-page-body {
3+
background-color: #F6F6F6;
4+
font-family: "Microsoft YaHei", "SimSun", sans-serif;
5+
text-align: center; /* 在 IE5 中,这会错误地让块级元素也居中 */
6+
}
7+
8+
.backbone {
29
width: 60%;
310
height: 100%;
411
position: static;
512
margin-top: 18px;
613
margin-left: auto;
714
margin-right: auto;
15+
text-align: left; /* 必须加这一行!否则内部的文字也会跟着居中 */
816
}
917
.bc-logo-bg {
1018
padding: 1.2px;
@@ -15,14 +23,14 @@
1523
}
1624
.icon-and-title {
1725
text-align: left;
18-
font-family: "Microsoft YaHei", sans-serif;
26+
/*font-family: "Microsoft YaHei", sans-serif;*/
1927
font-size: 18pt;
2028
font-weight: bold;
2129
padding-top: 5pt;
2230
}
2331

2432
.title2 {
25-
font-family: "Microsoft YaHei", sans-serif;
33+
/*font-family: "Microsoft YaHei", sans-serif;*/
2634
font-size: 12pt;
2735
text-align: left;
2836
font-weight: bold;
@@ -46,17 +54,17 @@
4654
padding-bottom: 10pt;
4755
}
4856
.txt2 {
49-
font-family: Verdana;
57+
font-family: Verdana, Geneva;
5058
font-size: 18pt;
5159
color: #FF6600;
5260
}
5361
.txt-sbt-1 {
54-
font-family: Verdana;
62+
font-family: Verdana, Geneva;
5563
font-size: 18pt;
5664
color: #3131FF;
5765
}
5866
.txt-sbt-2 {
59-
font-family: Verdana, Geneva, sans-serif;
67+
font-family: Verdana, Geneva;
6068
font-size: 18pt;
6169
color: #007D00;
6270
}

css/tables.css

Lines changed: 36 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,22 @@ tr.table-header-custom:hover {
2626
/* 我们不使用 !important,而是通过增加选择器的长度(权重)来胜出 */
2727

2828
/* 未访问的主页链接:保持蓝色 */
29-
tr:hover .home-page-link a:link,
3029
tr:hover a[href$="index.htm"]:link {
31-
color: #0000EE !important;
30+
color: #0000EE ;
3231
}
33-
3432
/* 已访问的主页链接:保持紫色 */
35-
tr:hover .home-page-link a:visited,
3633
tr:hover a[href$="index.htm"]:visited {
37-
color: #551A8B !important;
34+
color: #551A8B ;
35+
}
36+
/* 未访问的ssl链接:保持蓝色 */
37+
tr:hover a[href$="?ssl=true"]:link {
38+
color: #0000EE ;
3839
}
40+
/* 已访问的ssl链接:保持紫色 */
41+
tr:hover a[href$="?ssl=true"]:visited {
42+
color: #551A8B ;
43+
}
44+
3945

4046
/* 选中链接文字变成白色 */
4147
tr:hover a {
@@ -96,18 +102,14 @@ tr {
96102
padding-left: 2pt;
97103
padding-right:2pt;
98104
text-align: left;
99-
font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
105+
/*font-family: "Microsoft YaHei", "微软雅黑", sans-serif;*/
100106
font-size: 18pt;
101107
font-weight: bold;
102-
display: inline-block;
103-
*display: inline; /* IE6/7 */
104-
*zoom: 1; /* 触发IE6/7的Layout */
105-
106108
}
107109
/* --- 返回主页链接样式 --- */
108110
.home-page-link {
109111
text-align: left;
110-
font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
112+
/*font-family: "Microsoft YaHei", "微软雅黑", sans-serif;*/
111113
font-size: 12pt;
112114
font-weight: bold;
113115
padding-left: 2pt;
@@ -128,10 +130,8 @@ a:visited {
128130
}
129131
/* --- 图片和文字对齐 --- */
130132
.img-icon {
131-
vertical-align: -12px;
133+
vertical-align: middle;
132134
/* 针对 IE6 的特殊修正(如果 IE6 偏移量不同) */
133-
_vertical-align: -10px;
134-
135135
}
136136
/* 设置表格距离顶部元素位置 */
137137
.table-custom {
@@ -169,6 +169,26 @@ a:visited {
169169
border-bottom-color: black;
170170
text-align: left;
171171
}
172-
.newStyle1 {
173-
color: #FFFFFF;
172+
.versions-title {
173+
/* 对应 border="0" */
174+
border: none;
175+
border-width: 0;
176+
177+
/* 对应 cellspacing="0" */
178+
/* 这是最关键的一行,消除单元格之间的物理间隙 */
179+
border-collapse: collapse;
180+
border-spacing: 0;
181+
}
182+
183+
/* 标题恢复颜色 */
184+
tr.versions-title-tr:hover {
185+
background-color: #F6F6F6;
186+
color: black;
187+
}
188+
.versions-title-tr {
174189
}
190+
191+
.versions-title-name-td {
192+
vertical-align: middle;
193+
padding-left: 2pt;
194+
}

index.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</style>
1414
</head>
1515

16-
<body>
16+
<body class="main-page-body">
1717

1818
<div class="backbone">
1919
<div class="bc-logo-bg">
@@ -25,7 +25,7 @@
2525
<span>关于本页面</span></div>
2626
</div>
2727
<div class="text">
28-
<span class="backbone">此页面用于备份官方版本的比特彗星。<strong>由使用比特彗星的爱好者创建与比特彗星官方无关</strong>,页面样式模仿<a href="https://web.archive.org/web/20040616080205/http:/www.bitcomet.com/">2003年时的比特彗星官网</a><br>
28+
<span>此页面用于备份官方版本的比特彗星。<strong>由使用比特彗星的爱好者创建与比特彗星官方无关</strong>,页面样式模仿<a href="https://web.archive.org/web/20040616080205/http:/www.bitcomet.com/">2003年时的比特彗星官网</a><br>
2929
<br>
3030
</span></div>
3131
<div class="title2">

versions/simple-bt.htm

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,18 @@
1212

1313
<body>
1414

15-
<div class="div-inline-block">
16-
<img alt="icon-simple-bt" src="../img/icon-simple-bt.png" width="48" height="48" class="img-icon">
17-
<span class="page-title">Simple BT</span>
18-
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
19-
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
20-
</div>
15+
<table class="versions-title">
16+
<tr class="versions-title-tr">
17+
<td valign="middle" style="padding-left: 0;">
18+
<!-- 此处的属性要是写在css中 在IE6和5.5中图片会下沉 -->
19+
<img alt="icon-bitcomet" src="../img/icon-simple-bt.png" width="48" height="48" class="img-icon">
20+
</td>
21+
<td class="versions-title-name-td"><span class="page-title">Simple BT</span>
22+
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
23+
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
24+
</td>
25+
</tr>
26+
</table>
2127
<div>
2228
<table class="table-custom">
2329
<tr class="table-header-custom">

versions/v0.x.htm

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,19 @@
1313

1414
<body>
1515

16-
<div class="div-inline-block">
17-
<img alt="icon-bitcomet" src="../img/icon-bc.png" width="48" height="48" class="img-icon">
18-
<span class="page-title">BitComet V0.x</span>
19-
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
20-
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
21-
</div>
16+
<table class="versions-title">
17+
<tr class="versions-title-tr">
18+
<td valign="middle" style="padding-left: 0;">
19+
<!-- 此处的属性要是写在css中 在IE6和5.5中图片会下沉 -->
20+
<img alt="icon-bitcomet" src="../img/icon-bc.png" width="48" height="48" class="img-icon">
21+
</td>
22+
<td class="versions-title-name-td"><span class="page-title">BitComet
23+
V0.x</span>
24+
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
25+
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
26+
</td>
27+
</tr>
28+
</table>
2229
<div>
2330
<table class="table-custom">
2431
<tr class="table-header-custom">

versions/v1.x.htm

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@
1313

1414
<body>
1515

16-
<div class="div-inline-block">
17-
<img alt="icon-bitcomet" src="../img/icon-bc.png" width="48" height="48" class="img-icon">
18-
<span class="page-title">BitComet V1.x</span>
19-
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
20-
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
21-
</div>
16+
17+
18+
<table class="versions-title">
19+
<tr class="versions-title-tr">
20+
<td valign="middle" style="padding-left: 0;">
21+
<!-- 此处的属性要是写在css中 在IE6和5.5中图片会下沉 -->
22+
<img alt="icon-bitcomet" src="../img/icon-bc.png" width="48" height="48" class="img-icon">
23+
</td>
24+
<td class="versions-title-name-td"><span class="page-title">BitComet
25+
V1.x</span>
26+
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
27+
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
28+
</td>
29+
</tr>
30+
</table>
2231
<div>
2332
<table class="table-custom">
2433
<tr class="table-header-custom">

versions/v2.x.htm

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,19 @@
1313

1414
<body>
1515

16-
<div class="div-inline-block">
17-
<img alt="icon-bitcomet" src="../img/icon-bc.png" width="48" height="48" class="img-icon">
18-
<span class="page-title">BitComet V2.x</span>
19-
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
20-
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
21-
</div>
16+
<table class="versions-title">
17+
<tr class="versions-title-tr">
18+
<td valign="middle" style="padding-left: 0;">
19+
<!-- 此处的属性要是写在css中 在IE6和5.5中图片会下沉 -->
20+
<img alt="icon-bitcomet" src="../img/icon-bc.png" width="48" height="48" class="img-icon">
21+
</td>
22+
<td class="versions-title-name-td"><span class="page-title">BitComet
23+
V2.x</span>
24+
<img alt="home-icon" src="../img/home-icon.png" width="16" height="16" class="icon"><a href="/index.htm" class="text">主页</a>
25+
<img alt="ssl-icon" src="../img/ssl-icon.png" width="16" height="16" class="icon"><a href="?ssl=true" class="text">SSL</a>
26+
</td>
27+
</tr>
28+
</table>
2229
<div>
2330
<table class="table-custom">
2431
<tr class="table-header-custom">

0 commit comments

Comments
 (0)