2018-10-17 19:14:24 +02:00
|
|
|
// Both of these should probably die and become variables as well
|
2018-12-19 06:44:53 +01:00
|
|
|
$spacing-vertical: 2rem;
|
2018-03-26 23:32:43 +02:00
|
|
|
$spacing-width: 36px;
|
|
|
|
|
2019-12-18 06:27:08 +01:00
|
|
|
$breakpoint-xsmall: 600px;
|
|
|
|
$breakpoint-small: 900px;
|
2020-01-27 21:46:17 +01:00
|
|
|
$breakpoint-medium: 1150px;
|
2017-08-13 07:37:33 +02:00
|
|
|
|
2017-08-18 07:37:35 +02:00
|
|
|
:root {
|
2018-10-17 19:14:24 +02:00
|
|
|
// Width & spacing
|
2019-07-24 15:52:35 +02:00
|
|
|
--page-max-width: 1420px;
|
2019-10-09 18:34:18 +02:00
|
|
|
--mac-titlebar-height: 1.5rem;
|
2019-06-11 20:10:58 +02:00
|
|
|
--mobile: 600px;
|
|
|
|
--side-nav-width: 170px;
|
2020-06-01 19:03:19 +02:00
|
|
|
|
|
|
|
--spacing-main-padding: var(--spacing-xl);
|
2019-08-13 07:35:13 +02:00
|
|
|
--floating-viewer-width: 32rem;
|
|
|
|
--floating-viewer-height: 18rem; // 32 * 9/16
|
|
|
|
--floating-viewer-info-height: 5rem;
|
|
|
|
--floating-viewer-container-height: calc(var(--floating-viewer-height) + var(--floating-viewer-info-height));
|
2020-02-10 20:43:24 +01:00
|
|
|
--option-select-width: 8rem;
|
2019-05-07 04:35:04 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Text
|
2017-08-18 07:37:35 +02:00
|
|
|
--text-max-width: 660px;
|
|
|
|
--text-link-padding: 4px;
|
2017-08-19 06:33:01 +02:00
|
|
|
|
2019-05-07 04:35:04 +02:00
|
|
|
// Tabs
|
|
|
|
--tab-indicator-size: 0.5rem;
|
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Header
|
2019-07-21 23:31:22 +02:00
|
|
|
--header-height: 5rem;
|
2018-04-17 04:21:19 +02:00
|
|
|
|
2019-11-14 18:23:42 +01:00
|
|
|
// Inline Player
|
2020-06-01 19:03:19 +02:00
|
|
|
--inline-player-max-height: calc(100vh - var(--header-height) - var(--spacing-l) * 2);
|
2019-11-14 18:23:42 +01:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Card
|
2019-11-22 22:13:00 +01:00
|
|
|
--card-radius: var(--border-radius);
|
2018-06-18 18:30:24 +02:00
|
|
|
--card-max-width: 1000px;
|
2020-03-18 18:33:17 +01:00
|
|
|
--card-box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
2018-03-26 23:32:43 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Modal
|
2020-02-06 19:49:05 +01:00
|
|
|
--modal-width: 550px;
|
2017-09-21 18:48:29 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Animation :)
|
2019-05-07 04:35:04 +02:00
|
|
|
--animation-duration: 0.2s;
|
|
|
|
--animation-style: ease-in-out;
|
2018-07-18 17:55:17 +02:00
|
|
|
|
2018-10-17 19:14:24 +02:00
|
|
|
// Image
|
2018-07-18 17:55:17 +02:00
|
|
|
--thumbnail-preview-height: 100px;
|
|
|
|
--thumbnail-preview-width: 177px;
|
2020-04-21 15:56:03 +02:00
|
|
|
--cover-photo-height: 210px;
|
2019-06-11 20:10:58 +02:00
|
|
|
--channel-thumbnail-width: 10rem;
|
2019-07-21 23:31:22 +02:00
|
|
|
--channel-thumbnail-width--small: 4rem;
|
2019-06-11 20:10:58 +02:00
|
|
|
--file-list-thumbnail-width: 10rem;
|
2019-11-22 22:13:00 +01:00
|
|
|
|
|
|
|
--tag-height: 1.5rem;
|
2017-08-13 07:37:33 +02:00
|
|
|
}
|
2019-12-18 06:27:08 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
:root {
|
|
|
|
--font-base: 16px;
|
|
|
|
}
|
|
|
|
}
|