2023-10-03 12:32:15 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Noto+Sans&display=swap');
|
|
|
|
|
2023-10-23 07:28:23 +00:00
|
|
|
/* ------------------- */
|
|
|
|
/* Custom Properties */
|
|
|
|
/* ------------------- */
|
|
|
|
|
2023-06-15 09:18:46 +00:00
|
|
|
:root {
|
2023-07-26 08:44:57 +00:00
|
|
|
--clr-body-bg: #08031A;
|
2023-09-10 16:19:48 +00:00
|
|
|
--img-body-bg: url('/assets/starsforever.png');
|
2023-07-26 08:44:57 +00:00
|
|
|
--clr-body-txt: #fceaff;
|
|
|
|
--clr-content-bg: #3d2163;
|
2023-06-22 18:05:23 +00:00
|
|
|
|
2023-07-26 08:44:57 +00:00
|
|
|
--clr-main-heading: #ED64F5;
|
|
|
|
--clr-sub-heading: #e8b86f;
|
|
|
|
--clr-title-border: #d3aad5;
|
|
|
|
--clr-bold-txt: #ff9933;
|
|
|
|
--clr-link: #ED64F5;
|
|
|
|
--clr-link-hover: #c355c9;
|
|
|
|
--clr-quote-bg: #13092D;
|
|
|
|
--clr-quote-border: #999999;
|
2023-06-22 18:05:23 +00:00
|
|
|
|
2023-07-26 08:44:57 +00:00
|
|
|
--clr-code-bg: #241445;
|
|
|
|
--clr-code-border: #82668f;
|
|
|
|
--clr-dates: rgb(158, 203, 255);
|
2023-06-22 18:05:23 +00:00
|
|
|
|
2023-07-26 08:44:57 +00:00
|
|
|
--clr-link-btn-bg: #873eb5;
|
|
|
|
--clr-link-btn-txt: white;
|
|
|
|
--clr-link-btn-hover: #241445;
|
2023-06-22 18:05:23 +00:00
|
|
|
|
2023-08-13 11:57:38 +00:00
|
|
|
--clr-main-header-bg: black;
|
|
|
|
--clr-navbar-bg: #222;
|
|
|
|
--clr-navbar-link: white;
|
2023-06-22 18:05:23 +00:00
|
|
|
|
2023-08-13 11:57:38 +00:00
|
|
|
--clr-main-footer-bg: #13092D;
|
2023-06-15 09:18:46 +00:00
|
|
|
|
2023-10-03 12:32:15 +00:00
|
|
|
--ff-primary: 'Noto Sans';
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-10-23 07:28:23 +00:00
|
|
|
/* ------------------- */
|
|
|
|
/* CSS Reset */
|
|
|
|
/* ------------------- */
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-23 07:28:23 +00:00
|
|
|
/* ------------------- */
|
|
|
|
/* STYLING BEGINS */
|
|
|
|
/* ------------------- */
|
2023-08-28 06:52:16 +00:00
|
|
|
|
|
|
|
/* General Styles */
|
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;
|
2023-10-03 12:32:15 +00:00
|
|
|
font-family: var(--ff-primary), Arial, Helvetica, sans-serif;
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-body-txt);
|
|
|
|
background-color: var(--clr-body-bg);
|
|
|
|
background-image: var(--img-body-bg);
|
2023-06-15 09:18:46 +00:00
|
|
|
background-attachment: fixed;
|
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
h1 {
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-main-heading);
|
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-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-sub-heading);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2.2rem;
|
2023-07-26 08:44:57 +00:00
|
|
|
border-bottom: 0.18rem solid var(--clr-title-border);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.7rem;
|
|
|
|
}
|
|
|
|
|
2023-06-27 00:28:56 +00:00
|
|
|
article:not(.divided-article) h2,
|
|
|
|
article h3,
|
|
|
|
.content-section h3 {
|
2023-06-22 18:05:23 +00:00
|
|
|
margin-top: 1.5rem;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
p {
|
2023-08-28 06:52:16 +00:00
|
|
|
padding: 0.5rem 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 14:35:45 +00:00
|
|
|
hr {
|
|
|
|
border: 0.05rem solid var(--clr-title-border);
|
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
strong {
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-bold-txt);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-08-29 08:30:47 +00:00
|
|
|
:focus {
|
2023-08-29 08:41:28 +00:00
|
|
|
outline: 0.15em solid var(--clr-body-txt);
|
2023-08-29 08:30:47 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
a {
|
|
|
|
font-weight: 700;
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-link);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
a:hover {
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-link-hover);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-08-29 08:30:47 +00:00
|
|
|
a:not([class]):focus {
|
|
|
|
outline: 0.15rem solid var(--clr-link);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:focus img {
|
2023-08-29 08:41:28 +00:00
|
|
|
outline: 0.2em solid var(--clr-body-txt);
|
2023-08-29 08:30:47 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
blockquote {
|
|
|
|
margin: 1.5rem 0;
|
|
|
|
padding: 0.5rem 1rem;
|
2023-07-26 08:44:57 +00:00
|
|
|
border-inline-start: 0.1rem solid var(--clr-main-heading);
|
|
|
|
background-color: var(--clr-quote-bg);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-07-26 07:02:46 +00:00
|
|
|
button:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-08-29 08:30:47 +00:00
|
|
|
button:focus,
|
|
|
|
detail:focus {
|
2023-08-29 08:41:28 +00:00
|
|
|
outline-offset: 0.2em;
|
2023-08-29 08:30:47 +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 23:58:19 +00:00
|
|
|
summary {
|
2023-06-26 22:45:40 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-08-13 11:57:38 +00:00
|
|
|
/* ELEMENT STYLES WITH CUSTOM CLASSES */
|
2023-06-26 15:53:52 +00:00
|
|
|
.bold-text {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2023-06-23 07:42:06 +00:00
|
|
|
.center-el {
|
2023-08-29 09:33:10 +00:00
|
|
|
display: grid;
|
|
|
|
place-content: center;
|
2023-06-23 07:42:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.center-text {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-06-26 15:53:52 +00:00
|
|
|
.date-style {
|
|
|
|
font-weight: 700;
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-dates);
|
2023-06-26 15:53:52 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 14:35:45 +00:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-08-30 02:43:48 +00:00
|
|
|
.article-list {
|
|
|
|
display: grid;
|
|
|
|
gap: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* HEADER COMPONENT */
|
2023-08-13 11:57:38 +00:00
|
|
|
.main-header {
|
2023-06-27 14:57:47 +00:00
|
|
|
width: 100%;
|
2023-08-13 11:57:38 +00:00
|
|
|
background-color: var(--clr-main-header-bg);
|
2023-06-22 18:05:23 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2023-08-13 11:57:38 +00:00
|
|
|
text-align: center;
|
2023-06-22 18:05:23 +00:00
|
|
|
}
|
|
|
|
|
2023-11-09 11:13:38 +00:00
|
|
|
.main-header__top-bar {
|
|
|
|
background-color: var(--clr-navbar-bg);
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-header__img {
|
|
|
|
display: grid;
|
|
|
|
place-content: center;
|
|
|
|
}
|
|
|
|
|
2023-08-13 11:57:38 +00:00
|
|
|
.main-header img {
|
2023-08-29 04:21:47 +00:00
|
|
|
object-fit: scale-down;
|
|
|
|
overflow: hidden;
|
2023-10-23 07:28:23 +00:00
|
|
|
filter: drop-shadow(0.1rem 0.1rem 0.2rem black);
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* NAVIGATION BAR COMPONENT */
|
2023-08-13 14:35:45 +00:00
|
|
|
.navbar {
|
2023-08-13 11:57:38 +00:00
|
|
|
background: var(--clr-navbar-bg);
|
2023-06-27 14:57:47 +00:00
|
|
|
padding: 0 0.6rem;
|
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-08-13 14:35:45 +00:00
|
|
|
.navbar a {
|
2023-08-13 11:57:38 +00:00
|
|
|
color: var(--clr-navbar-link);
|
2023-06-22 18:05:23 +00:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-08-14 02:59:14 +00:00
|
|
|
.navbar a:hover {
|
|
|
|
color: var(--clr-link-hover);
|
|
|
|
}
|
|
|
|
|
2023-08-29 08:30:47 +00:00
|
|
|
.navbar a:focus {
|
2023-08-29 08:41:28 +00:00
|
|
|
outline-offset: 0.3em;
|
|
|
|
outline: 0.15em solid var(--clr-navbar-link);
|
2023-08-29 08:30:47 +00:00
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
.nav__menu {
|
2023-07-26 07:40:22 +00:00
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
display: flex;
|
2023-07-26 07:40:22 +00:00
|
|
|
justify-content: space-evenly;
|
2023-06-22 18:05:23 +00:00
|
|
|
flex-wrap: wrap;
|
2023-07-26 07:40:22 +00:00
|
|
|
gap: 0.5rem;
|
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;
|
2023-07-26 07:40:22 +00:00
|
|
|
width: 100%;
|
2023-06-22 18:05:23 +00:00
|
|
|
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-22 18:05:23 +00:00
|
|
|
/* MAIN CONTENT */
|
2023-06-27 00:28:56 +00:00
|
|
|
main,
|
|
|
|
.content-container,
|
|
|
|
.divided-article {
|
2023-06-22 18:05:23 +00:00
|
|
|
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-27 00:28:56 +00:00
|
|
|
article:not(.divided-article),
|
|
|
|
.content-section,
|
|
|
|
.qna-section {
|
2023-07-26 08:44:57 +00:00
|
|
|
background-color: var(--clr-content-bg);
|
2023-06-22 18:05:23 +00:00
|
|
|
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
|
|
|
article, .content-container {
|
|
|
|
order: 1;
|
|
|
|
}
|
2023-06-26 22:45:40 +00:00
|
|
|
|
2023-06-27 14:57:47 +00:00
|
|
|
.sidebar--sticky {
|
|
|
|
position: sticky;
|
|
|
|
top: 5rem;
|
|
|
|
}
|
|
|
|
|
2023-09-10 15:21:28 +00:00
|
|
|
.left-sidebar,
|
|
|
|
.right-sidebar {
|
|
|
|
padding: 1rem;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
background-color: var(--clr-content-bg);
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
2023-06-26 23:42:12 +00:00
|
|
|
|
2023-09-10 15:21:28 +00:00
|
|
|
.left-sidebar:empty,
|
|
|
|
.right-sidebar:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-06-22 18:05:23 +00:00
|
|
|
/* 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
|
|
|
}
|
|
|
|
|
2023-06-26 23:42:12 +00:00
|
|
|
/* CUSTOM CLASSES FOR SPECIAL ELEMENTS */
|
|
|
|
.inline-code {
|
|
|
|
font-family: monospace;
|
2023-08-29 08:30:47 +00:00
|
|
|
border: 0.07rem solid var(--clr-code-border);
|
2023-06-26 23:42:12 +00:00
|
|
|
padding: 0.125rem 0.3rem;
|
2023-08-29 08:30:47 +00:00
|
|
|
margin: 0 0.125rem;
|
|
|
|
background: var(--clr-code-bg);
|
2023-06-26 23:42:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.code-snippet {
|
2023-08-29 08:30:47 +00:00
|
|
|
background: var(--clr-code-bg);
|
2023-07-26 08:44:57 +00:00
|
|
|
border: 0.08rem solid var(--clr-code-border);
|
2023-06-26 23:42:12 +00:00
|
|
|
display: block;
|
|
|
|
padding: 0.5em 0.8rem;
|
|
|
|
overflow-x: auto;
|
|
|
|
word-break: keep-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-box {
|
2023-08-29 08:30:47 +00:00
|
|
|
background: var(--clr-quote-bg);
|
2023-09-05 23:52:15 +00:00
|
|
|
border: 0.1em solid var(--clr-main-heading);
|
|
|
|
padding: 0.4em 0.8em;
|
|
|
|
margin: 0.5em 0;
|
2023-06-26 23:42:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Link button */
|
|
|
|
.link-btn {
|
|
|
|
font: 1.3rem 'Source Sans Pro', Arial, sans-serif;
|
|
|
|
display: inline-block;
|
2023-07-26 08:44:57 +00:00
|
|
|
border: 0.15rem solid var(--clr-link-btn-bg);
|
2023-06-26 23:42:12 +00:00
|
|
|
border-radius: 0.6rem;
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
margin: 0.3rem;
|
2023-08-29 08:30:47 +00:00
|
|
|
background: var(--clr-link-btn-bg);
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-link-btn-txt);
|
2023-06-26 23:42:12 +00:00
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 700;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn,
|
|
|
|
.link-btn:hover,
|
|
|
|
.link-btn:visited {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-btn:hover {
|
|
|
|
cursor: pointer;
|
2023-08-29 08:30:47 +00:00
|
|
|
background: var(--clr-link-btn-hover);
|
2023-06-26 23:42:12 +00:00
|
|
|
transition: 0.5s;
|
|
|
|
}
|
|
|
|
|
2023-08-29 08:30:47 +00:00
|
|
|
.link-btn:focus {
|
2023-08-29 08:41:28 +00:00
|
|
|
outline-offset: 0.2em;
|
|
|
|
outline: 0.15em solid var(--clr-link);
|
2023-08-29 08:30:47 +00:00
|
|
|
}
|
|
|
|
|
2023-08-28 06:52:16 +00:00
|
|
|
/* Q&A accordion */
|
2023-06-26 23:42:12 +00:00
|
|
|
.qna-accordion {
|
2023-08-28 06:52:16 +00:00
|
|
|
padding: 1rem 0;
|
2023-06-26 23:42:12 +00:00
|
|
|
}
|
|
|
|
|
2023-08-28 06:52:16 +00:00
|
|
|
.qna-accordion__question {
|
2023-06-26 23:42:12 +00:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
2023-08-26 11:00:15 +00:00
|
|
|
|
2023-06-26 23:42:12 +00:00
|
|
|
.qna-accordion__answer {
|
2023-08-28 06:52:16 +00:00
|
|
|
padding: 0.7rem 1.5rem;
|
2023-06-26 23:42:12 +00:00
|
|
|
margin-top: 0.5rem;
|
|
|
|
background: hsla(0, 0%, 100%, 0.15);
|
|
|
|
}
|
|
|
|
|
2023-08-26 11:00:15 +00:00
|
|
|
/* Spoiler Accordion */
|
2023-08-28 06:52:16 +00:00
|
|
|
.spoiler-accordion {
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
}
|
|
|
|
|
2023-08-26 11:00:15 +00:00
|
|
|
.spoiler-accordion__hint {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spoiler-accordion__spoiler {
|
2023-08-28 06:52:16 +00:00
|
|
|
padding: 0 1rem;
|
2023-08-26 11:00:15 +00:00
|
|
|
}
|
|
|
|
|
2023-06-26 23:42:12 +00:00
|
|
|
/* Embedded YouTube video */
|
|
|
|
.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%;
|
|
|
|
}
|
|
|
|
|
2023-07-26 08:29:53 +00:00
|
|
|
/* Website link button */
|
2023-07-26 07:02:46 +00:00
|
|
|
.site-btn__container {
|
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
align-items: center;
|
2023-07-26 08:29:53 +00:00
|
|
|
margin: 0.5rem 0;
|
2023-07-26 07:02:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site-btn__textarea {
|
|
|
|
width: 10rem;
|
|
|
|
height: 2.5rem;
|
|
|
|
font-size: 0.75rem;
|
|
|
|
background-color:black;
|
2023-07-26 08:44:57 +00:00
|
|
|
color: var(--clr-body-txt);
|
2023-07-26 07:02:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.copy-txt-btn {
|
|
|
|
border: none;
|
2023-07-26 08:44:57 +00:00
|
|
|
background: var(--clr-link-btn-bg);
|
|
|
|
color: var(--clr-body-txt);
|
2023-07-26 07:02:46 +00:00
|
|
|
padding: 0.3rem 0.8rem;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.copy-txt-btn:hover {
|
2023-07-26 08:44:57 +00:00
|
|
|
background: var(--clr-link-hover);
|
2023-07-26 07:02:46 +00:00
|
|
|
}
|
|
|
|
|
2023-07-27 03:03:47 +00:00
|
|
|
/* Web button lists */
|
|
|
|
.web-btn-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2023-10-23 07:28:23 +00:00
|
|
|
/* References list */
|
2023-08-10 03:09:56 +00:00
|
|
|
.references-list {
|
|
|
|
font-size: 0.96em;
|
|
|
|
}
|
|
|
|
|
2023-10-23 07:28:23 +00:00
|
|
|
/* Pride flag backgrounds */
|
|
|
|
.flag-ace {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#000000 0 25%,
|
|
|
|
#a3a3a3 0 50%,
|
|
|
|
#ffffff 0 75%,
|
|
|
|
#800080 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-bi {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#d60270 0 40%,
|
|
|
|
#9b4f97 0 60%,
|
|
|
|
#0038a7 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-lesbian {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#d52d00 0 14.29%,
|
|
|
|
#ef7627 0 28.57%,
|
|
|
|
#ff9a56 0 42.86%,
|
|
|
|
#ffffff 0 57.14%,
|
|
|
|
#d362a4 0 71.43%,
|
|
|
|
#b85490 0 86.71%,
|
|
|
|
#a30262 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-non-binary {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#fff430 0 25%,
|
|
|
|
#ffffff 0 50%,
|
|
|
|
#9c59d1 0 75%,
|
|
|
|
#000000 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-pan {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#ff218c 0 33.33%,
|
|
|
|
#ffd800 0 66.67%,
|
|
|
|
#21b1ff 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-rainbow {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#e40303 0 16.67%,
|
|
|
|
#ff8c00 0 33.33%,
|
|
|
|
#ffed00 0 50%,
|
|
|
|
#008026 0 66.67%,
|
|
|
|
#004dff 0 83.33%,
|
|
|
|
#750787 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-trans {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
#5bcefa 0 20%,
|
|
|
|
#f5a9b8 0 40%,
|
|
|
|
#ffffff 0 60%,
|
|
|
|
#f5a9b8 0 80%,
|
|
|
|
#5bcefa 0 100%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.flag-intersex {
|
|
|
|
background: radial-gradient(closest-side circle at center,
|
|
|
|
#ffd800 44%,
|
|
|
|
#7902aa 44%,
|
|
|
|
#7902aa 56%,
|
|
|
|
#ffd800 56%
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2023-11-09 11:13:38 +00:00
|
|
|
.flag-progress {
|
|
|
|
background:
|
|
|
|
conic-gradient(at 14% 50%, #0000 221.25deg, #ffffff 222deg 318deg, #0000 318.25deg),
|
|
|
|
conic-gradient(at 23% 50%, #0000 221.25deg, #f5a9b8 222deg 318deg, #0000 318.25deg),
|
|
|
|
conic-gradient(at 32% 50%, #0000 221.25deg, #5bcefa 222deg 318deg, #0000 318.25deg),
|
|
|
|
conic-gradient(at 41% 50%, #0000 221.25deg, #784F17 222deg 318deg, #0000 318.25deg),
|
|
|
|
conic-gradient(at 50% 50%, #0000 221.25deg, black 222deg 318deg, #0000 318.25deg),
|
|
|
|
linear-gradient(#e40303 0 16.66%, #ff8c00 0 33.33%, #ffed00 0 50%, #008026 0 66.66%, #004dff 0 83.33%, #750787 0);
|
|
|
|
}
|
|
|
|
|
2023-11-09 12:55:34 +00:00
|
|
|
.flag-progress-intersex {
|
|
|
|
background:
|
|
|
|
radial-gradient(circle at 9.75% 50%, #0000 6.66%, #7902aa 6.7% 8.33%, #0000 8.4%),
|
|
|
|
conic-gradient(at 26.66% 50%, #0000 222.75deg, #ffd800 0 317.25deg, #0000 0),
|
|
|
|
conic-gradient(at 33% 50%, #0000 222.75deg, #ffffff 0 317.25deg, #0000 0),
|
|
|
|
conic-gradient(at 39% 50%, #0000 222.75deg, #f5a9b8 0 317.25deg, #0000 0),
|
|
|
|
conic-gradient(at 45.66% 50%, #0000 222.75deg, #5bcefa 0 317.25deg, #0000 0),
|
|
|
|
conic-gradient(at 52% 50%, #0000 222.75deg, #753000 0 317.25deg, #0000 0),
|
|
|
|
conic-gradient(at 58.33% 50%, #0000 222.75deg, #000 0 317.25deg, #0000 0),
|
|
|
|
linear-gradient(#e40303 0 16.66%, #ff8c00 0 33.33%, #ffed00 0 50%, #008026 0 66.66%, #004dff 0 83.33%, #750787 0);
|
|
|
|
}
|
|
|
|
|
2023-06-26 22:45:40 +00:00
|
|
|
/* FOOTER COMPONENT */
|
2023-08-13 11:57:38 +00:00
|
|
|
.main-footer {
|
2023-08-16 04:21:49 +00:00
|
|
|
background: var(--clr-main-footer-bg);
|
2023-06-27 14:57:47 +00:00
|
|
|
width: 100%;
|
2023-06-22 18:05:23 +00:00
|
|
|
padding: 0.5rem;
|
|
|
|
text-align: center;
|
2023-06-26 23:04:20 +00:00
|
|
|
}
|
|
|
|
|
2023-08-13 11:57:38 +00:00
|
|
|
.main-footer p {
|
2023-06-26 23:04:20 +00:00
|
|
|
padding: 0;
|
2023-06-15 09:18:46 +00:00
|
|
|
}
|