annotate app/assets/stylesheets/tabs.scss @ 222:9bc35555d3e3

Use external jquery instead of rails' builtin Saves bandwidth and (hopefully) improves speed.
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 12:38:03 +0900
parents 22c4b5f90e24
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
214
22c4b5f90e24 Massive javascript and html refactor. Also, ie9
Edho Arief <edho@myconan.net>
parents: 188
diff changeset
1 #md {
152
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
2 // copypasta from bootstrap's variables.scss
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
3 $baseFontSize_orig: 14px;
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
4 $baseLineHeight_orig: 20px;
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
5
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
6 // reduce for paste show
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
7 $baseFontSize: $baseFontSize_orig * 0.8;
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
8 $baseLineHeight: $baseLineHeight_orig * 0.8;
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
9
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
10 .well {
188
45ec309a3fa8 Fix indentation.
Edho Arief <edho@myconan.net>
parents: 187
diff changeset
11 background-color: darken(white, 2%);
152
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
12 }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
13
187
f0ffe17469a1 Set margin for markdown tab content to 0.
Edho Arief <edho@myconan.net>
parents: 152
diff changeset
14 p {
f0ffe17469a1 Set margin for markdown tab content to 0.
Edho Arief <edho@myconan.net>
parents: 152
diff changeset
15 margin: 0;
f0ffe17469a1 Set margin for markdown tab content to 0.
Edho Arief <edho@myconan.net>
parents: 152
diff changeset
16 }
f0ffe17469a1 Set margin for markdown tab content to 0.
Edho Arief <edho@myconan.net>
parents: 152
diff changeset
17
152
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
18 // copypasta from bootstrap's type.scss
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
19 h1,
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
20 h2,
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
21 h3 { line-height: $baseLineHeight * 2; }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
22
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
23 // more copypasta from bootstrap's type.scss
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
24 h1 { font-size: $baseFontSize * 2.75; }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
25 h2 { font-size: $baseFontSize * 2.25; }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
26 h3 { font-size: $baseFontSize * 1.75; }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
27 h4 { font-size: $baseFontSize * 1.25; }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
28 h5 { font-size: $baseFontSize; }
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
29 h6 { font-size: $baseFontSize * 0.85; }
119
52fa2536a102 Set bg color for markdown to white.
Edho Arief <edho@myconan.net>
parents: 117
diff changeset
30 }