julienmonnerie/public/assets/css/partials/variables.scss
2022-07-21 17:20:07 +02:00

62 lines
1.4 KiB
SCSS

// ----------------------------------------------------------------------------
// VARIABLES
// ----------------------------------------------------------------------------
:root {
// Fonts
--text-font-family: Helvetica, sans-serif;
--title-font-family: Helvetica, sans-serif;
--regular-font-weight: 400;
--medium-font-weight: 500;
--semi-bold-font-weight: 600;
--bold-font-weight: 700;
--text-font-size: 0.8rem;
--text-line-height: calc(var(--text-font-size) * 1.2);
--footnote-font-size: 0.6rem;
--footnote-line-height: calc(var(--footnote-font-size) * 1.2);
--h1-font-size: 1.6rem;
--h1-line-height: calc(var(--h1-font-size) * 1.2);
--h2-font-size: 1.2rem;
--h2-line-height: calc(var(--h2-font-size) * 1.2);
--h3-font-size: 1rem;
--h3-line-height: calc(var(--h3-font-size) * 1.2);
// Dimensions
--icon-size: 2rem;
--sidebar-vertical-padding: 1rem;
--sidebar-horizontal-padding: 1rem;
// Colors
--black: #000;
--transparent-black: rgba(0, 0, 0, 0.4);
--white: #fff;
--transparent-white: rgba(255, 255, 255, 0.9);
--feldgrau: #4B6259;
}
// Media queries
$tablet-media-query: 48rem;
$desktop-media-query: 62rem;
@media screen and (min-width: $tablet-media-query) {
:root {
// Fonts
--text-font-size: 1rem;
--footnote-font-size: 0.8rem;
--h1-font-size: 1.8rem;
--h2-font-size: 1.4rem;
--h3-font-size: 1.2rem;
// Dimensions
--icon-size: 2.5rem;
}
}