forked from Ikalus1988/MisakaNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
151 lines (124 loc) 路 2.69 KB
/
Copy pathcustom.css
File metadata and controls
151 lines (124 loc) 路 2.69 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
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
149
150
151
/* Custom styles for MisakaNet documentation */
/* MisakaNet brand colors */
:root {
--md-primary-fg-color: #7c3aed;
--md-primary-fg-color--light: #a78bfa;
--md-primary-fg-color--dark: #5b21b6;
--md-accent-fg-color: #8b5cf6;
}
/* Improve code blocks */
.md-typeset pre > code {
font-size: 0.85em;
}
/* Better admonition styling */
.md-typeset .admonition,
.md-typeset details {
border-radius: 0.5rem;
}
/* Custom admonition types */
.md-typeset .admonition.tip {
border-color: #10b981;
}
.md-typeset .admonition.tip > .admonition-title {
background-color: #10b9811a;
border-color: #10b981;
}
.md-typeset .admonition.warning {
border-color: #f59e0b;
}
.md-typeset .admonition.warning > .admonition-title {
background-color: #f59e0b1a;
border-color: #f59e0b;
}
/* Improve navigation */
.md-nav__link {
font-size: 0.85rem;
}
.md-nav__link--active {
font-weight: 600;
}
/* Better table styling */
.md-typeset table:not([class]) {
font-size: 0.85rem;
}
.md-typeset table:not([class]) th {
background-color: var(--md-primary-fg-color--light);
color: white;
font-weight: 600;
}
/* Improve search results */
.md-search-result__article {
padding: 0.5rem;
border-radius: 0.25rem;
}
.md-search-result__article:hover {
background-color: var(--md-accent-fg-color--light);
}
/* Mermaid diagrams */
.mermaid {
font-size: 0.9em;
text-align: center;
}
/* Task list styling */
.md-typeset .task-list-item {
list-style-type: none;
}
.md-typeset .task-list-item input[type="checkbox"] {
margin-right: 0.5rem;
}
/* Badge styling */
.md-typeset .badge {
display: inline-block;
padding: 0.25rem 0.5rem;
border-radius: 1rem;
font-size: 0.75rem;
font-weight: 600;
background-color: var(--md-accent-fg-color);
color: white;
}
/* Improve footer */
.md-footer {
margin-top: 2rem;
}
/* Better content spacing */
.md-content {
margin-top: 1rem;
}
/* Responsive images */
.md-typeset img {
max-width: 100%;
height: auto;
border-radius: 0.5rem;
}
/* Improve inline code */
.md-typeset code {
font-size: 0.85em;
padding: 0.1rem 0.3rem;
border-radius: 0.2rem;
}
/* Better blockquotes */
.md-typeset blockquote {
border-left: 4px solid var(--md-accent-fg-color);
padding-left: 1rem;
margin-left: 0;
}
/* Improve tabs */
.md-typeset .tabbed-set > input:checked + label {
border-bottom-color: var(--md-accent-fg-color);
}
/* Better content tabs */
.md-typeset .tabbed-content {
padding-top: 0.5rem;
}
/* Improve grid cards */
.md-typeset .grid {
gap: 1rem;
}
.md-typeset .grid > .card {
border-radius: 0.5rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.2s ease;
}
.md-typeset .grid > .card:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}