2023-06-15 09:18:46 +00:00
|
|
|
:root {
|
2023-06-22 18:05:23 +00:00
|
|
|
--body-bg-color: #08031A;
|
2023-06-15 09:18:46 +00:00
|
|
|
--body-bg-image: url('/assets/starsforever.gif');
|
2023-06-22 18:05:23 +00:00
|
|
|
--body-font-color: #fceaff;
|
|
|
|
--content-bg-color: #3d2163;
|
|
|
|
|
|
|
|
--main-heading-color: #ED64F5;
|
|
|
|
--sub-heading-color: #e8b86f;
|
|
|
|
--title-border-color: #d3aad5;
|
|
|
|
--bold-font-color: #ff9933;
|
|
|
|
--link-color: #ED64F5;
|
|
|
|
--link-hover-color: #c355c9;
|
|
|
|
--quote-bg: #13092D;
|
|
|
|
--quote-border-color: #999999;
|
|
|
|
|
|
|
|
--code-bg-color: #241445;
|
|
|
|
--code-border-color: #82668f;
|
2023-06-26 15:53:52 +00:00
|
|
|
--date-color: rgb(158, 203, 255);
|
2023-06-22 18:05:23 +00:00
|
|
|
|
|
|
|
--link-btn-bg: #873eb5;
|
|
|
|
--link-btn-text: white;
|
|
|
|
--link-btn-hover: #241445;
|
|
|
|
|
|
|
|
--header-bg-color: black;
|
|
|
|
--nav-bg: #222;
|
|
|
|
--nav-link: white;
|
|
|
|
--nav-submenu-active: #111;
|
|
|
|
--nav-item-hover: #ccc;
|
|
|
|
|
|
|
|
--footer-bg: #13092D;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nunito';
|
|
|
|
src: url('/assets/fonts/Nunito-VariableFont_wght.ttf') format("truetype");
|
|
|
|
font-weight: 125 950;
|
|
|
|
font-stretch: 75% 125%;
|
|
|
|
font-style: normal;
|
2023-06-22 18:05:23 +00:00
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nunito';
|
|
|
|
src: url('/assets/fonts/Nunito-Italic-VariableFont_wght.ttf') format("truetype");
|
|
|
|
font-weight: 125 950;
|
|
|
|
font-stretch: 75% 125%;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* CSS RESET */
|
|
|
|
/* Box sizing rules */
|
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove default margin */
|
|
|
|
body,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
p,
|
|
|
|
figure,
|
|
|
|
blockquote,
|
|
|
|
dl,
|
|
|
|
dd {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
|
|
|
|
ul[role='list'],
|
|
|
|
ol[role='list'] {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set core root defaults */
|
|
|
|
html:focus-within {
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set core body defaults */
|
2023-06-15 09:18:46 +00:00
|
|
|
body {
|
2023-06-22 18:05:23 +00:00
|
|
|
min-height: 100vh;
|
|
|
|
text-rendering: optimizeSpeed;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* A elements that don't have a class get default styles */
|
|
|
|
a:not([class]) {
|
|
|
|
text-decoration-skip-ink: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Make images easier to work with */
|
|
|
|
img,
|
|
|
|
picture {
|
|
|
|
max-width: 100%;
|
|
|
|
display: block;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* Inherit fonts for inputs and buttons */
|
|
|
|
input,
|
|
|
|
button,
|
|
|
|
textarea,
|
|
|
|
select {
|
|
|
|
font: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
html:focus-within {
|
2023-06-26 22:45:40 +00:00
|
|
|
scroll-behavior: auto;
|
2023-06-22 18:05:23 +00:00
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
animation-duration: 0.01ms !important;
|
|
|
|
animation-iteration-count: 1 !important;
|
|
|
|
transition-duration: 0.01ms !important;
|
|
|
|
scroll-behavior: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* STYLING BEGINS */
|
2023-06-15 09:18:46 +00:00
|
|
|
body {
|
2023-06-22 18:05:23 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
font-family: 'Nunito';
|
|
|
|
color: var(--body-font-color);
|
|
|
|
background-color: var(--body-bg-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
background-image: var(--body-bg-image);
|
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
h1 {
|
|
|
|
color: var(--main-heading-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2023-06-22 18:05:23 +00:00
|
|
|
margin-bottom: 1.2rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2, h3 {
|
2023-06-22 18:05:23 +00:00
|
|
|
color: var(--sub-heading-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2.2rem;
|
2023-06-22 18:05:23 +00:00
|
|
|
border-bottom: 0.18rem solid var(--title-border-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.7rem;
|
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
article h2,
|
|
|
|
article h3 {
|
|
|
|
margin-top: 1.5rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
p {
|
|
|
|
padding: 0.5rem 0;;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
strong {
|
|
|
|
color: var(--bold-font-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
a {
|
|
|
|
font-weight: 700;
|
|
|
|
color: var(--link-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
a:hover {
|
|
|
|
color: var(--link-hover-color);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
blockquote {
|
|
|
|
margin: 1.5rem 0;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
border-inline-start: 0.1rem solid var(--main-heading-color);
|
|
|
|
background-color: var(--quote-bg);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
overflow-x: auto;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
details {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-06-26 15:53:52 +00:00
|
|
|
.bold-text {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* ELEMENT STYLES WITH CUSTOM CLASSES */
|
2023-06-23 07:42:06 +00:00
|
|
|
.center-el {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center-text {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-06-26 15:53:52 +00:00
|
|
|
.date-style {
|
|
|
|
font-weight: 700;
|
|
|
|
color: var(--date-color);
|
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* CUSTOM CLASSES FOR SPECIAL ELEMENTS */
|
|
|
|
.inline-code {
|
|
|
|
font-family: monospace;
|
|
|
|
border: 0.06rem solid var(--code-border-color);
|
|
|
|
padding: 0.125rem 0.3rem;
|
|
|
|
margin-left: 0.125rem;
|
|
|
|
margin-right: 0.125rem;
|
|
|
|
background-color: var(--code-bg-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-snippet {
|
|
|
|
background-color: var(--code-bg-color);
|
|
|
|
border: 0.08rem solid var(--code-border-color);
|
|
|
|
display: block;
|
|
|
|
padding: 0.5em 0.8rem;
|
|
|
|
overflow-x: auto;
|
|
|
|
word-break: keep-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-box {
|
|
|
|
background-color: var(--quote-bg);
|
|
|
|
border: 0.06rem solid var(--main-heading-color);
|
|
|
|
padding: 0.625rem;
|
|
|
|
margin-bottom: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn {
|
|
|
|
font: 1.3rem 'Source Sans Pro', Arial, sans-serif;
|
|
|
|
display: inline-block;
|
|
|
|
border: 0.15rem solid var(--link-btn-bg);
|
|
|
|
border-radius: 0.6rem;
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
margin: 0.3rem;
|
|
|
|
background-color: var(--link-btn-bg);
|
|
|
|
color: var(--link-btn-text);
|
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 700;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn,
|
|
|
|
.link-btn:hover,
|
|
|
|
.link-btn:visited {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--link-btn-hover);
|
|
|
|
transition: 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-width-youtube-video {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: 56.25%;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-width-youtube-video iframe {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* HEADER COMPONENT */
|
2023-06-22 18:05:23 +00:00
|
|
|
header {
|
|
|
|
width: 100vw;
|
|
|
|
max-height: 20rem;
|
|
|
|
background-color: var(--header-bg-color);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
header img {
|
|
|
|
object-fit: contain;
|
|
|
|
height: 100%;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* NAVIGATION BAR COMPONENT */
|
2023-06-22 18:05:23 +00:00
|
|
|
nav {
|
|
|
|
background: var(--nav-bg);
|
|
|
|
padding: 0 0.9rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
width: 100%;
|
2023-06-22 18:05:23 +00:00
|
|
|
z-index: 999;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
nav a {
|
|
|
|
color: var(--nav-link);
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav__menu,
|
|
|
|
.nav__submenu {
|
2023-06-15 09:18:46 +00:00
|
|
|
list-style-type: none;
|
2023-06-22 18:05:23 +00:00
|
|
|
padding-left: 0;
|
|
|
|
margin: 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__title {
|
|
|
|
font-size: 20px;
|
|
|
|
padding: 0.2rem 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__item {
|
|
|
|
padding: 0.6rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__item a:hover,
|
|
|
|
.nav__item a:hover::after {
|
|
|
|
color: var(--nav-item-hover);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* Mobile nav__menu */
|
|
|
|
.nav__menu {
|
2023-06-15 09:18:46 +00:00
|
|
|
display: flex;
|
2023-06-22 18:05:23 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__menu li a {
|
|
|
|
display: block;
|
|
|
|
padding: 0.9rem 0.8rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__menu li.nav__subitem a {
|
|
|
|
padding: 0.9rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__toggle {
|
|
|
|
order: 1;
|
|
|
|
font-size: 1.25rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__item {
|
|
|
|
order: 3;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
display: none;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__active .nav__item {
|
|
|
|
display: block;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* nav__submenu up from mobile screens */
|
|
|
|
.nav__submenu {
|
|
|
|
display: none;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__submenu-active .nav__submenu {
|
|
|
|
display: block;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__has-submenu i {
|
|
|
|
font-size: 0.75rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__has-submenu > a::after {
|
|
|
|
font-family: "Font Awesome 5 Free";
|
|
|
|
font-size: 0.75rem;
|
|
|
|
line-height: 1.6;
|
|
|
|
font-weight: 900;
|
|
|
|
content: "\f078";
|
|
|
|
color: white;
|
|
|
|
padding-left: 0.3125rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__subitem a {
|
|
|
|
padding: 0.625rem 0.9rem;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__submenu-active {
|
|
|
|
background-color: var(--nav-submenu-active);
|
|
|
|
border-radius: 0.1875rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* Added to the navbar with JS when it reaches its scroll position */
|
|
|
|
.sticky-nav {
|
|
|
|
position: fixed;
|
|
|
|
width: 100vw;
|
|
|
|
top: 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* Add some top padding to the page content to prevent sudden quick movement
|
|
|
|
as the navigation bar gets a new position at the top of the page
|
|
|
|
(position:fixed and top:0) */
|
2023-06-22 18:05:23 +00:00
|
|
|
.sticky-nav + main {
|
|
|
|
padding-top: 3.75rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* Tablet navigation menu */
|
2023-06-22 18:05:23 +00:00
|
|
|
@media all and (min-width: 43.75rem) {
|
|
|
|
.nav__menu {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__title {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__toggle {
|
|
|
|
flex: 1;
|
|
|
|
text-align: right;
|
|
|
|
order: 2;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* Desktop navigation menu */
|
2023-06-22 18:05:23 +00:00
|
|
|
@media all and (min-width: 60rem) {
|
|
|
|
.nav__menu {
|
|
|
|
align-items: flex-start;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
background: none;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__title {
|
|
|
|
order: 0;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__item {
|
|
|
|
order: 1;
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__submenu-active .nav__submenu {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 68px;
|
|
|
|
background: var(--nav-submenu-active);
|
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__toggle {
|
|
|
|
display: none;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__submenu-active {
|
|
|
|
border-radius: 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
2023-06-22 18:05:23 +00:00
|
|
|
}
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* MAIN CONTENT */
|
|
|
|
main, .content-container {
|
|
|
|
gap: 0.8rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
main {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
article, .content-section {
|
|
|
|
background-color: var(--content-bg-color);
|
|
|
|
padding: 1.35rem;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.article-section {
|
|
|
|
padding: 1.25rem 0;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
aside {
|
|
|
|
padding: 1rem;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
background-color: var(--content-bg-color);
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
article, .content-container {
|
|
|
|
order: 1;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.left-sidebar {
|
|
|
|
order: 2;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.right-sidebar {
|
|
|
|
order: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tablet main content layout */
|
|
|
|
@media only screen and (min-width: 43.75rem) {
|
2023-06-15 09:18:46 +00:00
|
|
|
main {
|
2023-06-22 18:05:23 +00:00
|
|
|
flex-direction: row;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
aside {
|
|
|
|
width: 10rem;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
article, .content-container {
|
|
|
|
flex: 1;
|
2023-06-15 09:18:46 +00:00
|
|
|
order: 2;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.left-sidebar {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-sidebar {
|
2023-06-15 09:18:46 +00:00
|
|
|
order: 3;
|
|
|
|
}
|
2023-06-22 18:05:23 +00:00
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* Desktop main content layout */
|
|
|
|
@media only screen and (min-width: 60rem) {
|
|
|
|
main {
|
|
|
|
width: 60rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
aside {
|
2023-06-23 08:07:53 +00:00
|
|
|
width: 12rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-23 15:29:23 +00:00
|
|
|
@media only screen and (min-width: 65rem) {
|
2023-06-23 08:07:53 +00:00
|
|
|
main {
|
2023-06-23 15:29:23 +00:00
|
|
|
width: 65rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
2023-06-22 18:05:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* TABLE OF CONTENTS */
|
|
|
|
.sidebar__toc {
|
|
|
|
position: sticky;
|
|
|
|
top: 5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc-title {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc-list {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc-list li {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__toc-list ul {
|
|
|
|
padding-left: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* FOOTER COMPONENT */
|
2023-06-22 18:05:23 +00:00
|
|
|
footer {
|
|
|
|
background-color: var(--footer-bg);
|
|
|
|
width: 100vw;
|
|
|
|
padding: 0.5rem;
|
|
|
|
text-align: center;
|
2023-06-26 23:04:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer p {
|
|
|
|
padding: 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|