fix paragraph margins

This commit is contained in:
menduz 2022-10-03 14:19:41 -03:00
parent 176b987dee
commit 8056e9372f
No known key found for this signature in database
GPG Key ID: 78AC067F75AC1B64
2 changed files with 32 additions and 20 deletions

View File

@ -1,3 +1,5 @@
@import "_dcl-ui.scss";
html { html {
font-size: $font-size-base; font-size: $font-size-base;
scroll-behavior: smooth; scroll-behavior: smooth;
@ -64,7 +66,6 @@ aside nav ul {
padding-inline-start: 0; padding-inline-start: 0;
} }
ul.pagination { ul.pagination {
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -102,7 +103,7 @@ ul.pagination {
font-weight: 400; font-weight: 400;
font-size: 15px; font-size: 15px;
line-height: 24px; line-height: 24px;
color: #736E7D; color: #736e7d;
.book-menu-content { .book-menu-content {
width: $menu-width; width: $menu-width;
@ -111,15 +112,20 @@ ul.pagination {
} }
a, a,
label,span { label,
span {
display: inline-block; display: inline-block;
color: inherit; color: inherit;
cursor: pointer;
word-wrap: break-word; word-wrap: break-word;
font-weight: 400; font-weight: 400;
width: 100%; width: 100%;
} }
a,
label {
cursor: pointer;
}
nav > ul > li { nav > ul > li {
margin-bottom: $padding-16 * 2; margin-bottom: $padding-16 * 2;
} }
@ -128,18 +134,20 @@ ul.pagination {
padding-inline-start: $padding-8 * 3; padding-inline-start: $padding-8 * 3;
} }
span,label { span,
label {
margin-bottom: $padding-8; margin-bottom: $padding-8;
} }
a,label { a,
label {
cursor: pointer; cursor: pointer;
} }
a[role=button], span { a[role="button"],
span {
font-weight: 600; font-weight: 600;
color: #0D0D17; color: #0d0d17;
} }
a.active { a.active {
@ -170,7 +178,7 @@ ul.pagination {
} }
input.toggle + label::before { input.toggle + label::before {
color: #0D0D17; color: #0d0d17;
display: inline-block; display: inline-block;
width: 10px; width: 10px;
margin-left: -1em; margin-left: -1em;
@ -263,9 +271,7 @@ body[dir="rtl"] .book-menu {
/* identical to box height, or 153% */ /* identical to box height, or 153% */
letter-spacing: -0.2px; letter-spacing: -0.2px;
color: #736E7D; color: #736e7d;
&:required + .book-search-spinner { &:required + .book-search-spinner {
display: block; display: block;
@ -364,7 +370,7 @@ body[dir="rtl"] .book-menu {
.book-icon { .book-icon {
height: 1em; height: 1em;
width: 1em; width: 1em;
margin-inline-end: .5em; margin-inline-end: 0.5em;
} }
ul { ul {
@ -455,11 +461,10 @@ body[dir="rtl"] .book-menu {
} }
} }
@import '_dcl-ui.scss'; @import "syntax.scss";
@import 'syntax.scss';
.tabs-navigation { .tabs-navigation {
font-family: 'Inter UI'; font-family: "Inter UI";
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
font-size: 17px; font-size: 17px;

View File

@ -4,13 +4,16 @@
font-size: 15px; font-size: 15px;
line-height: 24px; line-height: 24px;
p {
line-height: 24px;
}
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6 {
line-height: 1;
margin-top: $padding-16 * 3; margin-top: $padding-16 * 3;
margin-bottom: $padding-4; margin-bottom: $padding-4;
@ -66,7 +69,7 @@
text-decoration: underline; text-decoration: underline;
} }
&:visited { &:visited {
color: var(--color-visited-link); color: var(--primary);
} }
} }
@ -157,6 +160,10 @@
width: 1em; width: 1em;
} }
li>p {
margin-bottom: $padding-16;
}
dl { dl {
dt { dt {
font-weight: bolder; font-weight: bolder;