Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleaning up font declarations

  • Loading branch information...
commit d450ec9ce5f8e597d7a2efcb1ac08eba5170cbb6 1 parent 5cc51a7
@wafflesnatcha wafflesnatcha authored
Showing with 25 additions and 21 deletions.
  1. +8 −7 files/scss/style.scss
  2. +17 −14 style.css
View
15 files/scss/style.scss
@@ -7,9 +7,9 @@ $experimental-support-for-opera: false;
@import "compass/css3";
-$font_body: "Lucida Grande", "Lucida Sans", "Helvetica", sans-serif;
-$font_code: "Menlo", "Monaco", "Courier New", monospace;
-$font_heading: "Helvetica Neue", "Helvetica", sans-serif;
+$font_body: "Lucida Grande", "Lucida Sans", Helvetica, sans-serif;
+$font_code: Menlo, Monaco, "Courier New", monospace;
+$font_heading: "Helvetica Neue", Helvetica, sans-serif;
$font_size: 12px;
@@ -19,7 +19,7 @@ $body__bg: #fff;
$blockquote: #444;
$code__bg: #eee;
-$code_font-size: $font-size - 1;
+$code_font-size: 90%;
$heading: $body;
@@ -179,6 +179,7 @@ body.scott {
background: transparent;
border: none;
display: inline;
+ font-size: 100%;
padding: 0;
white-space: pre;
word-wrap: normal;
@@ -241,7 +242,7 @@ body.scott {
family: $font_heading;
size: 18px;
};
- height: auto;
+ height: 100%;
line-height: inherit;
margin: 0;
overflow-x: hidden;
@@ -342,7 +343,7 @@ body.scott {
color: #222;
display: block;
font: {
- size: $font-size - 1;
+ size: 90%;
weight: 500;
};
height: auto;
@@ -437,7 +438,7 @@ body.scott {
}
div.footnotes {
- font-size: $font_size - 1;
+ font-size: 90%;
padding: 1em;
li > p {
View
31 style.css
@@ -2,7 +2,7 @@ body.scott {
-webkit-user-select: none;
background: white;
color: black;
- font-family: "Lucida Grande", "Lucida Sans", "Helvetica", sans-serif;
+ font-family: "Lucida Grande", "Lucida Sans", Helvetica, sans-serif;
font-size: 12px;
line-height: normal;
margin: 0;
@@ -11,7 +11,7 @@ body.scott {
.scott h1, .scott h2, .scott h3, .scott h4, .scott h5, .scott h6 {
color: black;
- font-family: "Helvetica Neue", "Helvetica", sans-serif;
+ font-family: "Helvetica Neue", Helvetica, sans-serif;
font-style: normal;
font-weight: 500;
}
@@ -97,7 +97,7 @@ body.scott {
margin-left: 30px;
}
.scott pre, .scott tt, .scott code, .scott kbd, .scott samp, .scott textarea {
- font-family: "Menlo", "Monaco", "Courier New", monospace;
+ font-family: Menlo, Monaco, "Courier New", monospace;
font-size: inherit;
}
.scott code, .scott pre {
@@ -105,7 +105,7 @@ body.scott {
border-radius: 3px;
background: #eeeeee;
border: 1px solid rgba(150, 150, 150, 0.07);
- font-size: 11px;
+ font-size: 90%;
line-height: normal;
}
.scott code {
@@ -126,6 +126,7 @@ body.scott {
background: transparent;
border: none;
display: inline;
+ font-size: 100%;
padding: 0;
white-space: pre;
word-wrap: normal;
@@ -179,9 +180,9 @@ body.scott {
box-sizing: border-box;
background-color: transparent;
border: none;
- font-family: "Helvetica Neue", "Helvetica", sans-serif;
+ font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 18px;
- height: auto;
+ height: 100%;
line-height: inherit;
margin: 0;
overflow-x: hidden;
@@ -283,7 +284,7 @@ body.scott {
bottom: 0;
color: #222;
display: block;
- font-size: 11px;
+ font-size: 90%;
font-weight: 500;
height: auto;
left: 0;
@@ -373,7 +374,7 @@ body.scott {
background-color: rgba(206, 219, 234, 0.25);
}
.scott div.footnotes {
- font-size: 11px;
+ font-size: 90%;
padding: 1em;
}
.scott div.footnotes li > p {
@@ -384,14 +385,16 @@ body.scott {
background-color: rgba(206, 219, 234, 0.25);
}
.scott .notice.error, .scott div#exception_report {
- -webkit-box-shadow: 0 50px 50px -40px rgba(255, 100, 100, 0.1) inset, 0 0 3px 0 rgba(255, 0, 0, 0.5) inset, 0 0 1px rgba(80, 0, 0, 0.3);
- box-shadow: 0 50px 50px -40px rgba(255, 100, 100, 0.1) inset, 0 0 3px 0 rgba(255, 0, 0, 0.5) inset, 0 0 1px rgba(80, 0, 0, 0.3);
- -webkit-border-radius: 3px;
- border-radius: 3px;
+ -webkit-box-shadow: 0 50px 50px -40px rgba(255, 100, 100, 0.1) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.3) inset, 0 2px 2px -2px rgba(0, 0, 0, 0.7);
+ box-shadow: 0 50px 50px -40px rgba(255, 100, 100, 0.1) inset, 0 1px 2px 0 rgba(0, 0, 0, 0.3) inset, 0 2px 2px -2px rgba(0, 0, 0, 0.7);
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
background: #fff8f8;
- border: 1px solid #e30b0b;
- padding: 5px 8px 6px;
+ border: 2px solid #C73C3C;
+ border-bottom-color: #de4343;
+ border-top-color: #de4343;
margin: 0;
+ padding: 5px 8px 6px;
}
.scott .highlight pre .hll {
background-color: #ffffcc;
Please sign in to comment.
Something went wrong with that request. Please try again.