mirror of
https://github.com/wassname/template.git
synced 2026-06-27 19:17:15 +08:00
Article style tweaks
This commit is contained in:
@@ -12,7 +12,7 @@ const T = Template('d-title', `
|
||||
::slotted(h1) {
|
||||
grid-column: text;
|
||||
font-size: 60px;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
line-height: 1.05em;
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ d-article > * {
|
||||
|
||||
@media(min-width: 1024px) {
|
||||
d-article {
|
||||
font-size: 1rem;
|
||||
font-size: 1.06rem;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
}
|
||||
@@ -102,7 +102,6 @@ d-article blockquote {
|
||||
margin-bottom: 1em;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
d-article blockquote {
|
||||
@@ -132,11 +131,15 @@ d-article ol {
|
||||
}
|
||||
|
||||
d-article li {
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: 1em;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
d-article li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
d-article pre {
|
||||
font-size: 14px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
Reference in New Issue
Block a user