This repository has been archived by the owner on Oct 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.css
98 lines (84 loc) · 2.03 KB
/
main.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
body {
--main: rgb(233, 59, 56);
--main-dark: rgb(158, 35, 33);
--grey: rgb(192, 192, 192);
--code-string-blue: #183691;
font-family: Roboto, sans-serif;
}
h1, h2, h3, h4, h5, h6, th {
font-family: Lato;
}
button {
font-family: Lato;
background: white;
border-color: var(--grey);
border-radius: 2px;
border-width: 1px;
border-style: solid;
box-shadow: 0px 0px 4px -1px var(--grey);
padding: 4px 8px;
transition: cubic-bezier(0.215, 0.610, 0.355, 1) all 300ms;
}
button:active {
background: var(--grey);
}
/* anchors in markdown */
.markdown-body a,
.markdown-body .markdown-heading:focus {
color: var(--main);
}
/* highlight string */
.token.string {
color: var(--code-string-blue);
}
/* navbar */
.nav-list .nav-item >a.router-link-active, .nav-list .nav-item >div.router-link-active {
color: var(--main);
border-bottom-color: var(--main);
}
.nav-list .nav-item-dropdown .dropdown-list .dropdown-item .router-link:hover, .nav-list .nav-item-dropdown .dropdown-list .dropdown-item .router-link-active {
color: var(--main);
}
/* headings in markdown */
.sidebar-headings .sidebar-heading .sidebar-heading-anchor.active, .sidebar-headings .sidebar-heading .sidebar-heading-anchor:hover {
color: var(--main);
}
/* nprogress */
#nprogress .bar {
background: var(--main);
}
#nprogress .spinner-icon {
border-top-color: var(--main);
border-left-color: var(--main);
}
/* search icon */
.search-form .svg-icon.do-search:hover {
color: var(--main);
}
/* color for anchors */
.link:hover {
color: var(--main);
}
a.big::before {
content: "➔";
background: var(--main-dark);
border-radius: 4px 0 0 4px;
display: inline-block;
padding: 0.3em 0.5em;
margin: 0 0.5em 0 0;
color: white;
font-size: 16pt;
text-align: center;
}
a.big.download {
content:
}
a.big {
background: var(--main);
border-radius: 4px;
display: inline-block;
padding: 0 0.5em 0 0;
color: white;
font-size: 16pt;
text-align: center;
}