# HG changeset patch # User Edho Arief # Date 1353944784 -25200 # Node ID c9dc1eeeea9aae4070d8a80e8fc49130d168d89a # Parent db5164ff73a93fe7d8f8d66649c1986b8725cd51 Better-styled markdown tab. diff -r db5164ff73a9 -r c9dc1eeeea9a app/assets/stylesheets/tabs.css --- a/app/assets/stylesheets/tabs.css Mon Nov 26 21:53:12 2012 +0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -#markdown .well { - background-color: white; -} diff -r db5164ff73a9 -r c9dc1eeeea9a app/assets/stylesheets/tabs.scss --- /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; } +}