-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
174 lines (132 loc) · 3.47 KB
/
Copy pathstyle.css
File metadata and controls
174 lines (132 loc) · 3.47 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
@import url('https://fonts.googleapis.com/css?family=Muli:400,400i,700&display=swap');
/*------------- Whole Document---------------- */
body {
font-family: 'Muli';
font-size: 19px;
}
/*----------------- links ---------------------*/
a {
color: #4e89bf;
}
a:hover {
color: #396892; /* darker color when hovering */
}
/* --------LOGO, three options-------------*/
/*1: For logo immediately above TOC, use style rule below, otherwise comment out*/
#TOC::before {
content: "";
display: block;
height: 200px;
margin: 2.75em 20px 40px 20px;
background-image: url("logo-black.png");
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
}
/* 2: For logo above title in upper righthand corner, inline with Title and Author, use style rule below. Otherwise comment out*/
/*
#header.fluid-row::before {
content: "";
height: 150px;
width: 150px;
float: right;
background-image: url("logo-black.png");
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
}*/
/* option 3 for a logo -- above title and author, when also used with logo.HTML before_body. use style rule below. otherwise comment out*/
/*
.upper-right-logo {
margin-top: 20px;
background-image: url("logo-black.png");
height: 150px;
background-size: contain;
background-position: right;
background-repeat: no-repeat;
}*/
/*----------------ADDING WHITE SPACE-------------*/
.title {
margin-top: 2.75em !important;
margin-bottom: 0.75em;
}
.section h1 {
margin-top: 2.5em !important;
margin-bottom: 0.75em;
}
.section h2,
.section h3,
.section h4,
.section h5 {
padding-top: 1.5em !important;
margin-bottom: 0.75em;
}
/* Space Between TOC and Righthand side content on large screens */
@media (min-width: 992px) {
.col-md-9 {
width: 75%;
padding-left: 5em !important;
}
}
/*------------Table of Contents (TOC)----------- */
.tocify {
border: none; /*Removes border */
border-radius: 0px; /* Gets rid of rounded corners on TOC */
font-size: 16px;
}
.tocify ul, .tocify li { /* Increases spacing between TOC headers*/
line-height: 25px !important;
}
.tocify ul {
border-right: solid 1px #eee; /* Thin right border on TOC list */
}
/* Active TOC links*/
.list-group-item.active,
.list-group-item.active:hover{
color: #787878;
background-color: #ffffff;
border-color: #ccc;
}
/* Hovered TOC links*/
.list-group-item:hover {
color: #787878;
background-color: #ffffff;
border: none;
}
/* -----------Question counter ---------*/
body {
counter-reset: li;
}
.question ol {
/* Remove the default left padding */
padding-left: 0;
}
.question ol>li {
/* Create a positioning context */
position: relative;
/* Disable the normal item numbering */
list-style: none;
width: 90%;
padding-top: 10px;
padding-bottom: 10px;
padding-right: 0;
padding-left: 120px;
}
.question ol>li:before,
.question ol>p>li:before{
/* Use the counter as content */
content: "Question " counter(li) ": ";
/* Increment the counter by 1 */
counter-increment: li;
position: absolute;
color: #5ebccf;
left: -0.5px;
font-weight: bold;
}
.question ol ol {
counter-reset: subitem;
}
/* Remove excessive white space at the end of page */
.tocify-extend-page {
height: 100px !important;
}