-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistory.css
71 lines (60 loc) · 1.27 KB
/
history.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
/* 歴代王者一覧 */
.champList {
width : 80%;
margin: 20px auto;
}
.champList td:first-of-type,
.champList td:last-of-type {
width : 25%;
}
.champList td:nth-of-type(2){
width : 50%;
}
/* 試合結果一覧 */
.history {
font-size: 14px; font-size: 1.4rem;
line-height : 18px ; line-height : 1.8rem ;
width : 100%;
}
.history th[colspan="4"]{
font-size: 16px; font-size: 1.6rem;
line-height : 20px ; line-height : 2.0rem ;
}
/* ここから特殊パターン*/
.history td:first-of-type{
text-align: right;
}
.history td:first-of-type + td {
text-align: center;
}
.history td:first-of-type + td + td {
}
/* 試合形式欄の表示 */
.history th + th[colspan="3"]{
background-color: #FFCC99;
text-align: center;
}
/* Xwayマッチの時に対戦相手の名前に幅寄せがかかるのを防ぐ */
.history tr td:only-of-type {
text-align: left;
}
/* 大見出しを中央寄せに戻す */
.history tr th:only-child {
text-align: center;
}
/* ここまで特殊パターン */
/*通常パターン*/
.history th[rowspan] {
width : 20%;
}
.history th + td {
text-align: right;
width: 25%;
}
.history th + td + td {
text-align: center;
width: 30%;
}
.history th + td + td + td {
width: 25%;
}