forked from cp-algorithms/cp-algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextra.css
More file actions
92 lines (79 loc) · 1.58 KB
/
extra.css
File metadata and controls
92 lines (79 loc) · 1.58 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
[data-md-color-scheme="cpalgo"] {
--md-primary-fg-color: #7777aa;
--md-primary-fg-color--light: #7777aa;
--md-primary-fg-color--dark: #333371;
}
[data-md-color-scheme="slate"] {
--md-hue: 210;
--md-typeset-a-color: #c973d9;
}
[data-md-color-scheme="slate"] img {
background-color: lightgray;
}
/* Move primary sidebar to the right */
.md-sidebar--primary {
order: 100;
}
/* For proper rendering of contribution meta */
.metadata{
list-style:none;
padding:0;
margin:0;
margin-bottom: 15px;
color: #999;
font-size:0.85em;
}
.metadata.page-metadata .contributors-text{
margin-right:5px
}
body[dir=rtl] .metadata.page-metadata .contributors-text{
margin-right:0;
margin-left:5px
}
.page-metadata .contributors{
display:inline-block;
list-style:none;
margin:0!important;
padding:0!important
}
.page-metadata .contributors li{
display:inline-block;
vertical-align:top;
margin:0;
padding:0
}
/* Visually hide latex code */
.mjx-copytext {
font-size: 0;
}
.arithmatex{
overflow-y: hidden !important;
}
/* Donation banner */
#donation-banner {
margin: 0.75rem 0.75rem 0;
}
.donation-banner {
display: flex;
background: #fff9c4;
border: 1px solid #f0e68c;
color: #2b2b2b;
padding: 0.5rem 0.5rem;
border-radius: 8px;
font-size: 0.75rem;
}
.donation-text { margin: 0; }
.donation-link {
color: revert;
text-decoration: underline;
}
.donation-close {
margin-left: auto;
font-size: 1rem;
cursor: pointer;
}
[data-md-color-scheme="slate"] .donation-banner {
background: #3b3200;
border-color: #665c1e;
color: #fff7b3;
}