File: sphinx_immaterial.css

package info (click to toggle)
sphinx-needs 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,924 kB
  • sloc: python: 21,132; javascript: 187; makefile: 89; sh: 29; xml: 10
file content (194 lines) | stat: -rw-r--r-- 4,071 bytes parent folder | download
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
/* Styling for the https://github.com/jbms/sphinx-immaterial theme */

/* doc config start */
body {
    --sn-color-need-bg: var(--md-default-bg-color);
    --sn-color-need-border: var(--md-typeset-table-color);
    --sn-color-need-row-border: var(--md-typeset-table-color);
    --sn-color-debug-btn-border: var(--md-typeset-color);
    --sn-color-datatable-label: var(--md-typeset-color);
    --sn-color-datatable-btn-border: var(--md-default-fg-color--light);
}
/* doc config end */

@import url('https://fonts.googleapis.com/css2?family=Recursive:wght@300;400&display=swap');

body,
input {
    font-family: 'Recursive', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5 !important;
}

div.need_container {
    overflow-x: auto;
}

.md-typeset table.data:not(.plain) {
    display: table !important;
    width: 100% !important;
}

.md-typeset,
.md-nav,
.md-typeset table:not([class]),
.md-typeset table.data:not(.plain) {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

table {
    border: 1px solid #e1e4e5 !important;
}

h1,
h2,
h3 {
    font-family: 'Recursive', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

h1:not([class="md-search-result__title"]) {
    font-size: 34px !important;
    margin-bottom: 20px !important;
}

h2 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
}

.md-typeset :is(.admonition, details) {
    font-size: 14px;
}

[data-md-color-scheme=default] {
    --img-filter: none;
}

[data-md-color-scheme=slate] {
    --img-filter: brightness(0) invert(1);
    --sn-architecture-bg: url(../architecture_bg-dark.png);
}

svg.sn-flow-chart path.arrow {
    fill: var(--md-typeset-color);
}

img.needs-logo-big {
    filter: var(--img-filter);
}

tbody tr td {
    font-size: medium !important;
}

div.dataTables_info {
    margin-top: 0 !important;
}

table tbody tr:hover {
    background-color: rgb(147 147 147 / 10%) !important;
    box-shadow: 0 .05rem 0 var(--md-default-bg-color) inset !important;
}

button.dt-button:hover:not(.disabled),
div.dt-button:hover:not(.disabled),
a.dt-button:hover:not(.disabled) {
    color: #000;
}

.dataTables_wrapper .dataTables_filter {
    float: left !important;
    margin-left: 1% !important;
}

@media screen and (max-width: 640px) {
    .dataTables_wrapper .dataTables_filter {
        float: none !important;
        text-align: center !important;
    }

}

.border {
    border: 1px solid var(--md-typeset-color);
}

img[alt="card-img-top"] {
    padding: 1em;
}

div.needs-report-table {
    overflow-x: auto !important;
}

table.needs_style_red a,
table.needs_style_yellow a,
table.needs_style_blue a,
table.needs_style_green a {
    color: #040472;
    text-decoration: underline;
}

/*Remove READTHEDOCS version badge*/
.injected {
    display: none !important;
}

table.class_red_border {
    border: 3px solid red;
}

div.dt-button-collection button.dt-button.active:not(.disabled) {
    color: #000 !important;
    border: 1px solid #000 !important;
}

.md-typeset pre {
    overflow-x: auto;
}

.md-header__button.md-logo :is(img, png) {
    height: 2.2rem !important;
}

/* Image width fix in need-sidebars. */
tbody div.needs_side img.needs_image {
    max-width: 100px;
}

/* Immaterial's dropdowns conflict with the ones from sphinx-design 
so we have to make changes, to remove its overrides
*/
body {
    --sd-fontsize-dropdown-title: 14px;
    --sd-fontweight-dropdown-title: 600;
}
.md-typeset summary.sd-summary-title::after {
    display: none;
}
.md-typeset summary.sd-summary-title::before {
    display: none;
}
.md-typeset details.sd-dropdown {
    padding-right: 0;
}
.md-typeset summary.sd-summary-title {
    width: 100%;
    padding-right: 0.6em !important;  /* note, this line can be removed in sphinx-design v0.6.1 */
}

.needs-example {
    border: .05rem solid rgb(72,138,87);
    padding-left: .5rem;
    padding-right: .5rem;
    padding-bottom: .5rem;
}