site/style.css

810 lines
19 KiB
CSS
Raw Normal View History

/* background wallpaper, global font */
2024-04-19 17:16:50 -05:00
body {
background: linear-gradient(125deg,
color-mix(in srgb, var(--rosewater) 30%, var(--base)),
color-mix(in srgb, var(--flamingo) 30%, var(--base)),
color-mix(in srgb, var(--pink) 30%, var(--base)),
color-mix(in srgb, var(--mauve) 30%, var(--base)),
color-mix(in srgb, var(--red) 30%, var(--base)),
color-mix(in srgb, var(--maroon) 30%, var(--base)),
color-mix(in srgb, var(--peach) 30%, var(--base)),
color-mix(in srgb, var(--yellow) 30%, var(--base)),
color-mix(in srgb, var(--green) 30%, var(--base)),
color-mix(in srgb, var(--teal) 30%, var(--base)),
color-mix(in srgb, var(--sky) 30%, var(--base)),
color-mix(in srgb, var(--sapphire) 30%, var(--base)),
color-mix(in srgb, var(--blue) 30%, var(--base)),
color-mix(in srgb, var(--lavender) 30%, var(--base)));
2024-05-31 09:20:16 -05:00
background-size: 1000% 1000%;
animation: bg-gradient 40s ease infinite;
-moz-animation: bg-gradient 40s ease infinite;
-webkit-animation: bg-gradient 40s ease infinite;
2024-10-01 09:43:42 -05:00
font-family: 'JetBrains Mono', monospace, system-ui, sans-serif;
2024-09-28 01:25:39 -05:00
font-size: 1.125rem;
2024-08-11 13:44:26 -05:00
margin: unset !important; /* idk why it does that */
2024-04-19 17:16:50 -05:00
}
/* terminal window styling */
2024-04-19 17:16:50 -05:00
.terminal {
/* the titlebar of the terminals */
.term-titlebar {
display: grid;
2024-08-11 13:44:26 -05:00
grid-template-columns: 2fr auto 2fr;
2024-04-19 17:16:50 -05:00
grid-template-areas:
"term-icon term-title term-buttons";
margin: -10px 0px -20px;
/* terminal icon */
2024-12-08 04:24:22 -06:00
.tabler-icon {
width: 25px !important;
height: 25px !important;
align-self: center !important;
2024-04-19 17:16:50 -05:00
}
/* title text */
2024-04-19 23:26:23 -05:00
p, a {
font-family: 'Lexend Deca', system-ui, sans-serif;
2024-04-19 17:16:50 -05:00
font-size: 16px;
2024-04-19 23:26:23 -05:00
color: var(--text);
text-decoration: none;
2024-04-19 17:16:50 -05:00
grid-column: 2;
}
2024-12-10 16:28:30 -06:00
a:hover {
text-shadow: 0em 0em 0.25em var(--text);
}
2024-04-19 17:16:50 -05:00
/* window buttons */
div {
display: flex;
height: 22px;
align-self: center;
margin-left: auto;
#minimize-btn, #maximize-btn, #close-btn {
2024-04-19 17:16:50 -05:00
width: 22px;
height: 22px;
background: var(--surface2);
border-radius: 50%;
transition: .2s background;
}
#maximize-btn, #close-btn {
2024-04-19 17:16:50 -05:00
margin-left: 10px;
}
}
}
/* the prompt */
.term-input {
.folder {
2024-12-08 04:24:22 -06:00
color: var(--sapphire) !important;
background-color: var(--crust);
border-radius: 3em;
padding: 0px 12px 0px 12px;
}
.status {
color: var(--green);
font-size: 24px;
margin-left: 3px;
margin-right: -8px;
vertical-align: middle;
}
.blink {
display: none;
color: var(--text);
margin-left: 3px;
padding-bottom: 4px;
animation: blink .8s linear infinite;
2024-05-31 09:20:16 -05:00
-moz-animation: blink .8s linear infinite;
-webkit-animation: blink .8s linear infinite;
}
2024-12-08 04:24:22 -06:00
svg {
fill: var(--sapphire) !important;
}
}
2024-04-19 17:16:50 -05:00
background-color: var(--base);
color: var(--text);
border: var(--mantle) solid 3px;
border-radius: 20px;
max-width: 48em;
padding: 14px 24px;
2023-11-03 17:50:44 -05:00
margin-left: auto;
margin-right: auto;
2024-04-19 17:16:50 -05:00
margin-bottom: 3.4em;
2024-12-10 22:28:05 -06:00
transition: .2s border-color;
2024-04-19 17:16:50 -05:00
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
2024-04-19 17:16:50 -05:00
.terminal:hover {
.term-titlebar {
div {
#minimize-btn {
background: var(--yellow);
transition: .2s background;
}
2024-04-19 17:16:50 -05:00
#maximize-btn {
background: var(--green);
transition: .2s background;
}
2023-11-05 18:28:10 -06:00
2024-04-19 17:16:50 -05:00
#close-btn {
background: var(--red);
transition: .2s background;
}
}
}
.term-input {
.blink {
display: unset;
}
}
2024-04-19 17:16:50 -05:00
border-color: var(--green);
2024-04-19 17:16:50 -05:00
transition: .2s border-color;
2023-11-12 03:20:34 -06:00
}
2024-04-19 23:26:23 -05:00
.terminal > .term-titlebar > p:hover, a:hover {
text-decoration: underline;
}
2023-11-12 03:20:34 -06:00
/* top navbar styling, attempts to look like a window manager bar */
2024-08-11 13:44:26 -05:00
.navbar {
2024-08-11 23:58:04 -05:00
display: flex;
flex-direction: row;
2024-08-11 13:44:26 -05:00
position: fixed;
top: 0 !important;
2024-08-11 13:48:17 -05:00
z-index: 10;
2024-08-11 13:44:26 -05:00
min-width: 100%;
max-width: 100%;
2024-08-11 23:58:04 -05:00
min-height: 1.8em !important;
max-height: 1.8em !important;
margin-top: .5em;
2024-08-11 13:44:26 -05:00
font-family: 'Lexend Deca', system-ui, sans-serif;
2024-08-11 13:44:26 -05:00
align-content: center;
vertical-align: middle;
color: var(--text);
.nav-base {
2024-08-11 23:58:04 -05:00
padding: 0px .2em !important;
2024-08-11 13:44:26 -05:00
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 15px;
max-width: fit-content;
align-content: center;
}
.nav-baselink {
background-color: var(--green);
text-decoration: unset !important;
color: var(--crust);
2024-08-11 23:58:04 -05:00
margin-left: .5em !important;
2024-12-08 04:24:22 -06:00
svg {
color: var(--base) !important;
}
2024-08-11 13:44:26 -05:00
}
2024-10-01 11:03:06 -05:00
.nav-baselink-mobile {
2024-08-11 13:44:26 -05:00
display: none;
}
.nav-links {
background-color: var(--base);
color: var(--text);
padding: 0px 5px 0px;
2024-08-11 23:58:04 -05:00
margin-left: .5em !important;
2024-08-11 13:44:26 -05:00
}
.nav-links a {
color: var(--text);
text-decoration: unset !important;
}
.nav-links a:hover {
color: var(--green);
text-decoration: underline !important;
}
.nav-systray {
2024-10-01 00:52:27 -05:00
background-color: var(--base);
2024-08-11 13:44:26 -05:00
color: var(--text);
2024-08-11 23:58:04 -05:00
margin-left: auto !important;
margin-right: .5em !important;
2024-08-11 13:44:26 -05:00
i {
padding: 0px 2px 0px 2px;
}
}
2024-12-10 22:05:53 -06:00
.nav-powerbutton {
background-color: var(--red) !important;
margin-left: .07rem !important;
padding-right: .4rem !important;
padding-left: .4rem !important;
svg {
color: var(--base) !important;
}
}
2024-08-11 13:44:26 -05:00
a, p {
margin: unset !important;
}
small {
opacity: .7;
}
2024-12-08 04:24:22 -06:00
svg {
color: var(--text) !important;
}
2024-08-11 13:44:26 -05:00
}
2024-10-01 00:52:27 -05:00
/* table of contents button */
.toc details {
display: block !important;
2024-10-01 00:52:27 -05:00
position: fixed;
margin: 2em 0px 0px .4em !important;
min-width: 2em;
border-radius: 8px;
z-index: 9999;
padding: unset !important;
box-shadow: unset !important;
right: .5em;
top: 1em;
a {
display: inline-flex;
align-items: center;
color: var(--text);
padding: .6em .7em;
text-decoration: none;
}
2024-10-01 00:52:27 -05:00
a:hover {
2024-10-01 00:52:27 -05:00
color: var(--green);
text-decoration: underline;
2024-10-01 00:52:27 -05:00
}
i {
padding-right: .4em;
}
ul {
2024-10-01 00:52:27 -05:00
background-color: var(--base);
box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 15px;
border-radius: 8px;
margin-top: 2.5em;
max-width: 40em;
width: max-content;
z-index: 9999;
2024-10-01 00:52:27 -05:00
li {
2024-10-01 00:52:27 -05:00
margin-left: -.5em;
padding-bottom: unset !important;
}
li::marker {
color: var(--text);
2024-10-01 00:52:27 -05:00
}
}
}
2024-10-01 00:52:27 -05:00
.toc details summary {
display: block !important;
right: 0em !important;
position: absolute;
font-family: 'Lexend Deca', system-ui, sans-serif;
background-color: var(--green);
box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 15px;
text-decoration: unset !important;
color: var(--crust);
padding: .3em;
border-radius: 8px;
width: 1.2em;
i:not(:first-child) {
margin-left: -.5em;
margin-right: -.9em;
opacity: .6;
2024-10-01 00:52:27 -05:00
}
}
.toc details summary::after {
margin-left: unset;
}
/* text formatting and config stuff
font-family and <p> is set under .terminal */
2023-11-12 03:20:34 -06:00
/* headings */
2024-04-19 23:26:23 -05:00
h1, h1 a {
color: var(--text);
font-size: 2rem;
2024-04-19 23:26:23 -05:00
text-decoration: none;
2023-11-12 03:20:34 -06:00
}
/* apparently having more than one h1 is against web standards
but i prefer how it looks so i just use the same styling again */
h2, h2 a {
color: var(--text);
2024-09-28 01:25:39 -05:00
font-size: 2rem;
text-decoration: none;
2023-11-12 03:20:34 -06:00
}
2024-09-30 22:42:57 -05:00
h3, h3 a {
2024-09-28 01:25:39 -05:00
font-size: 2rem;
2023-11-12 03:20:34 -06:00
}
/* text */
p, li, button {
2024-09-28 01:25:39 -05:00
font-size: 1.125rem;
2023-11-12 13:42:49 -06:00
}
2024-04-19 17:16:50 -05:00
/* links should look good i think */
a {
2024-09-28 01:25:39 -05:00
font-size: 1.125rem;
2024-04-19 17:16:50 -05:00
color: var(--green);
2024-12-10 16:28:30 -06:00
transition: 0.2s;
}
a:hover {
transition: 0.2s;
text-shadow: 0em 0em 0.25em var(--green);
2023-11-15 09:54:00 -06:00
}
2024-04-19 17:16:50 -05:00
/* smol text */
2024-06-05 00:30:27 -05:00
small, small a {
2024-09-28 01:25:39 -05:00
font-size: 0.875rem;
2023-11-14 22:55:10 -06:00
}
2024-04-19 17:16:50 -05:00
/* lists need some styling */
li {
margin-left: -1em;
2024-04-19 17:16:50 -05:00
padding-bottom: 18px;
2023-11-14 22:55:10 -06:00
}
2024-04-19 17:16:50 -05:00
/* gay ass text */
.rainbow {
animation: 2s linear infinite rainbow;
2024-05-31 09:20:16 -05:00
-webkit-animation: 2s linear infinite rainbow;
-moz-animation: 2s linear infinite rainbow;
2023-11-12 03:20:34 -06:00
}
2024-04-19 23:26:23 -05:00
/* heading 1 is also clickable */
h1 a:hover {
text-decoration: underline;
}
2024-12-08 04:24:22 -06:00
/* the tabler icons svgs styling */
.tabler-icon, .icon .icon-tabler {
width: 1.3rem;
height: 1.3rem;
padding-bottom: .2rem;
vertical-align: middle !important;
color: var(--text) !important;
}
/* the dot */
.dot {
display: inline-flex;
width: .4rem;
height: .4rem;
background-color: var(--text);
border-radius: 100%;
vertical-align: middle;
margin-left: .2rem;
margin-right: .2rem;
margin-bottom: .1rem;
}
/* line seperator */
#seperator {
display: block;
height: 1px;
width: auto;
margin-top: 20px;
margin-bottom: 20px;
border-bottom: 1px var(--surface2) solid;
}
/* summary styling */
summary {
display: flex;
}
/* styled summary styling */
details.styled {
padding: .5em;
border-radius: 1em;
background-color: var(--surface0);
summary {
display: inline-block;
width: 100%;
i {
vertical-align: middle;
padding-bottom: .2rem;
}
}
ul li {
padding-bottom: unset !important;
}
}
details.styled[open] {
summary {
border-bottom: solid 1px var(--surface2);
padding-bottom: .5rem;
}
}
2024-10-09 22:42:01 -05:00
/* audio */
audio {
border-radius: 3rem;
}
/* padding above first terminal */
2024-10-01 00:52:27 -05:00
body:has(div.toc) {
.terminal:nth-child(3) {
margin-top: 4.8em;
}
}
body:not(:has(div.toc)) {
.terminal:nth-child(2) {
margin-top: 3.8em;
}
2023-11-14 21:41:26 -06:00
}
/* footer/credits */
2024-04-19 17:16:50 -05:00
footer {
.fediring {
a {
display: inline-grid;
2024-09-28 01:25:39 -05:00
font-size: 1.5rem;
color: var(--green);
margin-bottom: .5em;
vertical-align: bottom;
}
[href="https://fediring.net"] {
2024-12-08 04:24:22 -06:00
color: var(--text);
background: color-mix(in srgb, var(--flamingo) 25%, transparent);
padding: 0px 10px 0px 10px;
border-radius: 5px;
}
2024-09-12 21:34:31 -05:00
[href="https://keithhacks.cyou/furryring.php"] {
2024-12-08 04:24:22 -06:00
color: var(--text);
background: color-mix(in srgb, var(--rosewater) 25%, transparent);
2024-09-12 21:34:31 -05:00
padding: 0px 10px 0px 10px;
border-radius: 5px;
}
[href="https://stellophiliac.github.io/roboring"] {
2024-12-08 04:24:22 -06:00
color: var(--text);
background: color-mix(in srgb, var(--overlay1) 25%, transparent);
padding: 0px 10px 0px 10px;
border-radius: 5px;
}
2024-09-12 21:34:31 -05:00
[href*="prev"] {
2024-12-08 04:24:22 -06:00
background: color-mix(in srgb, var(--yellow) 25%, transparent);
padding: 4px 6px;
border-radius: 5px;
2024-12-08 04:24:22 -06:00
svg {
color: var(--peach) !important;
}
}
[href*="next"] {
2024-12-08 04:24:22 -06:00
background: color-mix(in srgb, var(--green) 25%, transparent);
padding: 4px 5px;
border-radius: 5px;
2024-12-08 04:24:22 -06:00
svg {
color: var(--green) !important;
}
}
}
2024-04-19 17:16:50 -05:00
p, a {
text-align: center;
2024-09-28 01:25:39 -05:00
font-size: 0.938rem;
margin: .2em 0px .2em;
text-decoration: none;
2024-01-02 21:23:57 -06:00
}
2024-04-19 17:16:50 -05:00
img {
padding-top: 18px;
2024-04-19 17:16:50 -05:00
max-width: 30%;
2024-01-02 21:23:57 -06:00
display: flex;
margin-left: auto;
margin-right: auto;
transition: 1s animation;
}
img:hover {
animation: spin 5s infinite linear;
2024-01-02 21:23:57 -06:00
}
.inner-footer {
text-align: center;
padding-top: 14px;
padding-bottom: 14px;
2024-12-08 04:24:22 -06:00
a {
width: 3rem;
height: 3rem;
display: inline-block;
vertical-align: middle;
align-content: center;
border-radius: .5rem;
svg {
width: 2rem !important;
height: 2rem !important;
vertical-align: middle;
}
}
}
2024-04-19 17:16:50 -05:00
}
2024-01-02 21:23:57 -06:00
/* various reusable animations */
@keyframes blink {
0% { opacity: 0; }
50% { opacity: 1.0; }
100% { opacity: 0; }
}
2024-08-11 13:44:26 -05:00
@keyframes blink-navbar-text {
0% { opacity: 0; }
50% { opacity: .8; }
100% { opacity: 0; }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
2024-04-19 17:16:50 -05:00
@keyframes spin-y {
/* values: 128px, 256px, 348px, 396px*/
0% { transform: perspective(396px) rotateY(0); }
100% { transform: perspective(396px) rotateY(360deg); }
}
2024-04-19 17:16:50 -05:00
@keyframes rainbow {
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
2024-04-19 17:16:50 -05:00
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
}
2024-05-31 09:20:16 -05:00
@keyframes bg-gradient {
0% { background-position: 0% 27% }
50% { background-position: 100% 74% }
100% { background-position: 0% 27% }
}
2024-05-31 09:20:16 -05:00
@-moz-keyframes blink {
0% { opacity: 0; }
50% { opacity: 1.0; }
100% { opacity: 0; }
}
2024-08-11 13:44:26 -05:00
@-moz-keyframes blink-navbar-text {
0% { opacity: 0; }
50% { opacity: .8; }
100% { opacity: 0; }
}
@-moz-keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
2024-05-31 09:20:16 -05:00
@-moz-keyframes spin-y {
/* values: 128px, 256px, 348px, 396px*/
0% { transform: perspective(396px) rotateY(0); }
100% { transform: perspective(396px) rotateY(360deg); }
}
2024-05-31 09:20:16 -05:00
@-moz-keyframes rainbow {
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
}
2024-05-31 09:20:16 -05:00
@-moz-keyframes bg-gradient {
0% { background-position: 0% 27% }
50% { background-position: 100% 74% }
100% { background-position: 0% 27% }
}
2024-05-31 09:20:16 -05:00
@-webkit-keyframes blink {
0% { opacity: 0; }
50% { opacity: 1.0; }
100% { opacity: 0; }
}
2024-08-11 13:44:26 -05:00
@-webkit-keyframes blink-navbar-text {
0% { opacity: 0; }
50% { opacity: .8; }
100% { opacity: 0; }
}
@-webkit-keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
2024-05-31 09:20:16 -05:00
@-webkit-keyframes spin-y {
/* values: 128px, 256px, 348px, 396px*/
0% { transform: perspective(396px) rotateY(0); }
100% { transform: perspective(396px) rotateY(360deg); }
}
2024-05-31 09:20:16 -05:00
@-webkit-keyframes rainbow {
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
}
2024-05-31 09:20:16 -05:00
@-webkit-keyframes bg-gradient {
0% { background-position: 0% 27% }
50% { background-position: 100% 74% }
100% { background-position: 0% 27% }
}
2024-01-02 21:23:57 -06:00
2024-09-28 01:25:39 -05:00
/* disable certain animations if user has animations disabled on their system */
@media (prefers-reduced-motion) {
body {
background: var(--crust) !important;
2024-09-28 01:25:39 -05:00
animation: unset !important;
-moz-animation: unset !important;
-webkit-animation: unset !important;
}
.terminal {
.term-titlebar {
div {
#minimize-btn, #maximize-btn, #close-btn {
2024-09-28 01:37:56 -05:00
transition: 0s background !important;
}
}
}
.term-input {
.blink {
animation: unset !important;
-moz-animation: unset !important;
-webkit-animation: unset !important;
}
}
transition: 0s border-color !important;
}
.terminal:hover {
.term-titlebar {
div {
#minimize-btn {
background: var(--yellow);
2024-09-28 01:37:56 -05:00
transition: 0s background !important;
}
#maximize-btn {
background: var(--green);
2024-09-28 01:37:56 -05:00
transition: 0s background !important;
}
#close-btn {
background: var(--red);
2024-09-28 01:37:56 -05:00
transition: 0s background !important;
}
}
}
transition: 0s border-color !important;
}
2024-09-28 01:25:39 -05:00
}
/* modify widths and spacing depending on the size of the display */
2024-04-19 17:16:50 -05:00
@media screen and (max-width: 59em) {
2024-08-11 13:44:26 -05:00
.navbar {
2024-08-11 23:58:04 -05:00
min-height: 1.8em !important;
max-height: 1.8em !important;
flex-wrap: wrap;
2024-08-11 13:44:26 -05:00
2024-08-11 23:58:04 -05:00
.nav-base {
padding: .27em .2em !important;
}
2024-08-11 13:44:26 -05:00
.nav-baselink {
display: none !important;
}
.nav-baselink-mobile {
display: block !important;
2024-10-01 11:03:06 -05:00
position: absolute;
margin: 2em 0px 0px .4em !important;
max-width: 40em;
width: max-content;
2024-10-01 11:03:06 -05:00
border-radius: 8px;
z-index: 9999;
padding: unset !important;
box-shadow: unset !important;
top: -2em;
a {
display: inline-flex;
align-items: center;
color: var(--text);
padding: .6em .7em;
text-decoration: none;
}
a:hover {
color: var(--green);
text-decoration: underline;
}
i {
padding-right: .4em;
}
ul {
background-color: var(--base);
box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 15px;
border-radius: 8px;
max-width: 10em;
width: auto;
z-index: 9999;
2024-10-01 11:03:06 -05:00
li {
list-style-type: none;
margin-left: -2em;
padding-bottom: unset !important;
}
}
}
.nav-baselink-mobile summary {
display: block !important;
margin-top: 0px !important;
font-family: 'Lexend Deca', system-ui, sans-serif;
2024-08-11 13:44:26 -05:00
background-color: var(--green);
2024-10-01 11:03:06 -05:00
box-shadow: rgba(0, 0, 0, 0.35) 0px 3px 15px;
2024-08-11 13:44:26 -05:00
text-decoration: unset !important;
color: var(--crust);
2024-10-01 11:03:06 -05:00
padding: .3em;
border-radius: 8px;
width: 4.7em;
2024-10-01 11:03:06 -05:00
2024-08-11 13:44:26 -05:00
i:not(:first-child) {
margin-left: -.5em;
2024-10-01 11:03:06 -05:00
margin-right: -.9em;
2024-08-11 13:44:26 -05:00
opacity: .6;
}
}
.nav-links {
display: none !important;
}
}
body:has(.toc) {
.terminal:nth-child(3) {
margin-top: 5.4em !important;
}
2024-01-02 21:23:57 -06:00
}
body:not(:has(.toc)) {
.terminal:nth-child(2) {
margin-top: 2.7em !important;
}
}
2024-04-19 17:16:50 -05:00
.terminal {
.term-titlebar {
margin: -16px 0px -24px;
}
2024-08-11 13:44:26 -05:00
margin: 0px .7em .7em;
2024-04-19 17:16:50 -05:00
padding: 10px 16px;
2024-01-02 21:23:57 -06:00
}
2024-05-31 09:20:16 -05:00
}