This repository has been archived on 2025-01-29. You can view files and clone it, but cannot push or open issues or pull requests.

382 lines
5.5 KiB
CSS
Raw Normal View History

:root {
--text-color: #383c3f;
}
body {
font-family: "Noto Sans", sans-serif;
margin: 0;
}
2025-01-04 19:13:47 -08:00
@media (prefers-color-scheme: dark) {
:root {
--text-color: white;
}
body {
background-color: black;
}
}
2024-12-31 23:09:19 -08:00
div#particle-container {
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
2024-07-24 13:39:34 -07:00
nav {
2024-11-23 21:34:28 -08:00
display: grid;
grid-template-columns: 1fr min-content 1fr;
align-items: center;
padding: 12px;
2025-01-04 19:13:47 -08:00
border-bottom: solid 1px var(--text-color);
2024-12-31 23:09:19 -08:00
z-index: 1;
2024-07-24 17:38:59 -07:00
margin: 0 auto;
width: 95%;
2024-11-23 21:34:28 -08:00
box-sizing: border-box;
overflow-wrap: anywhere;
2024-07-24 17:38:59 -07:00
}
nav .nav-left {
2024-11-23 21:34:28 -08:00
justify-self: left;
grid-column: 1;
2024-07-24 17:38:59 -07:00
}
nav .nav-center {
2024-11-23 21:34:28 -08:00
justify-self: center;
grid-column: 2;
2024-07-24 17:38:59 -07:00
}
nav .nav-right {
2024-11-23 21:34:28 -08:00
justify-self: right;
grid-column: 3;
2024-07-24 13:39:34 -07:00
}
nav ul {
2024-11-23 21:34:28 -08:00
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
2024-07-24 13:39:34 -07:00
}
2024-07-24 17:38:59 -07:00
nav a {
2024-11-23 21:34:28 -08:00
padding: 8px;
color: var(--text-color);
2024-11-23 21:34:28 -08:00
text-decoration: none;
2024-07-24 13:39:34 -07:00
display: flex;
cursor: pointer;
align-items: center;
2024-07-24 13:39:34 -07:00
}
2024-07-24 17:38:59 -07:00
nav a.title {
2024-11-23 21:34:28 -08:00
font-size: 140%;
font-weight: bold;
2024-07-24 13:39:34 -07:00
}
span.modalbg.hidden {
2024-11-23 21:34:28 -08:00
display: none;
}
2024-07-24 17:38:59 -07:00
span.modalbg {
position: fixed;
z-index: 1;
padding: 0;
margin: auto;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.2);
}
span.modalbg div {
width: 60%;
margin: 100px auto;
padding: 16px;
color: var(--text-color);
border-radius: 8px;
box-shadow: 1px 1px 8px #00000033;
background-color: #ffffffbb;
backdrop-filter: blur(5px);
animation-name: modal-animate;
animation-duration: 0.4s
}
@keyframes modal-animate {
from {
transform: translate(0px, -300px);
opacity:0
}
to {
transform: translate(0px, 0px);
opacity: 1;
}
}
span.modalbg div button.close {
float: right;
width: min-content;
2024-11-23 21:34:28 -08:00
background: none;
border: none;
outline: none;
2024-11-23 21:34:28 -08:00
cursor: pointer;
2024-07-24 17:38:59 -07:00
}
span.modalbg div button.close img {
width: auto;
height: 25px;
}
span.modalbg div ul {
list-style-type: none;
margin: 0;
padding: 0;
}
span.modalbg div ul li {
margin: 12px;
}
span.modalbg div ul li a {
color: var(--text-color);
padding: 8px;
text-decoration: none;
font-size: 120%;
}
nav img.colormatic-logo {
width: auto;
height: 40px;
}
nav .menu-button img {
width: 40px;
height: auto;
}
nav .git-icon img {
width: auto;
height: 1.5em;
}
@media (prefers-color-scheme: dark) {
nav a img,
span.modalbg div button.close img {
filter: invert(1);
}
span.modalbg div {
background-color: #000000bb;
}
}
2024-07-24 17:38:59 -07:00
nav div.inline {
2024-11-23 21:34:28 -08:00
display: flex;
2024-07-24 17:38:59 -07:00
}
nav a.responsive {
display: none;
}
@media screen and (max-width: 900px) {
nav {
padding: 6px 0;
}
nav .git-icon img {
width: auto;
height: 35px;
}
nav a.responsive {
display: flex;
2024-11-23 21:34:28 -08:00
}
nav ul.responsive-hidden {
display: none;
}
nav a.responsive {
display: initial;
}
2024-07-24 17:38:59 -07:00
}
2025-01-02 14:23:57 -08:00
div.panel {
2025-01-01 09:38:35 -08:00
color: var(--text-color);
border: solid 1px #00000033;
border-radius: 8px;
box-shadow: 1px 1px 8px #00000033;
background-color: #ffffff22;
2025-01-04 19:17:02 -08:00
backdrop-filter: blur(5px);
2025-01-01 09:38:35 -08:00
}
2024-07-24 13:39:34 -07:00
main div.heading {
color: var(--text-color);
2025-01-14 20:00:36 -08:00
font-size: 300%;
2024-11-23 21:34:28 -08:00
text-align: center;
2024-07-24 13:39:34 -07:00
}
2025-01-14 20:00:36 -08:00
main span.name-title {
display: block;
color: var(--text-color);
font-size: 550%;
2025-01-14 20:00:36 -08:00
text-align: center;
}
2024-07-24 13:39:34 -07:00
main div.hero {
2024-11-23 21:34:28 -08:00
width: 60%;
margin: 16px auto 16px auto;
padding: 16px;
text-align: center;
2024-07-24 13:39:34 -07:00
}
@media screen and (max-width: 900px) {
2024-11-23 21:34:28 -08:00
main div.hero {
width: 80%;
}
2024-07-24 13:39:34 -07:00
}
main div.hero h1 a {
color: var(--text-color);
2024-11-23 21:34:28 -08:00
text-decoration: none;
2024-07-24 13:39:34 -07:00
}
p.justify {
2024-11-23 21:34:28 -08:00
text-align: justify;
text-justify: auto;
margin-left: auto;
margin-right: auto;
2024-07-24 13:39:34 -07:00
}
main div.hero p.justify {
width: 60%;
}
2024-07-24 13:39:34 -07:00
main div.hero ul {
2024-11-23 21:34:28 -08:00
margin-left: auto;
margin-right: auto;
2024-07-24 14:17:10 -07:00
}
2024-08-05 13:44:21 -07:00
main img.banner {
2024-11-23 21:34:28 -08:00
display: block;
width: 70%;
margin: 32px auto 32px auto;
border: solid 1px #00000033;
border-radius: 16px;
box-shadow: 1px 1px 8px #00000033;
2024-08-05 13:44:21 -07:00
}
@media screen and (max-width: 900px) {
2024-11-23 21:34:28 -08:00
main img.banner {
width: 95%;
border-radius: 12px;
margin: 24px auto 24px auto;
}
main div.hero p.justify {
width: 100%;
2024-09-27 19:39:35 -07:00
}
2024-08-05 13:44:21 -07:00
}
2024-07-24 14:17:10 -07:00
ul.linktree {
2024-11-23 21:34:28 -08:00
list-style-type: none;
margin: 0;
padding: 8px;
padding-left: 8px;
width: 30%;
2024-07-24 14:17:10 -07:00
}
@media screen and (max-width: 900px) {
2024-11-23 21:34:28 -08:00
ul.linktree {
width: 60%;
}
2024-07-24 14:17:10 -07:00
}
ul.linktree li {
2024-11-23 21:34:28 -08:00
margin: 12px;
text-align: center;
2024-07-24 14:17:10 -07:00
}
2024-07-24 15:20:29 -07:00
ul.linktree li a { /* Pill button shape */
2024-11-23 21:34:28 -08:00
text-decoration: none;
color: white;
2024-11-23 21:34:28 -08:00
background-color: #4c5053;
padding: 8px;
border-radius: 50px;
box-shadow: 2px 2px 4px #00000066;
transition-duration: 0.5s;
2024-11-23 21:34:28 -08:00
display: inline-block;
width: 100%;
box-sizing: border-box;
2024-07-24 13:39:34 -07:00
}
2024-07-24 15:20:29 -07:00
ul.linktree li a:hover {
2024-11-23 21:34:28 -08:00
cursor: pointer;
2025-01-14 20:00:36 -08:00
background-color: #383c3f;
2024-07-24 15:20:29 -07:00
}
div.double-linktree {
display: flex;
justify-content: center;
}
div.double-linktree ul.linktree {
margin: 0;
}
ul.videolist {
list-style-type: none;
display: flex;
2024-12-31 23:09:19 -08:00
flex-wrap: wrap;
justify-content: center;
padding-left: 0;
}
ul.videolist li {
padding: 8px;
}
ul.videolist li a {
text-decoration: none;
}
ul.videolist li a img {
width: 250px;
height: auto;
border-radius: 8px;
}
ul.videolist li a span {
display: block;
color: var(--text-color);
font-size: 120%;
}
img.pixelart {
image-rendering: pixelated;
}
2024-07-24 13:39:34 -07:00
div.footer {
display: flex;
justify-content: space-between;
2025-01-04 19:13:47 -08:00
border-top: solid 1px var(--text-color);
width: 95%;
padding: 4px;
margin: 0 auto;
2024-07-24 13:39:34 -07:00
}
div.footer p {
color: var(--text-color);
padding: 4px 10%;
2024-07-24 13:39:34 -07:00
}
@media screen and (max-width: 900px) {
div.footer {
flex-direction: column;
}
div.footer p {
text-align: center;
padding: 4px;
margin: 4px;
}
}