Skip to content

Commit cac6f62

Browse files
author
Bryan Berg
committed
style tweaks
1 parent 03e3ccc commit cac6f62

File tree

1 file changed

+38
-28
lines changed

1 file changed

+38
-28
lines changed

static/css/style.css

Lines changed: 38 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/* we're currently modifying bootstrap.css to apply 'table' and 'table-striped' styles to all tables */
22

3+
body {
4+
background-color: white;
5+
}
6+
37
.content {
48
padding-bottom: 100px;
59
}
@@ -37,11 +41,6 @@ ul.nav-list li a:hover {
3741
text-decoration: underline;
3842
}
3943

40-
body a:visited {
41-
color: #0088cc;
42-
text-decoration: none;
43-
}
44-
4544
#replace-header a:hover, .subnav-container a:hover {
4645
text-decoration: none;
4746
}
@@ -88,27 +87,28 @@ body h1, body h2, body h3 {
8887
line-height: normal;
8988
}
9089

90+
body h2, body h3, body h4, body h5 {
91+
color: #4a484c;
92+
margin-top: 10px;
93+
margin-bottom: 8px;
94+
}
95+
9196
body h1 {
92-
font-size: 30px;
93-
margin-bottom: 10px;
97+
font-size: 24px;
98+
margin-bottom: 16px;
9499
}
95100

96101
body h2 {
97-
font-size: 24px;
102+
font-size: 18px;
103+
margin-top: 20px;
98104
}
99105

100106
body h3 {
101-
font-size: 20px;
107+
font-size: 14px;
102108
}
103109

104110
body h4 {
105-
font-size: 16px;
106-
}
107-
108-
body h2, body h3, body h4, body h5 {
109-
color: #4a484c;
110-
margin-top: 10px;
111-
margin-bottom: 10px;
111+
font-size: 14px;
112112
}
113113

114114
ul {
@@ -140,15 +140,16 @@ code {
140140
}
141141

142142
#markdown-toc {
143+
display: none;
143144
color: #ddd;
144145
margin: 0 0 30px 0;
145-
padding: 0 0 0 25px;
146-
font-size: 16px;
147-
line-height: normal;
146+
padding: 10px 0 0 25px;
148147
font-family: 'Montserrat', Helvetica, Arial, sans-serif;
149148
}
150149

151150
#markdown-toc li {
151+
font-size: 14px;
152+
line-height: 16px;
152153
padding: 2px;
153154
}
154155

@@ -158,6 +159,17 @@ p, div.layout-like-p {
158159
margin-bottom: 10px;
159160
}
160161

162+
.content ul, .content ol {
163+
line-height: 18px;
164+
}
165+
166+
.content li {
167+
line-height: 18px;
168+
font-size: 13px;
169+
margin-left: 10px;
170+
margin-bottom: 10px;
171+
}
172+
161173
.new-nav .nav.header,
162174
.nav.header {
163175
margin-bottom: 0;
@@ -171,21 +183,23 @@ p, div.layout-like-p {
171183

172184
ul.nav-list .nav-header {
173185
text-transform: none;
174-
margin-bottom: 6px;
186+
border: none;
175187
}
176188

177189
ul.nav-list {
178-
padding: 0 0 5px 0;
190+
padding: 0 0 20px 0;
179191
-webkit-font-smoothing: subpixel-antialiased;
192+
border: none;
180193
}
181194

182195
ul.nav-list li {
183196
border-bottom: none;
197+
line-height: normal;
184198
}
185199

186200
ul.nav-list li a {
187201
padding: 6px;
188-
padding-left: 28px;
202+
padding-left: 14px;
189203
font-weight: 500;
190204
line-height: normal;
191205
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
@@ -208,11 +222,7 @@ ul.nav-list ul.nav-list ul.nav-list li {
208222
}
209223

210224
ul.nav-list ul.nav-list ul.nav-list li a {
211-
padding-left: 30px;
212-
}
213-
214-
ul.nav-list ul.nav-list ul.nav-list li:first-child {
215-
border-top: 1px solid #ddd;
225+
padding-left: 10px;
216226
}
217227

218228
ul.nav-list li.active a, ul.nav-list li.active a:hover {
@@ -345,4 +355,4 @@ html.breakpoint-retina .promo-block-image.authentication {
345355
margin-right:auto;
346356
margin-left:auto;
347357
*zoom:1
348-
}
358+
}

0 commit comments

Comments
 (0)