2023-11-23 17:07:49 +01:00
|
|
|
$min-desktop-width: 1280px;
|
|
|
|
$max-phone-width: 700px;
|
|
|
|
$narrow-layout-width: 960px;
|
|
|
|
$medium-layout-width: $min-desktop-width;
|
|
|
|
$font-family-base: verdana, arial, helvetica, sans-serif;
|
|
|
|
$font-family-monospace: "Droid Sans Mono", monospace;
|
2024-05-31 20:07:00 +02:00
|
|
|
$font-family-heading: $font-family-base;
|
2023-11-23 17:07:49 +01:00
|
|
|
|
|
|
|
:root {
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Paddings */
|
2023-11-23 17:07:49 +01:00
|
|
|
--padding-tiny: 0.3rem;
|
|
|
|
--padding-small: 0.4rem;
|
|
|
|
--padding-normal: 0.75rem;
|
|
|
|
--padding-large: 1.5rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Common line heights */
|
2024-04-17 16:52:50 +02:00
|
|
|
--default-line-height: 1.15;
|
|
|
|
--readable-line-height: 1.35rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Header height */
|
2023-11-23 17:07:49 +01:00
|
|
|
--block-header-height: 2rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Navbar */
|
2023-11-23 22:20:02 +01:00
|
|
|
--navbar-size: 4rem;
|
|
|
|
--navbar-secondary-size: 2.5rem;
|
|
|
|
--navbar-input-size: 2rem;
|
|
|
|
--navbar-input-width: 18vw;
|
|
|
|
--navbar-input-max-width: 22rem;
|
2023-11-23 17:07:49 +01:00
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Avatars */
|
2024-05-01 00:10:05 +02:00
|
|
|
--avatar-navbar-size: 2.5rem;
|
|
|
|
--avatar-small-size: 6rem;
|
|
|
|
--avatar-large-size: 8rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Buttons */
|
2024-04-28 18:51:40 +02:00
|
|
|
--button-height: 2rem;
|
2023-11-23 17:07:49 +01:00
|
|
|
--button-group-height: 2rem;
|
|
|
|
--button-group-tall-height: 2.5rem;
|
|
|
|
--button-group-small-height: 1.5rem;
|
2024-05-20 22:30:41 +02:00
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Checkboxes */
|
2024-05-03 20:08:52 +02:00
|
|
|
--checkbox-width: 3rem;
|
|
|
|
--checkbox-height: 1.5rem;
|
|
|
|
--checkbox-border-width: 2px;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Separators */
|
2024-05-03 20:08:52 +02:00
|
|
|
--separator-vertical-size: 1.3em;
|
2023-11-23 17:07:49 +01:00
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Tags */
|
2024-04-30 12:16:09 +02:00
|
|
|
--tag-height: 2em;
|
2024-04-28 18:51:40 +02:00
|
|
|
--tag-border-width: 0;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Homepage left column width on desktop */
|
2023-11-23 17:07:49 +01:00
|
|
|
--column-left-width: 360px;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Borders and rounding */
|
2023-11-23 17:07:49 +01:00
|
|
|
--border-radius-outer: 0.35rem;
|
|
|
|
--border-radius-inner: 0.25rem;
|
2024-04-28 18:51:40 +02:00
|
|
|
--border-radius-tag: 0.2rem;
|
2024-05-01 00:10:05 +02:00
|
|
|
--border-radius-avatar: 100%;
|
2024-05-03 20:08:52 +02:00
|
|
|
--border-radius-checkbox: 1rem;
|
2023-11-23 17:07:49 +01:00
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Images and media */
|
2023-11-23 17:07:49 +01:00
|
|
|
--media-container-width: 225px;
|
|
|
|
--media-tiny-container-width: 50px;
|
2024-05-07 19:33:56 +02:00
|
|
|
--media-small-container-width: 150px;
|
2023-11-23 17:07:49 +01:00
|
|
|
--media-medium-container-width: 250px;
|
|
|
|
--media-large-container-width: 500px;
|
|
|
|
--media-full-container-width: 100%;
|
|
|
|
--media-featured-width: 358px;
|
|
|
|
--media-header-height: 2rem;
|
2024-05-20 19:04:12 +02:00
|
|
|
--media-small-header-height: 1rem;
|
2023-11-23 17:07:49 +01:00
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Badges */
|
2024-05-07 19:33:56 +02:00
|
|
|
--badge-small-size: 1.1rem;
|
|
|
|
--badge-normal-size: 2rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Counter badges (the "red notification badge") */
|
2023-11-23 17:07:49 +01:00
|
|
|
--number-badge-size: 0.6rem;
|
|
|
|
--number-badge-padding: 0.1rem;
|
|
|
|
--number-badge-border: 2px;
|
|
|
|
--number-badge-lower-offset: 0.7rem;
|
|
|
|
--number-badge-upper-offset: 0.7rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Fonts */
|
2024-04-30 12:16:09 +02:00
|
|
|
--font-family: $font-family-base;
|
|
|
|
--font-family-monospace: $font-family-monospace;
|
2024-05-31 20:07:00 +02:00
|
|
|
--font-family-heading: $font-family-heading;
|
2023-11-23 17:07:49 +01:00
|
|
|
--font-size: 14px;
|
|
|
|
--font-tiny-size: 12px;
|
2024-05-20 19:04:12 +02:00
|
|
|
--font-micro-size: 10px;
|
2023-11-23 17:07:49 +01:00
|
|
|
--font-header-size: 16px;
|
2024-04-28 18:51:40 +02:00
|
|
|
--font-icon-size: 2rem;
|
2024-04-17 16:52:50 +02:00
|
|
|
--font-h1-size: 1.75rem;
|
|
|
|
--font-h2-size: 1.5rem;
|
|
|
|
--font-h3-size: 1.35rem;
|
|
|
|
--font-h4-size: 1.2rem;
|
|
|
|
--font-h5-size: 1.1rem;
|
2023-11-23 17:07:49 +01:00
|
|
|
--font-h6-size: 1rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Inputs */
|
2023-11-23 17:07:49 +01:00
|
|
|
--input-text-height: 9rem;
|
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Layout sizes */
|
2024-04-30 12:16:09 +02:00
|
|
|
--min-desktop-width: $min-desktop-width;
|
|
|
|
--max-phone-width: $max-phone-width;
|
|
|
|
--medium-layout-width: $medium-layout-width;
|
|
|
|
--narrow-layout-width: $narrow-layout-width;
|
2023-11-23 17:07:49 +01:00
|
|
|
|
2024-05-20 21:25:43 +02:00
|
|
|
/* Animations */
|
2024-04-17 16:52:50 +02:00
|
|
|
--transition-animation-duration: 0.15s;
|
2024-05-03 20:08:52 +02:00
|
|
|
--transition-long-animation-duration: 0.3s;
|
2023-11-23 17:07:49 +01:00
|
|
|
}
|