This repository has been archived by the owner on Oct 20, 2020. It is now read-only.
/
style.sass
144 lines (127 loc) · 2.5 KB
/
style.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
@import bootstrap
@import screen
@import print
@import toc
$sidebarWidth: 230px
$phonePadding: 8px
+screen(phone)
body
font-size: 14px
padding: $phonePadding
.container
width: auto
.row
margin-left: 0
.row > [class*="span"], .row-fluid > [class*="span"]
float: none
display: block
width: auto
margin: 0
.page-header
margin-top: 0
.hero-unit
padding: $phonePadding
margin-bottom: $phonePadding
h1
font-size: 38px
p
font-size: 16px
line-height: 1.6
+screen(tablet)
+grid-core-generate(42px, 20px)
#home
+screen(nonphone)
padding-top: 2em
h1
margin-bottom: .8em
h1 em
font-style: normal
text-transform: uppercase
color: $pink
text-shadow: rgba($pink, .7) 0 0 5px
.initialism
font-weight: bold
border-bottom-color: $grayLight
+screen(nonphone)
footer
padding-top: .5em
.label
cursor: default
#search
h2
font-size: 16px
line-height: 1.1
margin-bottom: .2em
li
.label
vertical-align: baseline
p
margin-top: .2em
+ li
margin-top: .5em
#featured ul
font-size: 120%
line-height: 1.6
margin-top: .6em
margin-bottom: 2em
li + li
margin-top: 6px
figure, div.figure
page-break-inside: avoid
q::before
content: "\201C"
q::after
content: "\201D"
ul.empty
list-style: none
ol.alpha
list-style: upper-latin
ol.letters
list-style: upper-roman
article
padding: $gridGutterWidth 0
position: relative
+screen(nonphone)
max-width: 50em
padding-left: $sidebarWidth + $gridGutterWidth
div.note
@extend .well
aside
+screen(phone)
display: none
+screen(nonphone)
display: block
width: $sidebarWidth
padding: $gridGutterWidth ($gridGutterWidth / 2)
border-right: 1px solid silver
position: fixed
top: 0
left: 0
bottom: 0
-webkit-box-sizing: border-box
-moz-box-sizing: border-box
box-sizing: border-box
overflow-y: auto
overflow-x: hidden
-webkit-overflow-scrolling: touch
> ol > li
font-weight: bold
ol
margin: 0
padding: 0
list-style: none
li
margin: 0
padding: 0
ol
list-style: square
margin-left: $baseLineHeight
margin-bottom: $baseLineHeight / 2
li
color: $grayLight
padding-top: $baseFontSize / 3
line-height: $baseFontSize
a
color: $grayDark
&:hover
color: $grayDarker