forked from altmp/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
148 lines (117 loc) · 2.8 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
@import url('https://rsms.me/inter/inter-ui.css');
body {
font-family: 'Inter UI', sans-serif;
background: #222;
}
*::-webkit-scrollbar {
width: 4px;
}
*::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 4px;
}
*:hover::-webkit-scrollbar-thumb {
background: #555;
}
body:not([data-platform^="Mac"]) .sidebar:hover>*:not(.sidebar-nav) {
margin-right: 0;
}
.app-nav>ul>li>a, .app-nav>ul>li>span {
color: #b4b4b4;
}
.app-nav>ul>li>a:hover, .app-nav>ul>li>span:hover {
color: #eee;
}
.app-nav>ul>li>a.active, .app-nav>ul>li>span.active {
color: #84ad73;
text-shadow: 0px 0px 20px rgba(143, 194, 112, .7);
}
.sidebar {
background: #272727;
border: none;
}
.sidebar-toggle .sidebar-toggle-button {
background: #333333;
color: #eee;
}
.sidebar>h1 img {
max-width: 50%;
margin: 30px;
}
.sidebar-nav li > a[href^="#/"]:not([href*="?id="]):only-child,
.sidebar-nav li>a[href^="#/"]:not([href*="?id="]):not(:only-child),
.sidebar-nav li.active>a[href^="#/"]:not([href*="?id="]):not(:only-child) {
background: none;
padding: 6px;
}
.sidebar-nav li.active>a, .sidebar-nav li.collapse>a {
color: #eee;
font-weight: 500;
}
.sidebar .search .input-wrap {
border: none;
background: none;
}
.sidebar .search input[type="search"] {
padding: 25px;
padding-left: 60px;
font-family: 'Inter UI', sans-serif;
background-color: #222;
}
.sidebar .search input[type="search"]:focus {
background-color: #222;
}
.sidebar .search .clear-button {
display: none !important;
}
.app-nav:not(:empty) ~ main .markdown-section {
padding-top: 5.5rem;
}
.markdown-section {
max-width: 95%;
}
.markdown-section h1 {
font-weight: 700;
color: #6b9c56;
}
.markdown-section blockquote {
background: #272727;
}
.markdown-section pre[data-lang] code {
background: #272727;
border: 1px solid rgba(255,255,255,.05);
}
.markdown-section table {
display: table;
width: 100%;
}
.markdown-section tbody {
border: 1px solid rgba(255,255,255,.1);
width: 100%;
}
.markdown-section tbody tr:nth-child(2n+1) {
background: rgba(255,255,255,.03);
}
.markdown-section td {
border: none;
border-top: 1px solid rgba(255,255,255,.1);
white-space: nowrap;
}
.markdown-section code:not([class*="lang-"]):not([class*="language-"]) {
background-color: #3c3c3c
}
.docsify-copy-code-button, body .docsify-copy-code-button::after {
font-family: 'Inter UI', sans-serif;
}
.docsify-copy-code-button.success:after {
background: rgba(255,255,255,.1);
}
.medium-zoom-overlay {
background: rgba(34, 34, 34, 0.95) !important;
}
.colors_preview {
width: 100%;
height: 95%;
display: inline-block;
border: 1px solid rgba(255,255,255,.2)
}