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
106 lines (89 loc) · 1.61 KB
/
custom.scss
File metadata and controls
106 lines (89 loc) · 1.61 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
:root {
--outline-color: #{$outline-color-light};
}
[data-theme="dark"] {
--outline-color: #{$outline-color-dark};
}
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;
}
}
// Outline styles
.search:focus-within,
.btn:focus,
.btn:active,
.btn:focus:hover,
a:focus-visible,
summary:focus-visible {
outline: none;
box-shadow: 0 0 0 3px var(--outline-color);
border-radius: 2px;
transition: box-shadow 0.2s ease;
}
.aux-nav .aux-nav-list-item {
padding: 5px;
}
.nav-list-item {
padding-left: 1px;
padding-right: 1px;
}
.js-toggle-dark-mode {
height: 100%;
}
.js-toggle-dark-mode-wrapper {
padding: 5px;
}