-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.css
70 lines (68 loc) · 1.2 KB
/
layout.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
html *{
padding: 0;
margin: 0;
}
.HolyGrail{
min-height: 100vh;
/* background:white; */
display: flex;
flex-direction: column;
background: #F7F7F7;
}
header{
flex: 0 0 50px;
background: #333333;
font-size: 25px;
line-height: 50px;
padding-left: 20px;
color: #E6E6E6;
}
footer{
text-align: center;
flex: 1;
color: grey;
}
.HolyGrail-body{
display: flex;
/* flex: 0 0 610px; */
min-height: 610px;
}
.HolyGrail-content{
flex: 1;
margin: 20px;
text-align: center;
}
.HolyGrail-nav, .HolyGrail-ads {
/* 两个边栏的宽度设为12em */
flex: 0 0 200px;
background: #F7F7F7;
}
.HolyGrail-nav {
/* 导航放到最左边 */
order: -1;
}
#table thead th{
background: #B3B3B3;
color: black;
}
#table{
margin: 20px auto;
width: 95%;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: aliceblue;
}
/* Padding and font style */
#table td, #table th {
padding: 5px 10px;
font-size: 13px;
font-family: Verdana;
color: grey;
}
/* Alternating background colors */
#table tr:nth-child(even) {
background: #E6E6E6;
}
#table tr:nth-child(odd) {
background: aliceblue;
}