mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Initial commit
This commit is contained in:
81
frontend/src/markdown.css
Normal file
81
frontend/src/markdown.css
Normal file
@@ -0,0 +1,81 @@
|
||||
article {
|
||||
h1 {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
padding: 12px 0;
|
||||
}
|
||||
h2 {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
padding: 10px 0;
|
||||
}
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
padding: 8px 0;
|
||||
}
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
padding: 6px 0;
|
||||
}
|
||||
h5 {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
padding: 4px 0;
|
||||
}
|
||||
h6 {
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
padding: 2px 0;
|
||||
}
|
||||
p {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
margin: 8px 0;
|
||||
}
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
margin: 0 0 16px 20px;
|
||||
padding: 0;
|
||||
li {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
}
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
margin: 0 0 16px 20px;
|
||||
padding: 0;
|
||||
li {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
}
|
||||
blockquote {
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
margin: 0 0 16px;
|
||||
padding: 8px;
|
||||
border-left: 4px solid var(--color-base-300);
|
||||
background-color: var(--color-base-200);
|
||||
}
|
||||
hr {
|
||||
border: 0;
|
||||
border-top: 1px solid var(--color-base-300);
|
||||
margin: 16px 0;
|
||||
}
|
||||
a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
img {
|
||||
border-radius: 8px;
|
||||
max-height: 400px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user