Skip to content

Commit 46e3485

Browse files
committed
mkdocs white bg
1 parent cc81c97 commit 46e3485

File tree

1 file changed

+290
-0
lines changed

1 file changed

+290
-0
lines changed

docs/sources/modified-mkdocs/base.css

Lines changed: 290 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,290 @@
1+
/* original
2+
3+
body {
4+
padding-top: 70px;
5+
background: url(../img/grid.png) repeat-x;
6+
background-attachment: fixed;
7+
background-color: #f8f8f8;
8+
}
9+
*/
10+
body {
11+
padding-top: 70px;
12+
/*background: url(../img/grid.png) repeat-x;*/
13+
background-attachment: fixed;
14+
background-color: #ffffff;
15+
}
16+
17+
18+
body > div.container {
19+
min-height: 400px;
20+
}
21+
22+
ul.nav li.main {
23+
font-weight: bold;
24+
}
25+
26+
div.col-md-3 {
27+
padding-left: 0;
28+
}
29+
30+
div.col-md-9 {
31+
padding-bottom: 100px;
32+
}
33+
34+
div.source-links {
35+
float: right;
36+
}
37+
38+
div.col-md-9 img {
39+
max-width: 100%;
40+
display: inline;
41+
padding: 4px;
42+
line-height: 1.428571429;
43+
background-color: #fff;
44+
/* original
45+
border: 1px solid #ddd;
46+
*/
47+
border: 1px solid #fff;
48+
border-radius: 4px;
49+
margin: 20px auto 30px auto;
50+
}
51+
52+
h1, h2, h3 {
53+
color: #444;
54+
}
55+
56+
h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
57+
content: "";
58+
display: block;
59+
margin-top: -75px;
60+
height: 75px;
61+
pointer-events: none;
62+
}
63+
64+
h1 {
65+
font-weight: 400;
66+
font-size: 42px;
67+
}
68+
69+
h2, h3, h4, h5, h6 {
70+
font-weight: 300;
71+
}
72+
73+
hr {
74+
border-top: 1px solid #aaa;
75+
}
76+
77+
pre, .rst-content tt {
78+
max-width: 100%;
79+
background: #fff;
80+
border: solid 1px #e1e4e5;
81+
color: #e74c3c;
82+
overflow-x: auto;
83+
}
84+
85+
code.code-large, .rst-content tt.code-large {
86+
font-size: 90%;
87+
}
88+
89+
code {
90+
padding: 2px 5px;
91+
color: #c7254e;
92+
background-color: #f9f2f4;
93+
font-size: 75%;
94+
}
95+
96+
code, kbd, pre, samp {
97+
font-family: monospace,serif;
98+
font-size: 12px !important;
99+
}
100+
101+
footer {
102+
margin-top: 30px;
103+
margin-bottom: 10px;
104+
text-align: center;
105+
font-weight: 200;
106+
}
107+
108+
.modal-dialog {
109+
margin-top: 60px;
110+
}
111+
112+
/*
113+
* Side navigation
114+
*
115+
* Scrollspy and affixed enhanced navigation to highlight sections and secondary
116+
* sections of docs content.
117+
*/
118+
119+
/* By default it's not affixed in mobile views, so undo that */
120+
.bs-sidebar.affix {
121+
position: static;
122+
}
123+
124+
.bs-sidebar.well {
125+
padding: 0;
126+
max-height: 90%;
127+
overflow-y: auto;
128+
}
129+
130+
/* First level of nav */
131+
.bs-sidenav {
132+
padding-top: 10px;
133+
padding-bottom: 10px;
134+
border-radius: 5px;
135+
}
136+
137+
/* All levels of nav */
138+
.bs-sidebar .nav > li > a {
139+
display: block;
140+
padding: 5px 20px;
141+
z-index: 1;
142+
}
143+
.bs-sidebar .nav > li > a:hover,
144+
.bs-sidebar .nav > li > a:focus {
145+
text-decoration: none;
146+
border-right: 1px solid;
147+
}
148+
.bs-sidebar .nav > .active > a,
149+
.bs-sidebar .nav > .active:hover > a,
150+
.bs-sidebar .nav > .active:focus > a {
151+
font-weight: bold;
152+
background-color: transparent;
153+
border-right: 1px solid;
154+
}
155+
156+
/* Nav: second level (shown on .active) */
157+
.bs-sidebar .nav .nav {
158+
display: none; /* Hide by default, but at >768px, show it */
159+
margin-bottom: 8px;
160+
}
161+
.bs-sidebar .nav .nav > li > a {
162+
padding-top: 3px;
163+
padding-bottom: 3px;
164+
padding-left: 30px;
165+
font-size: 90%;
166+
}
167+
168+
/* Show and affix the side nav when space allows it */
169+
@media (min-width: 992px) {
170+
.bs-sidebar .nav > .active > ul {
171+
display: block;
172+
}
173+
/* Widen the fixed sidebar */
174+
.bs-sidebar.affix,
175+
.bs-sidebar.affix-bottom {
176+
width: 213px;
177+
}
178+
.bs-sidebar.affix {
179+
position: fixed; /* Undo the static from mobile first approach */
180+
top: 80px;
181+
}
182+
.bs-sidebar.affix-bottom {
183+
position: absolute; /* Undo the static from mobile first approach */
184+
}
185+
.bs-sidebar.affix-bottom .bs-sidenav,
186+
.bs-sidebar.affix .bs-sidenav {
187+
margin-top: 0;
188+
margin-bottom: 0;
189+
}
190+
}
191+
@media (min-width: 1200px) {
192+
/* Widen the fixed sidebar again */
193+
.bs-sidebar.affix-bottom,
194+
.bs-sidebar.affix {
195+
width: 263px;
196+
}
197+
}
198+
199+
.headerlink {
200+
font-family: FontAwesome;
201+
font-size: 14px;
202+
display: none;
203+
padding-left: .5em;
204+
}
205+
206+
h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{
207+
display:inline-block;
208+
}
209+
210+
211+
212+
.admonition {
213+
padding: 15px;
214+
margin-bottom: 20px;
215+
border: 1px solid transparent;
216+
border-radius: 4px;
217+
text-align: left;
218+
}
219+
220+
.admonition.note {
221+
color: #3a87ad;
222+
background-color: #d9edf7;
223+
border-color: #bce8f1;
224+
}
225+
226+
.admonition.warning {
227+
color: #c09853;
228+
background-color: #fcf8e3;
229+
border-color: #fbeed5;
230+
}
231+
232+
.admonition.danger {
233+
color: #b94a48;
234+
background-color: #f2dede;
235+
border-color: #eed3d7;
236+
}
237+
238+
.admonition-title {
239+
font-weight: bold;
240+
text-align: left;
241+
}
242+
243+
244+
.dropdown-submenu {
245+
position: relative;
246+
}
247+
248+
.dropdown-submenu>.dropdown-menu {
249+
top: 0;
250+
left: 100%;
251+
margin-top: -6px;
252+
margin-left: -1px;
253+
-webkit-border-radius: 0 6px 6px 6px;
254+
-moz-border-radius: 0 6px 6px;
255+
border-radius: 0 6px 6px 6px;
256+
}
257+
258+
.dropdown-submenu:hover>.dropdown-menu {
259+
display: block;
260+
}
261+
262+
.dropdown-submenu>a:after {
263+
display: block;
264+
content: " ";
265+
float: right;
266+
width: 0;
267+
height: 0;
268+
border-color: transparent;
269+
border-style: solid;
270+
border-width: 5px 0 5px 5px;
271+
border-left-color: #ccc;
272+
margin-top: 5px;
273+
margin-right: -10px;
274+
}
275+
276+
.dropdown-submenu:hover>a:after {
277+
border-left-color: #fff;
278+
}
279+
280+
.dropdown-submenu.pull-left {
281+
float: none;
282+
}
283+
284+
.dropdown-submenu.pull-left>.dropdown-menu {
285+
left: -100%;
286+
margin-left: 10px;
287+
-webkit-border-radius: 6px 0 6px 6px;
288+
-moz-border-radius: 6px 0 6px 6px;
289+
border-radius: 6px 0 6px 6px;
290+
}

0 commit comments

Comments
 (0)