forked from facebook/create-react-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
75 lines (62 loc) · 1.49 KB
/
custom.css
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
:root {
--ifm-color-primary: #09d3ac;
--ifm-color-primary-dark: rgb(8, 190, 155);
--ifm-color-primary-darker: rgb(8, 179, 146);
--ifm-color-primary-darkest: rgb(6, 148, 120);
--ifm-color-primary-light: rgb(46, 218, 184);
--ifm-color-primary-lighter: rgb(83, 224, 197);
--ifm-color-primary-lightest: rgb(132, 233, 214);
}
@media screen and (max-width: 996px) {
:root {
--ifm-font-size-base: 15px;
}
}
@media screen and (min-width: 997px) {
:root {
--ifm-font-size-base: 17px;
}
}
.docusaurus-highlight-code-line {
background-color: rgb(72, 77, 91);
display: block;
margin: 0 calc(-1 * var(--ifm-pre-padding));
padding: 0 var(--ifm-pre-padding);
}
.navbar .navbar__brand > strong {
flex-shrink: 0;
max-width: 100%;
}
/* Announcement banner */
:root {
--docusaurus-announcement-bar-height: auto !important;
}
div[class^="announcementBar"][role="banner"] {
border-bottom-color: var(--deepdark);
}
div[class^="announcementBarContent"] {
line-height: 40px;
font-size: 20px;
font-weight: bold;
padding: 8px 30px;
}
div[class^="announcementBarContent"] a {
text-decoration: underline;
display: inline-block;
color: var(--ifm-color-primary) !important;
}
div[class^="announcementBarContent"] a:hover {
color: var(--brand) !important;
}
@media only screen and (max-width: 768px) {
.announcement {
font-size: 18px;
}
}
@media only screen and (max-width: 500px) {
.announcement {
font-size: 15px;
line-height: 22px;
padding: 6px 30px;
}
}