mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
* Remove components, core and modules LESS stylesheets * Remove variables LESS stylesheets * Remove app LESS stylesheets * Remove github-sync, onboarding LESS stylesheets * Remove main-light and IEEE LESS stylesheets * Remove Less loader configuration * Remove bootstrap-3 entrypoint * Rename bootstrap-5 entrypoint to bootstrap * Remove bootstrap-5 CSS folder and move stylesheets * Update CSS variables * Restore and update github-sync.scss path * Fix try-premium.scss path and fix undefined mixin error * Restore entrypoints * Simplify buildCssPath to always use main-style.css * Remove less from prettier formatting scripts * Remove less from addHook extension * Source format * Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss) * Remove less and less-loader * Add SCSS files to pirates require hook GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
99 lines
1.2 KiB
SCSS
99 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;
|
|
}
|
|
}
|