Skip to content

Commit 70793d0

Browse files
committed
base.css: Clean up
Closes gh-376
1 parent 9f916ac commit 70793d0

File tree

1 file changed

+32
-43
lines changed

1 file changed

+32
-43
lines changed

themes/jquery/css/base.css

Lines changed: 32 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ textarea {
562562

563563
border: 1px solid #B24926;
564564

565-
box-shadow: 0px 0px 6px rgba(23,138,156,0.5),
566-
inset 0px 1px 3px rgba(0,0,0,0.2);
565+
box-shadow: 0 0 6px rgba(23,138,156,0.5),
566+
inset 0 1px 3px rgba(0,0,0,0.2);
567567
}
568568

569569
/**
@@ -717,7 +717,7 @@ table {
717717
line-height: normal;
718718
vertical-align: baseline;
719719
background-image: none;
720-
background-position: 0% 0%;
720+
background-position: 0 0;
721721
background-repeat: repeat;
722722
margin-top: 0;
723723
}
@@ -777,13 +777,6 @@ a [class*=" icon-"] {
777777
.nav-tabs [class^="icon-"],
778778
.nav-pills [class^="icon-"],
779779
.nav-tabs [class*=" icon-"],
780-
.nav-pills [class*=" icon-"] {
781-
/* keeps button heights with and without icons the same */
782-
783-
}
784-
.nav-tabs [class^="icon-"],
785-
.nav-pills [class^="icon-"],
786-
.nav-tabs [class*=" icon-"],
787780
.nav-pills [class*=" icon-"],
788781
.nav-tabs [class^="icon-"].icon-large,
789782
.nav-pills [class^="icon-"].icon-large,
@@ -1373,7 +1366,7 @@ iframe {
13731366
top: 1px;
13741367
cursor: pointer;
13751368
transition: all 0.2s;
1376-
text-shadow: 0 0px 2px #000;
1369+
text-shadow: 0 0 2px #000;
13771370
border-left: 1px solid rgba(255, 255, 255, 0.0976562);
13781371
border-right: 1px solid rgba(0, 0, 0, 0.347656);
13791372
}
@@ -1446,19 +1439,19 @@ iframe {
14461439
}
14471440

14481441
#global-nav nav ul.projects li.jquery-ui {
1449-
background-position: -57px 0px;
1442+
background-position: -57px 0;
14501443
}
14511444

14521445
#global-nav nav ul.projects li.jquery-mobile {
1453-
background-position: -107px 0px;
1446+
background-position: -107px 0;
14541447
}
14551448

14561449
#global-nav nav ul.projects li.sizzlejs {
1457-
background-position: -155px 0px;
1450+
background-position: -155px 0;
14581451
}
14591452

14601453
#global-nav nav ul.projects li.qunitjs {
1461-
background-position: -204px 0px;
1454+
background-position: -204px 0;
14621455
}
14631456

14641457
.jquery #global-nav nav ul.projects li.jquery {
@@ -1665,31 +1658,31 @@ h2.logo a {
16651658

16661659
.jquery.logo.small {
16671660
width:109px;
1668-
background-position: -0px 0px;
1661+
background-position: -0 0;
16691662
}
16701663
.jquery-foundation.logo.small {
16711664
width: 109px;
1672-
background-position: -109px 0px;
1665+
background-position: -109px 0;
16731666
}
16741667
.jquery-events.logo.small {
16751668
width: 109px;
1676-
background-position: -219px 0px;
1669+
background-position: -219px 0;
16771670
}
16781671
.jqueryui.logo.small {
16791672
width: 114px;
1680-
background-position: -327px 0px;
1673+
background-position: -327px 0;
16811674
}
16821675
.jquery-mobile.logo.small {
16831676
width: 122px;
1684-
background-position: -442px 0px;
1677+
background-position: -442px 0;
16851678
}
16861679
.qunitjs.logo.small {
16871680
width: 105px;
1688-
background-position: -564px 0px;
1681+
background-position: -564px 0;
16891682
}
16901683
.sizzlejs.logo.small {
16911684
width: 105px;
1692-
background-position: -669px 0px;
1685+
background-position: -669px 0;
16931686
}
16941687

16951688
#logo-events aside {
@@ -1758,7 +1751,7 @@ nav#main .searchform {
17581751
border-radius: 4px;
17591752
border: 1px solid rgba(0,0,0,0.25);
17601753
color: #fff;
1761-
text-shadow: rgba(0, 0, 0, 0.796875) 0px -1px 0px, rgba(255, 255, 255, 0.296875) 0px 0px 10px;
1754+
text-shadow: rgba(0, 0, 0, 0.796875) 0 -1px 0, rgba(255, 255, 255, 0.296875) 0 0 10px;
17621755
}
17631756

