annotate app/assets/stylesheets/tabs.scss @ 187:f0ffe17469a1

Set margin for markdown tab content to 0.
author Edho Arief <edho@myconan.net>
date Sat, 23 Feb 2013 13:24:40 +0900
parents c9dc1eeeea9a
children 45ec309a3fa8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
152
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
1 #markdown {
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 {
c9dc1eeeea9a Better-styled markdown tab.
Edho Arief <edho@myconan.net>
parents: 126
diff changeset
11 background-color: darken(white, 2%);
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 }