Skip to content

Commit 629da37

Browse files
committed
Adjusting vertical visual rhythm to have less egregious whitespace usage
1 parent 9012cef commit 629da37

File tree

1 file changed

+25
-28
lines changed

1 file changed

+25
-28
lines changed

themes/jquery/css/base.css

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -145,32 +145,32 @@ a:hover {
145145

146146
h1 {
147147
font-size: 2em;
148-
margin: 0 0 0.67em;
148+
margin: 0 0 0.33em;
149149
}
150150

151151
h2 {
152152
font-size: 1.5em;
153-
margin: 0 0 0.83em;
153+
margin: 0 0 0.5em;
154154
}
155155

156156
h3 {
157157
font-size: 1.17em;
158-
margin: 0 0 1em;
158+
margin: 0 0 0.67em;
159159
}
160160

161161
h4 {
162162
font-size: 1em;
163-
margin: 0 0 1.33em;
163+
margin: 0 0 1em;
164164
}
165165

166166
h5 {
167167
font-size: 0.83em;
168-
margin: 0 0 1.67em;
168+
margin: 0 0 1.33em;
169169
}
170170

171171
h6 {
172172
font-size: 0.75em;
173-
margin: 0 0 2.33em;
173+
margin: 0 0 2em;
174174
}
175175

176176
h1, h2, h3, h4, h5, h6 {
@@ -909,7 +909,7 @@ li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before {
909909
body {
910910
-webkit-font-smoothing: antialiased;
911911
color: #333;
912-
font: 15px/20px "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
912+
font: 15px/22.5px "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
913913
}
914914

915915
iframe {
@@ -1472,7 +1472,7 @@ nav#main .searchform label span{
14721472
}
14731473

14741474
p {
1475-
margin-bottom: 20px;
1475+
margin-bottom: 15px;
14761476
margin-top: 0;
14771477
}
14781478

@@ -1488,10 +1488,9 @@ em, i {
14881488

14891489
hr {
14901490
background-image: url(../images/gauze.png);
1491-
height: 1em;
1491+
height: .75em;
14921492
border: none;
1493-
margin-top: 2em;
1494-
margin-bottom: 2em;
1493+
margin: .75em 0;
14951494
}
14961495

14971496
pre, code {
@@ -1716,24 +1715,22 @@ pre b {
17161715
}
17171716

17181717
#content h1 {
1719-
font: 700 normal 36px/36px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
1718+
font-size: 700 normal 36px/36px;
17201719
}
17211720

17221721
.content-full #content h1 {
17231722
text-align: center;
17241723
}
17251724

17261725
#content h2 {
1727-
font: 700 24px/24px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
1726+
font-size: 24px/24px;
17281727
color: #333;
17291728
margin-bottom: 10px;
17301729
}
17311730

17321731
#content h3 {
1733-
font: 700 normal 20px/20px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
1732+
font-size: 20px/20px;
17341733
color: #666;
1735-
margin-bottom: 10px;
1736-
margin-top: 12px;
17371734
}
17381735

17391736
#content h1.block,
@@ -1911,7 +1908,7 @@ input[type="submit"].dark:hover {
19111908

19121909
#sidebar li {
19131910
padding-left: 20px;
1914-
line-height: 20px;
1911+
line-height: 15px;
19151912
list-style-type: none;
19161913
background: url(../images/bullet.png) no-repeat 0 14px;
19171914
text-shadow: 0 1px 0 #ffffff;
@@ -2383,16 +2380,16 @@ footer li img {
23832380

23842381
.listing .hentry {
23852382
padding: 10px 20px;
2386-
margin: 20px 0;
2383+
margin: 15px 0;
23872384
border: 1px solid rgba( 0, 0, 0, 0.2 );
23882385
border-radius: 5px;
23892386
background-color: #eee;
23902387
position: relative;
23912388
}
23922389

23932390
.listing #content .entry-title {
2394-
font-size: 1.4em;
2395-
margin-bottom: .2em;
2391+
font-size: 1.3em;
2392+
margin-bottom: 0;
23962393
text-shadow: 0 1px 1px #fff;
23972394
}
23982395

@@ -2416,7 +2413,7 @@ footer li img {
24162413
========================================================================== */
24172414

24182415
.entry {
2419-
margin: 30px 0;
2416+
margin: 15px 0;
24202417
}
24212418

24222419
.entry-wrapper {
@@ -2429,7 +2426,7 @@ footer li img {
24292426
#content .section-title {
24302427
background: #333;
24312428
border: 1px solid #111;
2432-
padding: 10px 15px;
2429+
padding: 8px 15px;
24332430
font-size: 16px;
24342431
color: white;
24352432
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
@@ -2454,7 +2451,7 @@ footer li img {
24542451
#content .signatures {
24552452
background: #eee;
24562453
border: 1px solid #ccc;
2457-
margin: 0 auto 30px;
2454+
margin: 0 auto 15px;
24582455
max-width: 750px;
24592456
border-radius: 3px;
24602457
color: #333;
@@ -2479,7 +2476,7 @@ footer li img {
24792476
.signatures h4 {
24802477
font-size: 16px;
24812478
letter-spacing: 0;
2482-
padding: 10px;
2479+
padding: 8px 10px;
24832480
margin: -10px -10px 0;
24842481
color: #fff;
24852482
text-shadow: 0 1px 0 #444;
@@ -2495,7 +2492,7 @@ footer li img {
24952492

24962493
#options, #methods, #events, #quick-nav {
24972494
border: 1px solid #CCC;
2498-
margin: 0 15px 30px 15px;
2495+
margin: 0 15px 15px;
24992496
padding: 10px;
25002497
overflow: auto;
25012498
}
@@ -2541,7 +2538,7 @@ footer li img {
25412538
.name .version-details {
25422539
float: right;
25432540
clear: right;
2544-
font-size: 12px;
2541+
font-size: 14px;
25452542
color: #fff;
25462543
}
25472544

@@ -2574,8 +2571,8 @@ footer li img {
25742571

25752572
.desc {
25762573
font-size: 16px;
2577-
padding: 10px 15px;
2578-
color: #999;
2574+
padding: 5px 15px 0;
2575+
color: #666;
25792576
font-style: italic;
25802577
}
25812578

0 commit comments

Comments
 (0)