-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
167 lines (167 loc) · 3.18 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
html {
margin: 0;
padding: 0px;
font-family: "Open Sans", sans-serif;
font-size: 1rem;
color: #333;
}
code {
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace;
font-size: 0.875em;
}
.hidden {
display: none;
}
.sidebar {
width: 300px;
top: 0;
bottom: 0;
position: fixed;
background-color: #292c2f;
color: #a1adb8;
padding: 10px 10px;
font-size: 0.875em;
-webkit-overflow-scrolling: touch;
overscroll-behavior-y: contain;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.sidebar .chapter li a:hover {
text-decoration: none;
}
.sidebar .chapter {
list-style: none outside none;
line-height: 2.2em;
}
.sidebar .section li {
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.sidebar .chapter li a {
padding: 0;
text-decoration: none;
display: block;
}
.content {
overflow-y: auto;
padding: 0 15px;
padding-bottom: 50px;
}
.content a {
text-decoration: none;
}
.content a.header:target h1::before,
.content a.header:target h2::before,
.content a.header:target h3::before,
.content a.header:target h4::before {
display: inline-block;
content: "»";
width: 30px;
}
.content main {
margin-left: auto;
margin-right: auto;
max-width: 750px;
}
.search {
margin-left: auto;
margin-right: auto;
max-width: 750px;
}
.search input {
width: 100%;
margin: 5px auto 0px auto;
padding: 10px 16px;
border-radius: 3px;
-webkit-transition: box-shadow 300ms ease-in-out;
-moz-transition: box-shadow 300ms ease-in-out;
-o-transition: box-shadow 300ms ease-in-out;
-ms-transition: box-shadow 300ms ease-in-out;
transition: box-shadow 300ms ease-in-out;
}
.search-results {
margin-left: auto;
margin-right: auto;
max-width: 750px;
}
.search-results-header {
font-weight: bold;
font-size: 1em;
padding: 18px 0 0 5px;
}
.search-outer {
margin-left: auto;
margin-right: auto;
max-width: 750px;
}
ul.search-results-items {
list-style: none;
padding-left: 20px;
}
.menu-bar {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 101;
}
.menu-bar > .menu-bar-sticky-container {
display: -webkit-box;
display: -moz-box;
display: -webkit-flex;
display: -ms-flexbox;
display: box;
display: flex;
-webkit-box-lines: multiple;
-moz-box-lines: multiple;
-o-box-lines: multiple;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.menu-title {
display: inline-block;
font-weight: 200;
font-size: 20px;
line-height: 50px;
text-align: center;
margin: 0;
-webkit-box-flex: 1;
-moz-box-flex: 1;
-o-box-flex: 1;
box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
white-space: nowrap;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
}
.menu-bar i, .menu-bar .icon-button {
position: relative;
margin: 0 10px;
z-index: 10;
line-height: 50px;
cursor: pointer;
-webkit-transition: color 0.5s;
-moz-transition: color 0.5s;
-o-transition: color 0.5s;
-ms-transition: color 0.5s;
transition: color 0.5s;
background: transparent;
border: 0px;
}
.mobile-nav-chapters {
font-size: 2.5em;
text-align: center;
text-decoration: none;
width: 90px;
border-radius: 5px;
}
.nav-wrapper {
margin-top: 50px;
/*display: none;*/
}