Skip to content

Commit 345ace3

Browse files
author
Weiguang Mao
committed
trial
1 parent 9a3f1aa commit 345ace3

2 files changed

Lines changed: 1 addition & 199 deletions

File tree

docs/_sass/base/_body.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,4 @@ body {
1111
position: relative;
1212

1313

14-
h1, h2, h3 {
15-
color: #1a81c2;
16-
/* */
17-
}
18-
1914
}

docs/assets/css/style.scss

Lines changed: 1 addition & 194 deletions
Original file line numberDiff line numberDiff line change
@@ -44,199 +44,6 @@ $site-ui-masthead-color-light: {{ site.ui.masthead.color.light | default: '#fff'
4444
@import 'utilities/js';
4545

4646

47-
div.author{
48-
display: inline-block;
49-
vertical-align: top;
50-
padding-right: 2em;
51-
}
5247

53-
body, td {
54-
background-color: white;
55-
}
48+
$base-font-size: 16px !default;
5649

57-
/* element spacing */
58-
59-
p, pre {
60-
margin: 0em 0em 1em;
61-
}
62-
63-
/* center images and tables */
64-
img, table {
65-
margin: 0em auto 1em;
66-
}
67-
68-
p {
69-
text-align: justify;
70-
}
71-
72-
tt, code, pre {
73-
font-family: 'DejaVu Sans Mono', 'Droid Sans Mono', 'Lucida Console', Consolas, Monaco, monospace;
74-
}
75-
76-
h1, h2, h3, h4, h5, h6 {
77-
font-family: Helvetica, Arial, sans-serif;
78-
margin: 1.2em 0em 0.6em 0em;
79-
font-weight: bold;
80-
81-
}
82-
83-
h1.title {
84-
color: #87b13f;
85-
line-height: 1.1em;
86-
margin-top: 0px;
87-
border-bottom: 0px;
88-
}
89-
90-
h1 {
91-
font-size: 160%;
92-
font-weight: normal;
93-
line-height: 1.1em;
94-
padding-bottom: 2px;
95-
border-bottom: 3px solid;
96-
}
97-
98-
h2 {
99-
font-size: 130%;
100-
}
101-
102-
h1, h2, h3 {
103-
color: #1a81c2;
104-
/* */
105-
}
106-
107-
h3, h4, h5, h6 {
108-
font-size:115%;
109-
} /* not expecting to dive deeper than four levels on a single page */
110-
111-
/* links are simply blue, hovering slightly less blue */
112-
/*a { color: #1a81c2; }
113-
a:active { outline: none; }
114-
a:visited { color: #1a81c2; }
115-
a:hover { color: #4c94c2; }
116-
*/
117-
118-
pre, img {
119-
max-width: 100%;
120-
display: block;
121-
}
122-
123-
pre {
124-
border: 0px none;
125-
background-color: #F8F8F8;
126-
white-space: pre;
127-
overflow-x: auto;
128-
}
129-
130-
pre code {
131-
border: 1px #aaa dashed;
132-
background-color: white;
133-
display: block;
134-
padding: 1em;
135-
color: #111;
136-
overflow-x: inherit;
137-
}
138-
139-
/* markdown v1 */
140-
pre code[class] {
141-
background-color: inherit;
142-
}
143-
144-
/* markdown v2 */
145-
pre[class] code {
146-
background-color: inherit;
147-
}
148-
149-
/* formatting of inline code */
150-
code {
151-
background-color: transparent;
152-
color: #87b13f;
153-
font-size: 92%;
154-
}
155-
156-
/* formatting of tables */
157-
158-
table, td, th {
159-
border: none;
160-
padding: 0 0.5em;
161-
}
162-
163-
/* alternating row colors */
164-
tbody tr:nth-child(odd) td {
165-
background-color: #F8F8F8;
166-
}
167-
168-
blockquote {
169-
color:#666666;
170-
margin:0;
171-
padding-left: 1em;
172-
border-left: 0.5em #EEE solid;
173-
}
174-
175-
hr {
176-
height: 0px;
177-
border-bottom: none;
178-
border-top-width: thin;
179-
border-top-style: dotted;
180-
border-top-color: #999999;
181-
}
182-
183-
span.header-section-number {
184-
padding-right: 1em;
185-
}
186-
187-
span.toc-section-number::after {
188-
content: " ";
189-
white-space: pre;
190-
}
191-
192-
@media print {
193-
* {
194-
background: transparent !important;
195-
color: black !important;
196-
filter:none !important;
197-
-ms-filter: none !important;
198-
}
199-
200-
body {
201-
font-size:12pt;
202-
max-width:100%;
203-
}
204-
205-
a, a:visited {
206-
text-decoration: underline;
207-
}
208-
209-
hr {
210-
visibility: hidden;
211-
page-break-before: always;
212-
}
213-
214-
pre, blockquote {
215-
padding-right: 1em;
216-
page-break-inside: avoid;
217-
}
218-
219-
tr, img {
220-
page-break-inside: avoid;
221-
}
222-
223-
img {
224-
max-width: 100% !important;
225-
}
226-
227-
@page :left {
228-
margin: 15mm 20mm 15mm 10mm;
229-
}
230-
231-
@page :right {
232-
margin: 15mm 10mm 15mm 20mm;
233-
}
234-
235-
p, h2, h3 {
236-
orphans: 3; widows: 3;
237-
}
238-
239-
h2, h3 {
240-
page-break-after: avoid;
241-
}
242-
}

0 commit comments

Comments
 (0)