forked from UCL-ARC/python-tooling
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.scss
More file actions
68 lines (58 loc) · 1.05 KB
/
custom.scss
File metadata and controls
68 lines (58 loc) · 1.05 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
html,
body {
height: 100%;
margin: 0;
}
div.site-header {
max-height: 15em;
height: 15em;
}
div.site-logo {
background-position: center center;
}
.main {
display: flex;
flex-direction: column;
min-height: 100%;
}
.main-content-wrap {
flex: 1;
}
.site-footer {
position: static;
width: 100%;
color: $body-text-color;
}
//Dark mode link styles
html[data-theme="dark"] {
.main-header a,
.main-header button,
.side-bar a {
color: $link-color-dark;
}
main a,
footer a {
color: $link-color-dark;
text-decoration: underline;
text-decoration-color: $link-color-dark;
text-decoration-thickness: 1px;
transition:
text-decoration-thickness 0.2s ease-in-out,
text-underline-offset 0.2s ease-in-out;
}
main a:hover,
footer a:hover {
text-decoration-color: $link-color-dark;
text-decoration-thickness: 2px;
text-underline-offset: 3px;
}
}
//Label colors
main {
.label-green {
background-color: $label-success-bg;
}
.label-red {
background-color: $label-error-bg;
}
}