Permalink
Browse files

more typography tweaks for windows chrome

Fixes #128
  • Loading branch information...
1 parent 8eee539 commit ab9efdc8d95c65b9e74954a4847de8b8f98486fb @jasonlong jasonlong committed Aug 3, 2012
View
5 app/assets/stylesheets/errors.css.scss
@@ -8,12 +8,13 @@ body {
font-size: $base-font-size;
line-height: $base-line-height;
font-family: $base-font-family;
- color: $font-color;
+ color: $font-color;
background: #f0efe7 url(/images/bg/body.jpg);
}
// windows chrome makes a mess of Adelle web font
-.windows.chrome body * {
+.windows.chrome body,
+.windows.ie8 body {
font-family: $base-font-family-fallback ! important;
}
View
4 app/assets/stylesheets/forms.css.scss
@@ -19,6 +19,10 @@ input, textarea {
font-size: 14px;
outline: none;
}
+.windows.chrome input, .windows.chrome textarea,
+.windows.ie8 input, .windows.chrome textarea {
+ font-family: $base-font-family-fallback ! important;
+}
form#search {
position: absolute;
View
2 app/assets/stylesheets/git-scm.css.scss
@@ -2,8 +2,8 @@
@include global-reset;
@import "variables.css.scss";
-@import "typography.css.scss";
@import "layout.css.scss";
+@import "typography.css.scss";
@import "downloads.css.scss";
@import "search.css.scss";
@import "front-page.css.scss";
View
4 app/assets/stylesheets/layout.css.scss
@@ -7,8 +7,8 @@ body {
}
// windows chrome makes a mess of Adelle web font
-.windows.chrome body *,
-.windows.ie8 body * {
+.windows.chrome body,
+.windows.ie8 body {
font-family: $base-font-family-fallback ! important;
}
View
13 app/assets/stylesheets/reference.css.scss
@@ -72,7 +72,7 @@ h3.plumbing {
background-color: rgba(223, 221, 213, .33);
@include border-radius(3px);
padding: 8px 12px 6px 12px;
- margin-bottom: 10px;
+ margin-bottom: 10px;
font-size: 13px;
font-weight: bold;
.light {
@@ -81,7 +81,7 @@ h3.plumbing {
a {
font-weight: bold;
position: relative;
- top: -5px;
+ top: -5px;
&#reference-versions-trigger {
float: left;
margin-right: 6px;
@@ -116,7 +116,7 @@ h3.plumbing {
input {
font-size: 11px;
border: solid 1px #e2e0d8;
- background-color: #f0efe8;
+ background-color: #f0efe8;
color: $font-color;
width: 70px;
@include border-radius(1px);
@@ -125,6 +125,11 @@ h3.plumbing {
}
}
+.windows.chrome #previous-versions-dropdown,
+.windows.ie8 #previous-versions-dropdown {
+ width: 370px;
+}
+
#topics-dropdown {
right: 12px;
padding: 12px;
@@ -211,7 +216,7 @@ ol.reference-previous-versions {
font-style: normal;
}
&.more {
- border-bottom: none;
+ border-bottom: none;
}
}
&.no-change {
View
4 app/assets/stylesheets/typography.css.scss
@@ -3,7 +3,6 @@
p {
margin: 0 0 $base-line-height / 2;
- font-family: $base-font-family;
font-size: $base-font-size;
line-height: $base-line-height;
small {
@@ -25,7 +24,6 @@ a {
h1, h2, h3, h4, h5, h6 {
margin: 0;
- font-family: $base-font-family;
font-weight: normal;
color: $font-color;
text-rendering: optimizelegibility; // Fix the character spacing for headings
@@ -278,7 +276,7 @@ a.subtle-button {
border-right: solid 1px #dedcd4;
border-bottom: solid 1px #cdcbc4;
text-align: center;
- font-size: 12px;
+ font-size: 12px;
padding: 3px 20px;
@include border-radius(3px);
@include background-image(linear-gradient(#f1f1e9, #eae9e1));

0 comments on commit ab9efdc

Please sign in to comment.