-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.css
More file actions
196 lines (165 loc) · 3.69 KB
/
index.css
File metadata and controls
196 lines (165 loc) · 3.69 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
html, body {
/* The html and body elements cannot have any padding or margin. */
height: 100%;
}
/*==================================================*/
/* style for the header */
/* Wrapper for page content to push down footer */
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by its height */
margin: 0 auto -3.75em;
/* Pad bottom by footer height */
padding: 0 0 3.75em;
}
#wrap > .container {
padding: 2em 0.9375em;
}
/*==================================================*/
/* style for images */
.image-center {
padding: 0em 1.25em;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1.40625em;
}
#overview {
width: 60%;
}
/*==================================================*/
/* style for the main body */
.content {
/* corresponds to 18px */
font-size: 1.125em;
/* 1.25 line space */
line-height: 1.40625em;
}
.content p {
/* space after paragraphs */
margin-top: 1.40625em;
}
/*.content ul, .content ol {*/
/* space after paragraphs */
/*margin-bottom: 1.40625em;*/
/*}*/
.content .jumbotron {
/* corresponds to 22px */
font-size: 1.375em;
}
.content .jumbotron p {
/* 1.25 line space */
line-height: 1.375em;
/* space after paragraphs */
margin-top: 1.375em;
}
/*.content .jumbotron ul {*/
/*margin-bottom: 1.375em;*/
/*}*/
.content .jumbotron li {
/* single line space */
line-height: 1.375em;
}
.content .descriptive {
/* corresponds to 18px */
font-size: 1.125em;
}
.content .descriptive .cite {
font-size: 0.85em;
line-height: 1.125em;
padding-top: 0.875em;
}
.content .bullet {
margin-bottom: 0.5em;
}
.content .panel {
margin-top: 1.25em;
}
/* MW: this seems like a b.s. hack */
/* The bummer is the bullets are not aligned by the position of bullets but the
* position of the text after the bullets. And the distance between the bullets
* and the text after them cannot be easily controlled in a non-hacky way.*/
/*
* the following number is a pretty accurate eyeballing... Srinath and I checked with ruler.
*/
.panel-body ul {
padding-left: 1.25em;
margin-bottom: 0em;
}
/*
* MW: the sub-bullet style should apply everywhere, not only to things
* marked 'panel body'. or else, everything should be marked 'panel
* body'. But the way it is now is inconsistent and hacky.
*/
ul ul, ol ul {
list-style-type: square;
}
.text-emphasis {
font-style: italic;
}
/*==================================================*/
/* space after heading */
h2 {
margin-bottom: 1em;
}
h3 {
margin-bottom: 1em;
}
/*==================================================*/
/* side bar style */
#nav-tab {
width: 15em;
padding-top: 1.875em;
}
#nav-tab ul {
padding-left: 1.875em;
}
#nav-tab ul li {
padding: 0.25em;
list-style-type: none;
}
#nav-tab li.active {
font-weight: bold;
}
#nav-tab #about-collapse a.tab-toggle:hover {
text-decoration: none;
}
#nav-tab #about-collapse li:hover {
background-color: #eeeeee;
}
#nav-tab #about-collapse li a {
position: relative;
display: block;
}
/*==================================================*/
/* disable the animation of the collapse */
.collapsing {
-webkit-transition: none;
transition: none;
}
.up-caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-bottom: 4px solid;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 0 dotted;
content: "";
}
.down-caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px solid;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 0 dotted;
content: "";
}