-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
120 lines (111 loc) · 1.89 KB
/
style.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
@font-face {
font-family: "Chinese Quotes";
src: local('PingFang SC'), local("Microsoft Yahei");
unicode-range: U+2018-2019, U+201C-201D;
}
.text-figures {
font-variant-numeric: oldstyle-nums;
}
.small-caps {
font-variant-caps: all-small-caps;
letter-spacing: .015em;
}
.all-caps {
text-transform: uppercase;
letter-spacing: .03em;
}
body {
margin: 0;
padding: 0;
line-height: 1.2;
font-family: 'Chinese Quotes', 'SF Pro', 'Segoe UI', 'PingFang SC', 'Microsoft Yahei', sans-serif;
font-weight: 400;
font-size: 20px;
}
/* header */
header{
width: 600px;
min-width: 60%;
max-width: 80%;
margin: auto;
padding-top: 15px;
}
.title-wrapper{
display: flex;
align-items: center;
justify-content: space-between;
}
.header-divider{
height:1.2px;
border:none;
background:black;
margin-top: 12px;
margin-bottom: 12px;
}
.header-title{
font-family: 'Segoe UI';
}
.header-title:hover{
text-decoration: none;
}
.header-link{
float: right;
}
.header-link:hover{
text-decoration: none;
}
/* main */
main{
width: 600px;
min-width: 60%;
max-width: 80%;
margin: auto;
padding-bottom: 20px;
}
/* hyperlink */
a{
text-decoration: none;
color: black;
}
a:hover{
text-decoration: underline;
}
/* description */
.description {
margin-top: 15px;
text-align: center;
color: #888888;
}
/* module */
/* .module{
margin-bottom: 6px;
} */
.module-title{
/* font-style: italic; */
margin-bottom: 6px;
}
/* .module-box:nth-child(even){
background-color: #f3f3f3;
border-top: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
}
.module-box:last-child{
border-bottom: 1px solid #cccccc;
} */
.module-box{
/* padding-top: 6px; */
padding-bottom: 12px;
}
.module-numbering{
position: absolute;
width: 20px;
margin-left: -24px;
}
.module-hyperlink{
display: inline-block;
width: 100%;
}
.module-description{
font-size: 18px;
color: #888888;
}