Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/src/doc/common/static/custom-furo.css
4111 views
1
span.sidebar-brand-text {
2
font-size: small;
3
text-align: center;
4
}
5
6
div.highlight {
7
background: #F4F4F4;
8
}
9
10
body[data-theme="dark"] div.highlight {
11
background: #383838;
12
}
13
14
/* Copied the style for a.pdf from website/templates/index_furo.html */
15
16
a.pdf {
17
margin-right: 0.5em;
18
}
19
20
a.pdf:hover {
21
text-decoration: none;
22
}
23
24
/* Style for announcement banner */
25
26
.announcement {
27
background: orange;
28
}
29
30
.announcement-content {
31
color: black;
32
}
33
34
.announcement-content a {
35
color: white;
36
text-decoration: none;
37
}
38
39
/* Style for the floating versions menu */
40
41
.sidebar-drawer {
42
z-index: 100;
43
}
44
45
.select-wrapper {
46
display: block;
47
text-align: center;
48
}
49
50
#versions-menu {
51
display: inline-block;
52
font-size: small;
53
opacity: 1;
54
border: none;
55
background-color: transparent;
56
color: var(--color-sidebar-link-text--top-level);;
57
}
58
59
#versions-menu:focus {
60
outline: none;
61
}
62
63
body[data-theme="dark"] {
64
#versions-menu {
65
background-color: transparent;
66
}
67
}
68
69
@media (prefers-color-scheme: dark) {
70
body[data-theme="auto"] { /* the same styles with body[data-theme="dark"] */
71
#versions-menu {
72
background-color: transparent;
73
}
74
}
75
}
76
77
78