-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhandbook.css
More file actions
88 lines (74 loc) · 1.57 KB
/
handbook.css
File metadata and controls
88 lines (74 loc) · 1.57 KB
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
body {
padding-bottom: 100px;
transform: scale(1);
transition: all cubic-bezier(1, 0, 0, 1) 0.3s;
animation: scale 0.5s cubic-bezier(1, 0, 0, 1) forwards;
}
@keyframes scale {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
.markdown-body {
margin-top: 60px;
margin-left: 30px;
margin-bottom: 100px;
height: 100%;
}
#title-bar {
position: fixed;
width: 100%;
}
/* Contents section is a div with lots of A tags */
/* Make it look like a list */
/* Add styling for the contents section */
#contents {
background-color: #f5f5f5;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-top: 60px;
}
#contents a {
display: block;
padding: 8px;
margin-bottom: 8px;
text-decoration: none;
color: #333;
transition: background-color 0.3s;
}
#back-button {
position: fixed;
display: block;
padding: 8px;
margin-bottom: 8px;
text-decoration: none;
transition: background-color 0.3s;
}
#contents a:hover {
background-color: #e0e0e0;
}
input[type="checkbox"]:disabled {
/* Normal cursor */
cursor: default;
/* Make it look like a normal checkbox */
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
appearance: checkbox;
}
pre code {
/* Make code blocks scrollable */
overflow: auto;
/* Make code blocks look nice */
background-color: #f5f5f5;
padding: 10px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin: 10px 0;
}
pre {
padding: 10px;
}