-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathextra.css
More file actions
62 lines (54 loc) · 1.6 KB
/
extra.css
File metadata and controls
62 lines (54 loc) · 1.6 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
@media print {
/* Adjusts positioning of admonition icon */
.md-typeset :is(.admonition-title,summary):before {
top: 0.6rem;
left: 0.6rem;
}
}
.md-sidebar__inner {
font-size: 0.65rem; /* Font size */
line-height: 1.6;
}
/* Banner container */
.edit-contrib-banner {
display: flex;
justify-content: center; /* center horizontally */
padding: 0.7rem 0; /* top and bottom spacing of the banner */
background-color: transparent;
}
/* Inner content stacked vertically */
.edit-contrib-banner .banner-content {
display: flex;
flex-direction: column; /* stack vertically */
align-items: center; /* center horizontally */
gap: 0.3rem; /* small vertical gap between elements */
}
/* Edit link styling */
.edit-contrib-banner .edit-page-link {
white-space: nowrap;
display: inline-flex;
align-items: center;
gap: 0.5em;
font-size: 1.2rem;
font-weight: normal;
color: var(--md-typeset-a-color);
}
/* Icon inside edit link */
.edit-contrib-banner .edit-page-icon svg {
width: 1.4em;
height: 1.4em;
fill: currentColor;
vertical-align: middle;
}
/* Divider line with small spacing */
.edit-contrib-banner .banner-divider {
width: 40%; /* width of the line */
border-top: 1px solid var(--md-typeset-a-color);
opacity: 0.3; /* subtle line */
margin: 0.2rem 0; /* smaller space above and below the line */
}
/* Contributing Guide smaller and below */
.edit-contrib-banner .contrib-link {
font-size: 0.6rem !important; /* smaller font */
color: var(--md-typeset-a-color);
}