-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
137 lines (119 loc) · 2.03 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
* {
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
overflow: auto;
background-color: #7373731b;
}
body {
padding: 1em 2em 2em 17em;
font-size: 16px;
line-height: 1.6;
font-family: "Roboto", sans-serif;
}
.toc {
position: fixed;
left: 1.5em;
top: 3em;
padding: 1em;
width: 16em;
line-height: 2;
}
.toc ul {
list-style: none;
padding: 0;
margin: 0;
}
.toc ul ul {
padding-left: 2em;
}
.toc li a {
display: inline-block;
color: #232323;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.toc li a:hover {
display: inline-block;
background-color: #a1a1a1;
color: #232323;
text-decoration: none;
font-weight: bold;
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.toc li.visible > a {
color: #111;
transform: translate(5px);
}
.toc-marker {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.toc-marker path {
transition: all 0.3s ease;
}
.contents {
padding: 1em;
max-width: 800px;
font-size: 1.2em;
box-shadow: 0 14px 30px rgba(0,0,0,0.1);
font-family: "Frank Ruhl Libre", sans-serif;
}
.contents section {
position: relative;
width: 100%;
margin: 10px auto;
padding: 10px;
background: #fff;
-webkit-box-shadow: 0 14px 30px rgba(0,0,0,0.1);
box-shadow: 0 14px 30px rgba(0,0,0,0.1);
border-radius: 4px;
}
.contents img {
max-width: 100%;
}
.contents input {
max-width: 100%;
padding: 10px;
font-size: large;
}
.content.select-items {
position: absolute;
background-color: DodgerBlue;
top: 100%;
left: 0;
right: 0;
z-index: 99;
}
.contents .code-block {
white-space: pre;
overflow: auto;
max-width: 100%;
}
.contents .code-block code {
display: block;
background-color: #f9f9f9;
padding: 10px;
}
.contents .code-inline {
background-color: #f9f9f9;
padding: 4px;
}
.contents h2 h3 {
padding-top: .5em;
background-color: #f9f9f9;
}
.contents h2 {
margin-top: .2em;
}
@media screen and (max-width: 1200px) {
body {
font-size: 14px;
}
}