clean up
authorMark Otto <markdotto@gmail.com>
Sun, 19 Apr 2015 06:17:03 +0000 (23:17 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 19 Apr 2015 06:17:03 +0000 (23:17 -0700)
_sass/_base.scss
_sass/_code.scss
_sass/_type.scss

index df8b5d0173486a38563e2fc30a6f9c9880f9ac53..d91b6bdb20ffdc1ef2fc535302ca439febb43006 100644 (file)
@@ -47,7 +47,6 @@ a {
   }
 }
 
-// Images
 img {
   display: block;
   max-width: 100%;
@@ -55,18 +54,19 @@ img {
   border-radius: 5px;
 }
 
-// Tables
 table {
   margin-bottom: 1rem;
   width: 100%;
   border: 1px solid #e5e5e5;
   border-collapse: collapse;
 }
+
 td,
 th {
   padding: .25rem .5rem;
   border: 1px solid #e5e5e5;
 }
+
 tbody tr:nth-child(odd) td,
 tbody tr:nth-child(odd) th {
   background-color: #f9f9f9;
index 328ea755d6c453f0927d057203b802f91ca83698..b4f57345f809295c8f53b72f40b636799e4fa6e8 100644 (file)
@@ -44,23 +44,23 @@ pre code {
 }
 
 // Gist via GitHub Pages
-.gist .gist-file {
-  font-family: Menlo, Monaco, "Courier New", monospace !important;
-}
-.gist .markdown-body {
-  padding: 15px;
-}
-.gist pre {
-  padding: 0;
-  background-color: transparent;
-}
-.gist .gist-file .gist-data {
-  font-size: .8rem !important;
-  line-height: 1.4;
-}
-.gist code {
-  padding: 0;
-  color: inherit;
-  background-color: transparent;
-  border-radius: 0;
-}
+// .gist .gist-file {
+//   font-family: Menlo, Monaco, "Courier New", monospace !important;
+// }
+// .gist .markdown-body {
+//   padding: 15px;
+// }
+// .gist pre {
+//   padding: 0;
+//   background-color: transparent;
+// }
+// .gist .gist-file .gist-data {
+//   font-size: .8rem !important;
+//   line-height: 1.4;
+// }
+// .gist code {
+//   padding: 0;
+//   color: inherit;
+//   background-color: transparent;
+//   border-radius: 0;
+// }
index 90699f0e11f501748e76647b0907332457a5e580..064846d9c03ffcefd934e5ba77bf2d025da2151f 100644 (file)
@@ -2,7 +2,6 @@
 //
 // Headings, body text, lists, and other misc typographic elements.
 
-// Headings
 h1, h2, h3, h4, h5, h6 {
   margin-bottom: .5rem;
   font-weight: bold;
@@ -10,23 +9,26 @@ h1, h2, h3, h4, h5, h6 {
   color: #313131;
   text-rendering: optimizeLegibility;
 }
+
 h1 {
   font-size: 2rem;
 }
+
 h2 {
   margin-top: 1rem;
   font-size: 1.5rem;
 }
+
 h3 {
   margin-top: 1.5rem;
   font-size: 1.25rem;
 }
+
 h4, h5, h6 {
   margin-top: 1rem;
   font-size: 1rem;
 }
 
-// Body text
 p {
   margin-top: 0;
   margin-bottom: 1rem;
@@ -36,7 +38,6 @@ strong {
   color: #303030;
 }
 
-// Lists
 ul, ol, dl {
   margin-top: 0;
   margin-bottom: 1rem;
@@ -45,11 +46,11 @@ ul, ol, dl {
 dt {
   font-weight: bold;
 }
+
 dd {
   margin-bottom: .5rem;
 }
 
-// Misc
 hr {
   position: relative;
   margin: 1.5rem 0;
@@ -63,29 +64,29 @@ abbr {
   font-weight: bold;
   color: #555;
   text-transform: uppercase;
-}
-abbr[title] {
-  cursor: help;
-  border-bottom: 1px dotted #e5e5e5;
+
+  &[title] {
+    cursor: help;
+    border-bottom: 1px dotted #e5e5e5;
+  }
 }
 
-/* Quotes */
 blockquote {
   padding: .5rem 1rem;
   margin: .8rem 0;
   color: #7a7a7a;
   border-left: .25rem solid #e5e5e5;
 
+  p:last-child {
+    margin-bottom: 0;
+  }
+
   @media (min-width: 30em) {
     padding-right: 5rem;
     padding-left: 1.25rem;
   }
 }
 
-blockquote p:last-child {
-  margin-bottom: 0;
-}
-
 
 // Custom type
 //