Repository navigation
Expand file tree
/
Copy pathstyles.module.css
More file actions
75 lines (67 loc) · 1.89 KB
/
Copy pathstyles.module.css
File metadata and controls
75 lines (67 loc) · 1.89 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
/* ==========================================================================
Reuses the site's existing purple accent (see .alert--explore in
custom.css) so "debug" blocks read as their own category, distinct
from the blue InteractivePython header.
========================================================================== */
.wrapper {
margin: 1.5rem 0;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
padding: 10px 16px;
background-color: rgba(124, 58, 237, 0.08);
border: 1px solid rgba(124, 58, 237, 0.35);
border-bottom: none;
border-radius: var(--ifm-global-radius) var(--ifm-global-radius) 0 0;
}
[data-theme='dark'] .header {
background-color: rgba(168, 85, 247, 0.15);
border-color: rgba(216, 180, 254, 0.3);
}
.headerText {
font-family: var(--ifm-font-family-base, sans-serif);
font-weight: 600;
font-size: 0.85rem;
letter-spacing: 0.05rem;
text-transform: uppercase;
color: #7c3aed;
}
[data-theme='dark'] .headerText {
color: #e9d5ff;
}
.openButton {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: 6px;
background-color: #7c3aed;
color: #ffffff !important; /* override Docusaurus's default link color */
font-family: var(--ifm-font-family-base, sans-serif);
font-weight: 600;
font-size: 0.85rem;
text-decoration: none !important;
white-space: nowrap;
transition: background-color 0.15s ease;
}
.openButton:hover {
background-color: #6d28d9;
color: #ffffff !important;
}
/* Butt the code block directly against the header — no gap, no double border */
.wrapper :global(.theme-code-block) {
margin-top: 0 !important;
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
border-top: none !important;
}
@media (max-width: 480px) {
.header {
justify-content: center;
text-align: center;
}
}