-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
278 lines (218 loc) · 5.25 KB
/
styles.css
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
/*
Custom CSS to extend bootstrap
LADAL
Author: Stephen Kennedy-Clark
Sept 2020
using https://marketing-communication.uq.edu.au/uq-brand-assets
UQ purple Header colour #51247A;
*/
blockquote {
font-style: italic
}
body {
background: #fff;
color: #2b2b2b;
cursor: auto;
font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
font-style: normal;
line-height: 24px;
border-radius: 6px
}
h1{
font-weight:400;
}
/* UQ purple Header colour */
.navbar {
background-color: #51247A;
color: #ccc;
}
/* because the header is now thicker we need to move the content down the page */
#header{
margin-top:+10em;
}
/* TOC is the floating lefthand menu. */
/* move down the page to accomodate the thicker header */
#TOC {
margin-top:+10em;
}
/* trying to justify text in the dropdown menu */
.list-group-item{
display: flex;
}
.header-section-number{
padding-right: 8px;
vertical-align: top;
}
.navbar-brand{ /* the text message */
height:100px!important;
font-weight: 400;
font-size:1.8em;
/*padding-top:0;*/
padding:0;
margin:0;
color: #f5f5f5 ;
background-color: #51247A;
}
.navbar-top{ /* the fluid container that holds the top half of the navbar*/
background-color: #51247A;
padding:0;
margin:0;
}
/* this is the LadaL image in the header */
.navbar-icon{
padding-top: 20px;
padding-left: 50px;
height: 90px;
display:block;
float: left;
/*top: -10px!important;*/
}
.navbar-title-text{
padding-top: +35px;
top: +30px;
}
/* the box containing the "Language Technology and Data Analysis Laboratory" text */
.navbar-title-note {
font-weight: 400;
font-size:1.1em; /* Looks a little better @ 1.2em but overlaps on itself at some page widths */
top: 33px;
position: relative;
left:10px;
line-height: 1;
color: #f2f2f2;
}
.title {
top: 200px;
}
#navbar {
top: -2px;
}
/* mouseover horozontal menu items*/
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
color: #ffffff;
background-color: #6f6f6f;
}
/* default colour for selected menu items*/
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #ffffff;
background-color: #6f6f6f;
}
/* colour for selected menu items*/
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
background-color: #6f6f6f;
color: #ffffff;
}
/* colour for hovering over menu items*/
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
background-color: #2780e3; /*#6f6f6f;*/
}
/* colour for hovering over menu items that are already active (selected) */
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
color: #ffffff;
text-decoration: none;
outline: 0;
background-color: #6f6f6f; /* 2780e3 */
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
text-decoration: none;
color: #ffffff;
background-color: #6f6f6f;
}
.dropdown-header {
color: #4f4f4f;
}
a:link {
color: #6f6f6f;
}
a:visited {
/* color: #51247a; */ /* not enough contrast to see at small sizes */
color: #652d99;
}
a:hover {
color: #656255;
}
/* vertical menu */
.list-group-item.active{
background-color:#A5A5A5;
}
/********* Getting rid of any other blue ***********/
.tocify .list-group-item.active:hover,
.tocify .list-group-item.active:focus {
background-color: #959595;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
background-color: #A5A5A5;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
background-color: #A5A5A5;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
background-color: #e6e6e6;
border-color: #A5A5A5;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
color: #ffffff;
background-color: #A5A5A5;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
background-color: #6B30A1;
}
/* changing the black highlight in thin pages
this should go last as the linting fails for some browsers and we dont want the css to fail*/
@media (max-width: 767px)
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus {
color: #ffffff;
background-color: #A5A5A5;
}
/* -----------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: #51247a;
left: -0.5px;
font-weight: bold;
}
.question ol ol {
counter-reset: subitem;
}