-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcustom.css
More file actions
123 lines (105 loc) · 3.37 KB
/
Copy pathcustom.css
File metadata and controls
123 lines (105 loc) · 3.37 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
/* Lexbor Custom Styles - Simplified */
/* Base Layout */
body {
background: var(--color-background-primary);
padding-top: 43px !important;
}
/* Header styles */
.head {
font-family: 'Open Sans', arial, sans-serif !important;
font-size: 14px !important;
line-height: 1.2 !important;
}
.head a {
font-family: 'Open Sans', arial, sans-serif !important;
font-size: 14px !important;
}
.head a:hover {
border-bottom: 1px solid #fff !important;
}
.head-left a:hover {
border-bottom: 1px solid #afb8be !important;
}
/* Sidebar */
.furo-sidebar a {
pointer-events: auto;
cursor: pointer;
}
/* Highlight active sidebar item with brand color */
.sidebar-tree .current > .reference {
color: var(--color-brand-primary) !important;
font-weight: 600;
}
/* Search box — dark theme */
body[data-theme="dark"] .furo-search-box input,
body[data-theme="auto"] .furo-search-box input {
color: #ffffff !important;
background-color: #2d2d2d !important;
}
body[data-theme="dark"] .furo-search-box input::placeholder,
body[data-theme="auto"] .furo-search-box input::placeholder {
color: #999999 !important;
}
@media (prefers-color-scheme: light) {
body[data-theme="auto"] .furo-search-box input {
color: inherit !important;
background-color: inherit !important;
}
}
/* Main content area */
.furo-main-content {
font-size: 16px;
line-height: 1.6;
}
.furo-main-content p {
font-size: 16px;
}
/* Code highlighting - from main site */
.highlight .defftype { color: rgb(182, 240, 147); }
.highlight .deffname { color: inherit; }
.highlight .deftype { color: rgb(182, 240, 147); }
.highlight .ffname { color: rgb(182, 240, 147); }
.highlight .var { color: inherit; }
.highlight .text { color: rgb(254, 126, 111); }
.highlight .number { color: rgb(161, 160, 245); }
.highlight .type { color: rgb(115, 202, 195); }
.highlight .std-type { color: rgb(253, 123, 177); }
.highlight .std { color: rgb(253, 123, 177); }
.highlight .std-bn { color: rgb(253, 123, 177); }
.highlight .std-macros { color: rgb(252, 159, 83); }
.highlight .comment { color: rgb(127, 140, 147); }
.highlight .mpath { color: rgb(182, 240, 147); }
/* Additional Pygments classes */
.highlight .c { color: rgb(127, 140, 147); } /* comment */
.highlight .k { color: rgb(253, 123, 177); } /* keyword */
.highlight .s { color: rgb(254, 126, 111); } /* string */
.highlight .m { color: rgb(161, 160, 245); } /* number */
.highlight .kt { color: rgb(115, 202, 195); } /* type */
.highlight .nc { color: rgb(182, 240, 147); } /* class name */
.highlight .nf { color: rgb(182, 240, 147); } /* function name */
.highlight .n { color: inherit; } /* name */
.highlight .o { color: inherit; } /* operator */
.highlight .p { color: inherit; } /* punctuation */
/* Fix #8: copy button from sphinx_copybutton */
button.copybtn {
background: transparent !important;
border: 1px solid rgba(255, 255, 255, 0.25) !important;
border-radius: 3px !important;
opacity: 0 !important;
transition: opacity 0.15s ease, background 0.15s ease !important;
}
.highlight:hover button.copybtn,
button.copybtn:focus {
opacity: 1 !important;
}
button.copybtn:hover {
background: var(--color-brand-primary) !important;
border-color: var(--color-brand-primary) !important;
}
/* Responsive */
@media (max-width: 768px) {
.content {
width: 100%;
padding: 0 15px 50px;
}
}