52 lines
2.8 KiB
SCSS
52 lines
2.8 KiB
SCSS
// main: main.scss
|
|
/*--------------------------------------------------------------
|
|
# Font & Color Variables
|
|
# Help: https://bootstrapmade.com/color-system/
|
|
--------------------------------------------------------------*/
|
|
|
|
/* Fonts */
|
|
:root {
|
|
--default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
--heading-font: "Jost", sans-serif;
|
|
--nav-font: "Poppins", sans-serif;
|
|
}
|
|
|
|
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
|
|
:root {
|
|
--background-color: #ffffff; /* Background color for the entire website, including individual sections */
|
|
--default-color: #444444; /* Default color used for the majority of the text content across the entire website */
|
|
--heading-color: #37517e; /* Color for headings, subheadings and title throughout the website */
|
|
--accent-color: #47b2e4; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
|
|
--surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
|
|
--contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
|
|
}
|
|
|
|
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
|
|
:root {
|
|
--nav-color: #ffffff; /* The default color of the main navmenu links */
|
|
--nav-hover-color: #47b2e4; /* Applied to main navmenu links when they are hovered over or active */
|
|
--nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
|
|
--nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
|
|
--nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
|
|
--nav-dropdown-hover-color: #47b2e4; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
|
|
}
|
|
|
|
/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
|
|
|
|
.light-background {
|
|
--background-color: #f5f6f8;
|
|
--surface-color: #ffffff;
|
|
}
|
|
|
|
.dark-background {
|
|
--background-color: #37517e;
|
|
--default-color: #ffffff;
|
|
--heading-color: #ffffff;
|
|
--surface-color: #4668a2;
|
|
--contrast-color: #ffffff;
|
|
}
|
|
|
|
/* Smooth scroll */
|
|
:root {
|
|
scroll-behavior: smooth;
|
|
} |