diff app/assets/stylesheets/tabs.scss @ 152:c9dc1eeeea9a

Better-styled markdown tab.
author Edho Arief <edho@myconan.net>
date Mon, 26 Nov 2012 22:46:24 +0700
parents app/assets/stylesheets/tabs.css@bf214f66874d
children f0ffe17469a1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/assets/stylesheets/tabs.scss	Mon Nov 26 22:46:24 2012 +0700
@@ -0,0 +1,26 @@
+#markdown {
+  // copypasta from bootstrap's variables.scss
+  $baseFontSize_orig: 14px;
+  $baseLineHeight_orig: 20px;
+
+  // reduce for paste show
+  $baseFontSize: $baseFontSize_orig * 0.8;
+  $baseLineHeight: $baseLineHeight_orig * 0.8;
+
+  .well {
+  background-color: darken(white, 2%);
+  }
+
+  // copypasta from bootstrap's type.scss
+  h1,
+  h2,
+  h3 { line-height: $baseLineHeight * 2; }
+
+  // more copypasta from bootstrap's type.scss
+  h1 { font-size: $baseFontSize * 2.75; }
+  h2 { font-size: $baseFontSize * 2.25; }
+  h3 { font-size: $baseFontSize * 1.75; }
+  h4 { font-size: $baseFontSize * 1.25; }
+  h5 { font-size: $baseFontSize; }
+  h6 { font-size: $baseFontSize * 0.85; }
+}