mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
110 lines
2.2 KiB
CSS
110 lines
2.2 KiB
CSS
article {
|
|
& {
|
|
color: var(--color-base-content);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
padding: 12px 0;
|
|
margin: 24px 0 12px;
|
|
}
|
|
h2 {
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
padding: 12px 0;
|
|
margin: 16px 0 8px;
|
|
}
|
|
h3 {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
padding: 6px 0;
|
|
margin: 12px 0 4px;
|
|
}
|
|
h4 {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
padding: 6px 0;
|
|
margin: 12px 0 4px;
|
|
}
|
|
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.6;
|
|
margin: 12px 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;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
p:has(> img) {
|
|
margin: 16px 0;
|
|
}
|
|
p code {
|
|
background-color: var(--color-base-200);
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, system-ui;
|
|
}
|
|
iframe{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
a.no-underline {
|
|
text-decoration: none;
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
} |