diff --git a/themes/jquery/css/base.css b/themes/jquery/css/base.css index b2a1bcd1..bf3d87bc 100644 --- a/themes/jquery/css/base.css +++ b/themes/jquery/css/base.css @@ -562,8 +562,8 @@ textarea { border: 1px solid #B24926; - box-shadow: 0px 0px 6px rgba(23,138,156,0.5), - inset 0px 1px 3px rgba(0,0,0,0.2); + box-shadow: 0 0 6px rgba(23,138,156,0.5), + inset 0 1px 3px rgba(0,0,0,0.2); } /** @@ -717,7 +717,7 @@ table { line-height: normal; vertical-align: baseline; background-image: none; - background-position: 0% 0%; + background-position: 0 0; background-repeat: repeat; margin-top: 0; } @@ -777,13 +777,6 @@ a [class*=" icon-"] { .nav-tabs [class^="icon-"], .nav-pills [class^="icon-"], .nav-tabs [class*=" icon-"], -.nav-pills [class*=" icon-"] { - /* keeps button heights with and without icons the same */ - -} -.nav-tabs [class^="icon-"], -.nav-pills [class^="icon-"], -.nav-tabs [class*=" icon-"], .nav-pills [class*=" icon-"], .nav-tabs [class^="icon-"].icon-large, .nav-pills [class^="icon-"].icon-large, @@ -1373,7 +1366,7 @@ iframe { top: 1px; cursor: pointer; transition: all 0.2s; - text-shadow: 0 0px 2px #000; + text-shadow: 0 0 2px #000; border-left: 1px solid rgba(255, 255, 255, 0.0976562); border-right: 1px solid rgba(0, 0, 0, 0.347656); } @@ -1446,19 +1439,19 @@ iframe { } #global-nav nav ul.projects li.jquery-ui { - background-position: -57px 0px; + background-position: -57px 0; } #global-nav nav ul.projects li.jquery-mobile { - background-position: -107px 0px; + background-position: -107px 0; } #global-nav nav ul.projects li.sizzlejs { - background-position: -155px 0px; + background-position: -155px 0; } #global-nav nav ul.projects li.qunitjs { - background-position: -204px 0px; + background-position: -204px 0; } .jquery #global-nav nav ul.projects li.jquery { @@ -1665,31 +1658,31 @@ h2.logo a { .jquery.logo.small { width:109px; - background-position: -0px 0px; + background-position: -0 0; } .jquery-foundation.logo.small { width: 109px; - background-position: -109px 0px; + background-position: -109px 0; } .jquery-events.logo.small { width: 109px; - background-position: -219px 0px; + background-position: -219px 0; } .jqueryui.logo.small { width: 114px; - background-position: -327px 0px; + background-position: -327px 0; } .jquery-mobile.logo.small { width: 122px; - background-position: -442px 0px; + background-position: -442px 0; } .qunitjs.logo.small { width: 105px; - background-position: -564px 0px; + background-position: -564px 0; } .sizzlejs.logo.small { width: 105px; - background-position: -669px 0px; + background-position: -669px 0; } #logo-events aside { @@ -1758,7 +1751,7 @@ nav#main .searchform { border-radius: 4px; border: 1px solid rgba(0,0,0,0.25); color: #fff; - text-shadow: rgba(0, 0, 0, 0.796875) 0px -1px 0px, rgba(255, 255, 255, 0.296875) 0px 0px 10px; + text-shadow: rgba(0, 0, 0, 0.796875) 0 -1px 0, rgba(255, 255, 255, 0.296875) 0 0 10px; } nav#main .searchform { @@ -1943,7 +1936,6 @@ pre b { top: 1px; left: -25px; box-sizing: border-box; - width: 20px; /* Some space between the number and the content in browsers that support generated content but not positioning it */ color: #fff; @@ -1951,7 +1943,7 @@ pre b { background-color: #ababab; height: 19px; width: 19px; - padding-top: 0px; + padding-top: 0; font: bold 11px/19px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; border-radius: 12px; } @@ -1965,7 +1957,7 @@ pre b { .lt-ie7 #content ol li { margin-left: 30px; list-style-type: decimal; - padding-left: 0px; + padding-left: 0; } #content img.full, @@ -2019,7 +2011,7 @@ pre b { .lt-ie7 #content img.right, .lt-ie7 #content figure.right { float: left; - margin-left: 0px; + margin-left: 0; margin-right: 15px; } @@ -2030,17 +2022,14 @@ pre b { #content figure img { - margin: 0px !important; - margin-bottom: 0px !important; + margin: 0 !important; + margin-bottom: 0 !important; } #content figcaption { - box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.20); + box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.20); font: italic 700 12px/20px "klavika-web", "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; - padding-left: 10px; - padding-right: 10px; - padding-top: 5px; - padding-bottom: 5px; + padding: 10px 5px; color: #737272; clear: both; margin-top: -10px; @@ -2059,7 +2048,7 @@ pre b { padding-bottom: 56.25%; /* 16/9 ratio */ height: 0; overflow: hidden; - box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.20); + box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.20); margin-bottom: 20px; } @@ -2245,9 +2234,9 @@ input[type="submit"] { box-shadow: 0 0 5px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45), - inset 0px -1px 0px rgba(255, 255, 255, 0.45), - inset 1px 0px 0px rgba(255, 255, 255, 0.45), - inset -1px 1px 0px rgba(255, 255, 255, 0.45); + inset 0 -1px 0 rgba(255, 255, 255, 0.45), + inset 1px 0 0 rgba(255, 255, 255, 0.45), + inset -1px 1px 0 rgba(255, 255, 255, 0.45); text-decoration: none; color: #fff !important; text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35); @@ -2990,15 +2979,15 @@ footer .books li a cite { width: auto !important; text-align: left !important; float: none; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; } nav#main ul li, nav#main ul li a { display: block; text-align: left !important; float: left; - margin-right: 0px; + margin-right: 0; padding: 0 4px 4px 0; } @@ -3093,7 +3082,7 @@ footer .books li a cite { margin: 0 auto 15px; position: relative; top: 6px; - left: 0px; + left: 0; } nav#main { @@ -3110,7 +3099,7 @@ footer .books li a cite { nav#main ul li, nav#main ul li a { float: none; - padding: 6px 0px 6px 8px; + padding: 6px 0 6px 8px; } .constrain,