variables scss format

This commit is contained in:
tmshv committed 2019-10-15 02:26:55 +03:00
1 parent 9b642a38ce
commit a6e528d59b
1 file changed
+69 -71
+69 -71
View File
@@ -1,94 +1,92 @@
:root { :root {
//SHADOW //SHADOW
--white-shadow: 0 .1em 0.3em rgba(0, 0, 0, 0.2); --white-shadow: 0 0.1em 0.3em rgba(0, 0, 0, 0.2);
//FONTS //FONTS
--title-font: "PT Serif", Georgia, serif; --title-font: 'PT Serif', Georgia, serif;
--text-font: "PT Sans", Arial, sans-serif; --text-font: 'PT Sans', Arial, sans-serif;
--smaller-font-size: 0.9rem; --smaller-font-size: 0.9rem;
--normal-font-size: 1.0rem; --normal-font-size: 1rem;
--bigger-font-size: 1.2rem; --bigger-font-size: 1.2rem;
--big-font-size: 1.5rem; --big-font-size: 1.5rem;
--biggest-font-size: 2.25rem; --biggest-font-size: 2.25rem;
//MENU //MENU
--menu-thickness: 2.5em; --menu-thickness: 2.5em;
--menu-colored-mark-thickness: 4px; --menu-colored-mark-thickness: 4px;
--menu-inactive-item-color: hsl(0, 0%, 50%); --menu-inactive-item-color: hsl(0, 0%, 50%);
//ANIMATION //ANIMATION
$short-duration: 0.3s; $short-duration: 0.3s;
//SIZE //SIZE
--mobile-width: 31.25em; --mobile-width: 31.25em;
--desktop-width: 59.99999em; --desktop-width: 59.99999em;
--tablet-min-width: 31.25em; --tablet-min-width: 31.25em;
--tablet-max-width: 64em; --tablet-max-width: 64em;
--content-full: 100%; --content-full: 100%;
--content-wide: 90%; --content-wide: 90%;
--content-semi-wide: 70%; --content-semi-wide: 70%;
--content-thin: 60%; --content-thin: 60%;
--embed-video-ratio: 56.25%; --embed-video-ratio: 56.25%;
--text-color: #303030; --text-color: #303030;
--text-color-second: #ccc; --text-color-second: #ccc;
//FONTS //FONTS
--font-size-default: 14pt; --font-size-default: 14pt;
--font-size-second: 0.9rem; --font-size-second: 0.9rem;
--font-size-h1: 3.0rem; --font-size-h1: 3rem;
--font-size-h2: 2.0rem; --font-size-h2: 2rem;
--font-size-h3: 1.5rem; --font-size-h3: 1.5rem;
//COLOR //COLOR
--dark-color: hsl(0, 0%, 20%); --dark-color: hsl(0, 0%, 20%);
--darker-color: hsl(0, 0%, 10%); --darker-color: hsl(0, 0%, 10%);
--light-color: hsl(0, 0%, 80%); --light-color: hsl(0, 0%, 80%);
--lighter-color: hsl(0, 0%, 100%); --lighter-color: hsl(0, 0%, 100%);
--link-color: hsl(0, 0%, 80%); --link-color: hsl(0, 0%, 80%);
--blue-color: rgb(63, 156, 234); --blue-color: rgb(63, 156, 234);
--orange-color: rgb(240, 160, 65); --orange-color: rgb(240, 160, 65);
--green-color: rgb(92, 190, 64); --green-color: rgb(92, 190, 64);
--yellow-color: rgb(255, 238, 0); --yellow-color: rgb(255, 238, 0);
--pink-color: rgb(246, 85, 160); --pink-color: rgb(246, 85, 160);
--magenta-color: rgb(214, 39, 246); --magenta-color: rgb(214, 39, 246);
--red-color: rgb(246, 27, 20); --red-color: rgb(246, 27, 20);
--gray-color: rgb(153, 154, 160); --gray-color: rgb(153, 154, 160);
--inactive-link-color: var(--light-color); --inactive-link-color: var(--light-color);
--schedule-row-color: hsl(210, 55%, 90%); --schedule-row-color: hsl(210, 55%, 90%);
//MARGINS
--small-margin: 0.2em;
--half-margin: 0.5em;
--single-margin: 1em;
--double-margin: 2em;
--post-margin: 5em;
//OTHER
//MARGINS --block-border-radius: 3px;
--small-margin: .2em;
--half-margin: .5em;
--single-margin: 1.0em;
--double-margin: 2.0em;
--post-margin: 5.0em;
//OTHER
--block-border-radius: 3px;
} }
@media (max-width: var(--mobile-width)) { @media (max-width: var(--mobile-width)) {
:root { :root {
//FONTS //FONTS
--smaller-font-size: 0.9rem; --smaller-font-size: 0.9rem;
--normal-font-size: 1.0rem; --normal-font-size: 1rem;
--bigger-font-size: 1.1rem; --bigger-font-size: 1.1rem;
--big-font-size: 1.3rem; --big-font-size: 1.3rem;
--biggest-font-size: 2.0rem; --biggest-font-size: 2rem;
--font-size-h1: 1.75rem; --font-size-h1: 1.75rem;
--font-size-h2: 1.50rem; --font-size-h2: 1.5rem;
--font-size-h3: 1.25rem; --font-size-h3: 1.25rem;
} }
} }