mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-27 17:00:06 +02:00

* Swap pre/div in split-test-dump-modal.tsx * Remove fixed font-size and line-height for code/kdb/pre/samp * Set the font-size of code,kdb,samp to 1em instead of 0.875em * Remove unnecessary `font-size: inherit` GitOrigin-RevId: b5b19cf08774312ad1b3c4dcf16ea08e08093ccb
98 lines
1.2 KiB
SCSS
98 lines
1.2 KiB
SCSS
// Typography
|
|
|
|
body {
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility; /* stylelint-disable-line value-keyword-case */
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
// Headings
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
.h1,
|
|
.h2,
|
|
.h3,
|
|
.h4,
|
|
.h5,
|
|
.h6 {
|
|
// Apply margin above the heading only when it has a preceding sibling or is inside a row with a preceding sibling
|
|
* > * + &,
|
|
* + .row & {
|
|
margin-top: $spacing-08;
|
|
}
|
|
}
|
|
|
|
h1,
|
|
.h1 {
|
|
@include heading-xl;
|
|
}
|
|
|
|
h2,
|
|
.h2 {
|
|
@include heading-md;
|
|
}
|
|
|
|
h3,
|
|
.h3 {
|
|
@include heading-sm;
|
|
}
|
|
|
|
h4,
|
|
.h4 {
|
|
@include heading-xs;
|
|
}
|
|
|
|
h5,
|
|
.h5 {
|
|
@include body-base;
|
|
}
|
|
|
|
h6,
|
|
.h6 {
|
|
@include body-sm;
|
|
}
|
|
|
|
// Miscellaneous
|
|
.small {
|
|
@include body-sm;
|
|
}
|
|
|
|
// Peformatted text, sample output, code, keyboard input elements
|
|
// E.g.: Git authentication token
|
|
pre {
|
|
@include body-base;
|
|
}
|
|
|
|
code,
|
|
kbd,
|
|
samp {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.list-style-check-green {
|
|
list-style-image: url('../../../../public/img/fa-check-green.svg');
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--content-disabled) !important;
|
|
}
|
|
|
|
.dm-mono {
|
|
@include font-mono;
|
|
}
|
|
|
|
@include media-breakpoint-up(lg) {
|
|
.text-center-only-desktop {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-down(lg) {
|
|
.text-center-only-mobile {
|
|
text-align: center;
|
|
}
|
|
}
|