Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

line-heights just in case ( ̄- ̄;)

  • Loading branch information...
commit 4695cfc86d0517d4722b036d0ea4c015c6ba4f5a 1 parent c5aeffa
Scott Buchanan authored
4  files/scss/style.scss
@@ -36,6 +36,7 @@ body.scott {
36 36
 		family: $font_body;
37 37
 		size: $font_size;
38 38
 	}
  39
+	line-height: normal;
39 40
 	margin: 0;
40 41
 	padding: 0;
41 42
 }
@@ -110,11 +111,11 @@ body.scott {
110 111
 	}
111 112
 
112 113
 	h1, h2, h3, h4, h5, h6, p, pre, blockquote {
  114
+		-webkit-margin-collapse: collapse;
113 115
 		margin: {
114 116
 			top: 15px;
115 117
 			bottom: 15px;
116 118
 		};
117  
-		-webkit-margin-collapse: collapse;
118 119
 	}
119 120
 
120 121
 	dl, dt, dd {
@@ -144,6 +145,7 @@ body.scott {
144 145
 		background: $code__bg;
145 146
 		border: 1px solid rgba(150,150,150,.07);
146 147
 		font-size: $code_font-size;
  148
+		line-height: normal;
147 149
 	}
148 150
 
149 151
 	code {
33  style.css
@@ -4,6 +4,7 @@ body.scott {
4 4
   color: black;
5 5
   font-family: "Lucida Grande", "Lucida Sans", "Helvetica", sans-serif;
6 6
   font-size: 12px;
  7
+  line-height: normal;
7 8
   margin: 0;
8 9
   padding: 0;
9 10
 }
@@ -46,18 +47,27 @@ body.scott {
46 47
   text-decoration: none;
47 48
 }
48 49
 .scott a[rel="external"] {
49  
-  margin-right: 11px;
  50
+  position: relative;
50 51
 }
51 52
 .scott a[rel="external"]::after {
52  
-  content: url('images/external-link.png?1343090155');
53  
-  height: 12px;
54  
-  line-height: 100%;
55  
-  margin: 0 0 0 -1px;
56  
-  opacity: .8;
57  
-  padding: 0 0 0 2px;
  53
+  background-image: url('images/external-link.png?1346624729'), -webkit-gradient(radial, 50%, 0, 50%, 100, color-stop(70%, rgba(255, 255, 255, 0.8)), color-stop(100%, rgba(255, 255, 255, 0.8)));
  54
+  background-image: url('images/external-link.png?1346624729'), -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.8) 100%);
  55
+  background-image: url('images/external-link.png?1346624729'), radial-gradient(center, ellipse cover, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.8) 100%);
  56
+  background-position: center;
  57
+  background-repeat: no-repeat;
  58
+  content: '';
  59
+  display: none;
  60
+  height: 9px;
  61
+  margin: 0;
  62
+  padding: 1px;
58 63
   position: absolute;
59  
-  vertical-align: middle;
60  
-  width: 12px;
  64
+  right: -8px;
  65
+  top: 25%;
  66
+  width: 10px;
  67
+  z-index: 1;
  68
+}
  69
+.scott a[rel="external"]:hover::after {
  70
+  display: block;
61 71
 }
62 72
 .scott b, .scott strong {
63 73
   font-weight: 700;
@@ -72,9 +82,9 @@ body.scott {
72 82
   margin-right: 0;
73 83
 }
74 84
 .scott h1, .scott h2, .scott h3, .scott h4, .scott h5, .scott h6, .scott p, .scott pre, .scott blockquote {
  85
+  -webkit-margin-collapse: collapse;
75 86
   margin-top: 15px;
76 87
   margin-bottom: 15px;
77  
-  -webkit-margin-collapse: collapse;
78 88
 }
79 89
 .scott dl, .scott dt, .scott dd {
80 90
   margin-left: 0;
@@ -96,6 +106,7 @@ body.scott {
96 106
   background: #eeeeee;
97 107
   border: 1px solid rgba(150, 150, 150, 0.07);
98 108
   font-size: 11px;
  109
+  line-height: normal;
99 110
 }
100 111
 .scott code {
101 112
   display: inline-block;
@@ -108,7 +119,7 @@ body.scott {
108 119
   overflow: auto;
109 120
   padding: .6em .8em;
110 121
   position: relative;
111  
-  white-space: pre;
  122
+  white-space: pre-wrap;
112 123
   word-wrap: normal;
113 124
 }
114 125
 .scott pre code {

0 notes on commit 4695cfc

Please sign in to comment.
Something went wrong with that request. Please try again.