-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.css
More file actions
172 lines (146 loc) · 2.86 KB
/
notes.css
File metadata and controls
172 lines (146 loc) · 2.86 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
line-height: 1.5;
margin: 0 auto;
max-width: 980px;
padding: 30px; /* Reduced padding */
color: #24292e;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
}
* {
box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
color: #0366d6; /* Changed heading color for better visibility */
}
h1 {
padding-bottom: 0.3em;
font-size: 2em;
border-bottom: 1px solid #eaecef;
color: #24292e; /* Revert H1 color to dark for contrast with border */
}
h2 {
padding-bottom: 0.3em;
font-size: 1.5em;
border-bottom: 1px solid #eaecef;
color: #24292e; /* Revert H2 color to dark for contrast with border */
}
h3 {
font-size: 1.25em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.875em;
color: #6a737d;
}
h6 {
font-size: 0.85em;
color: #6a737d;
}
p {
margin-top: 0;
margin-bottom: 16px;
color: #24292e; /* Ensure paragraph text is the standard dark color */
}
a {
color: #0366d6;
text-decoration: none;
}
a:focus {
outline: thin dotted;
}
a:hover {
text-decoration: underline;
}
strong {
font-weight: 600;
}
em {
font-style: italic;
}
ul,
ol {
margin-top: 0;
margin-bottom: 16px;
padding-left: 2em;
}
li {
word-wrap: break-all;
}
blockquote {
padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #dfe2e5;
margin-left: 0;
margin-bottom: 16px;
background-color: #f6f8fa; /* Added background to blockquote */
}
pre,
code {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 85%;
background-color: rgba(27,31,35,.05); /* Lighter background for inline code */
border-radius: 3px;
padding: 0.2em 0.4em;
color: #24292e;
}
pre {
padding: 16px;
overflow: auto;
line-height: 1.45;
background-color: #f6f8fa;
border-radius: 3px;
margin-bottom: 16px;
border: 1px solid #eaecef; /* Added subtle border to code blocks */
}
pre > code {
padding: 0;
margin: 0;
word-break: normal;
white-space: pre;
background: transparent;
border: none;
}
table {
display: block;
width: 100%;
overflow: auto;
margin-bottom: 16px;
border-spacing: 0;
border-collapse: collapse;
}
th {
font-weight: 600;
background-color: #f6f8fa;
color: #24292e;
}
th,
td {
padding: 8px 13px; /* Slightly more padding */
border: 1px solid #dfe2e5;
}
tr {
background-color: #fff;
border-top: 1px solid #c6cbd1;
}
tr:nth-child(2n) {
background-color: #f6f8fa;
}
img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}