17641757
nav#main .searchform {
@@ -1943,15 +1936,14 @@ pre b {
19431936
top: 1px;
19441937
left: -25px;
19451938
box-sizing: border-box;
1946-
width: 20px;
19471939
/* Some space between the number and the content in browsers that support
19481940
generated content but not positioning it */
19491941
color: #fff;
19501942
text-align: center;
19511943
background-color: #ababab;
19521944
height: 19px;
19531945
width: 19px;
1954-
padding-top: 0px;
1946+
padding-top: 0;
19551947
font: bold 11px/19px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
19561948
border-radius: 12px;
19571949
}
@@ -1965,7 +1957,7 @@ pre b {
19651957
.lt-ie7 #content ol li {
19661958
margin-left: 30px;
19671959
list-style-type: decimal;
1968-
padding-left: 0px;
1960+
padding-left: 0;
19691961
}
19701962

19711963
#content img.full,
@@ -2019,7 +2011,7 @@ pre b {
20192011
.lt-ie7 #content img.right,
20202012
.lt-ie7 #content figure.right {
20212013
float: left;
2022-
margin-left: 0px;
2014+
margin-left: 0;
20232015
margin-right: 15px;
20242016
}
20252017

@@ -2030,17 +2022,14 @@ pre b {
20302022

20312023

20322024
#content figure img {
2033-
margin: 0px !important;
2034-
margin-bottom: 0px !important;
2025+
margin: 0 !important;
2026+
margin-bottom: 0 !important;
20352027
}
20362028

20372029
#content figcaption {
2038-
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.20);
2030+
box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.20);
20392031
font: italic 700 12px/20px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif;
2040-
padding-left: 10px;
2041-
padding-right: 10px;
2042-
padding-top: 5px;
2043-
padding-bottom: 5px;
2032+
padding: 10px 5px;
20442033
color: #737272;
20452034
clear: both;
20462035
margin-top: -10px;
@@ -2059,7 +2048,7 @@ pre b {
20592048
padding-bottom: 56.25%; /* 16/9 ratio */
20602049
height: 0;
20612050
overflow: hidden;
2062-
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.20);
2051+
box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.20);
20632052
margin-bottom: 20px;
20642053
}
20652054

@@ -2245,9 +2234,9 @@ input[type="submit"] {
22452234
box-shadow:
22462235
0 0 5px rgba(0, 0, 0, 0.28),
22472236
inset 0 1px 0 rgba(255, 255, 255, 0.45),
2248-
inset 0px -1px 0px rgba(255, 255, 255, 0.45),
2249-
inset 1px 0px 0px rgba(255, 255, 255, 0.45),
2250-
inset -1px 1px 0px rgba(255, 255, 255, 0.45);
2237+
inset 0 -1px 0 rgba(255, 255, 255, 0.45),
2238+
inset 1px 0 0 rgba(255, 255, 255, 0.45),
2239+
inset -1px 1px 0 rgba(255, 255, 255, 0.45);
22512240
text-decoration: none;
22522241
color: #fff !important;
22532242
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35);
@@ -2990,15 +2979,15 @@ footer .books li a cite {
29902979
width: auto !important;
29912980
text-align: left !important;
29922981
float: none;
2993-
margin: 0px;
2994-
padding: 0px;
2982+
margin: 0;
2983+
padding: 0;
29952984
}
29962985

29972986
nav#main ul li, nav#main ul li a {
29982987
display: block;
29992988
text-align: left !important;
30002989
float: left;
3001-
margin-right: 0px;
2990+
margin-right: 0;
30022991
padding: 0 4px 4px 0;
30032992
}
30042993

@@ -3093,7 +3082,7 @@ footer .books li a cite {
30933082
margin: 0 auto 15px;
30943083
position: relative;
30953084
top: 6px;
3096-
left: 0px;
3085+
left: 0;
30973086
}
30983087

30993088
nav#main {
@@ -3110,7 +3099,7 @@ footer .books li a cite {
31103099

31113100
nav#main ul li, nav#main ul li a {
31123101
float: none;
3113-
padding: 6px 0px 6px 8px;
3102+
padding: 6px 0 6px 8px;
31143103
}
31153104

31163105
.constrain,

0 commit comments

Comments
 (0)