Files
landing_page/qdrant-landing/themes/qdrant/static/css/article.scss
T
trean 16f13a8c13 small typography changes (#72)
* small typography changes

* fix
2022-08-18 22:50:16 +02:00

232 lines
3.4 KiB
SCSS

article aside[role="alert"],
article aside[role="status"] {
margin-bottom: 1rem;
padding: .75rem 1.25rem .75rem 3rem;
position: relative;
border: 1px solid transparent;
border-radius: 0.25rem;
}
article aside[role="alert"] {
color: var(--brand-primary);
border-color: #fdb8b8;
background-color: #FBBFBF;
}
article aside[role="alert"]:before,
article aside[role="status"]:before {
width: 3rem;
position: absolute;
top: calc(50% - 0.75rem);
left: 0;
text-align: center;
font-size: 1rem;
}
article aside[role="alert"]:before {
content: "\f071";
font-family: "Font Awesome 5 Free";
font-size: 1rem;
font-weight: 900;
}
article aside[role="status"] {
color: var(--brand-secondary);
border-color: #bee5eb;
background-color: #d1ecf1;
}
article aside[role="status"]:before {
content: "\f129";
font-family: "Font Awesome 5 Free";
font-size: 1rem;
font-weight: 900;
}
article:first-of-type {
table {
@extend .table;
}
pre {
position: relative;
}
img {
display: block;
margin-right: auto;
margin-left: auto;
}
ul,
ol {
margin-top: 1em;
margin-bottom: 1em;
}
ul > li {
margin: 0 0 0 2em;
position: relative;
list-style: disc;
}
ol > li {
margin: 0 0 0 2em;
position: relative;
list-style: decimal;
}
figure {
text-align: center;
}
}
.documentation {
h1 {
font-size: 2.25rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.25rem;
}
h4 {
font-size: 1.25rem;
}
h5 {
font-size: 1.25rem;
}
h6 {
font-size: 1.25rem;
}
p {
margin-bottom: 0.7rem;
}
}
.article,
.blog {
font-family: charter, Georgia, Cambria, "Times New Roman", Times, serif;
font-size: 20px;
letter-spacing: -0.003em;
line-height: 32px;
table {
color: rgb(41, 41, 41);
font-size: 18px;
@include media-breakpoint-up(md) {
font-size: 20px;
}
}
p,
ul,
ol {
margin-top: 0.86em;
margin-bottom: 1.5em;
}
ul > li {
color: rgb(41, 41, 41);
font-size: 18px;
line-height: 32px;
@include media-breakpoint-up(md) {
font-size: 20px;
}
}
ol > li {
color: rgb(41, 41, 41);
font-size: 18px;
line-height: 32px;
@include media-breakpoint-up(md) {
font-size: 20px;
}
}
h1, h2, h3, h4, h5, h6 {
margin-bottom: 1rem;
font-weight: 600;
}
h1 {
font-size: 2.45rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.45rem;
}
h4 {
font-size: 1.45rem;
}
h5 {
font-size: 1.45rem;
}
p {
color: rgb(41, 41, 41);
font-size: 18px;
line-height: 32px;
@include media-breakpoint-up(md) {
font-size: 20px;
}
}
}
.article {
padding-top: 18px;
padding-right: 180px;
padding-left: 180px;
@media only screen and (max-width: 599px) {
padding-right: 0;
padding-left: 0;
}
@media only screen and (max-width: 1023px) {
padding-right: 10px;
padding-left: 10px;
}
@include media-breakpoint-up(md) {
padding-top: 38px;
}
}
.blog {
padding-top: 20px;
padding-right: 70px;
padding-left: 70px;
word-break: break-word;
@media only screen and (max-width: 599px) {
padding-right: 0;
padding-left: 0;
}
@media only screen and (max-width: 1023px) {
padding-right: 10px;
padding-left: 10px;
}
p {
&:first-child {
margin-top: 0;
}
}
}