-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathbase.css
More file actions
121 lines (102 loc) · 1.42 KB
/
base.css
File metadata and controls
121 lines (102 loc) · 1.42 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
html {
background-color: $white;
box-sizing: border-box;
color: $node-gray;
font-size: 20px;
font-weight: 400;
line-height: 1.5;
margin: 0;
}
header,
#main,
footer {
display: flex;
}
h1,
h2,
h3,
h4,
h5 {
font-weight: bold;
}
h2 {
font-size: 1.3em;
}
a,
a:link,
a:active {
border-radius: 5px;
color: $node-green;
text-decoration: none;
}
a:hover {
background-color: $node-green;
color: $white;
code {
background-color: transparent;
color: $white;
}
}
a.imagelink {
display: inline-block;
&:hover {
background-color: transparent;
}
}
strong,
b {
font-weight: 600;
}
p {
a {
@mixin padded-link 2px;
}
}
img {
border: none;
display: block;
height: auto;
max-width: 100%;
}
code {
border-radius: 3px;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 14px;
padding: 0.2em 0.4em;
}
pre,
code {
background-color: #2e3440ff;
border-radius: 3px;
color: $white;
}
pre {
padding: 0.75em 1.2em;
code {
display: grid;
overflow-x: auto;
padding: 1em;
}
}
blockquote {
margin: 0;
padding: 0 1em;
position: relative;
&::before {
background-color: rgb(0 0 0 / 14%);
content: '';
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 6px;
}
}
iframe {
border: none;
}
[data-theme='light'] .dark-mode-only,
[data-theme='dark'] .light-mode-only {
display: none;
}