This repository has been archived by the owner on Oct 20, 2020. It is now read-only.
/
style.sass
91 lines (80 loc) · 1.67 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
@import "bootstrap"
@import "screen"
@import "print"
@import "toc"
$sidebarWidth: 230px
#home
padding-top: 2em
h1
margin-bottom: 1em
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
#search
h2
font-size: 16px
line-height: 1.1
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