site/style.css

690 lines
16 KiB
CSS
Raw Normal View History

/* background wallpaper, global font */
2024-04-19 17:16:50 -05:00
body {
2024-12-24 00:49:48 -06:00
background: linear-gradient(var(--ayu-ui-bg), color-mix(in srgb, var(--ayu-accent) 25%, var(--ayu-uip-bg)));
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
}
2024-12-24 00:49:48 -06:00
/* window stylign */
.window {
summary {
display: inline-flex;
min-width: 100%;
background-color: color-mix(in srgb, var(--ayu-accent) 10%, var(--ayu-uip-bg));
opacity: .8;
text-align: center;
vertical-align: middle;
overflow: clip;
transition: .2s opacity;
2024-04-19 17:16:50 -05:00
2024-12-24 00:49:48 -06:00
.titlebar-icon {
background: color-mix(in srgb, var(--ayu-accent) 40%, transparent);
padding: .3rem .4rem .3rem .8rem;
border-right: .2rem solid var(--ayu-accent);
border-bottom-right-radius: 1rem;
color: var(--ayu-e-fg);
2024-04-19 17:16:50 -05:00
}
2024-04-19 23:26:23 -05:00
2024-12-24 00:49:48 -06:00
a {
2024-12-30 22:59:54 -06:00
font-family: 'Inter', system-ui, sans-serif;
2024-12-24 00:49:48 -06:00
padding: .3rem 0rem .3rem .5rem;
2024-04-19 23:26:23 -05:00
text-decoration: none;
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg);
2024-04-19 17:16:50 -05:00
}
2024-12-10 16:28:30 -06:00
a:hover {
2024-12-24 00:49:48 -06:00
text-decoration: underline;
2024-12-10 16:28:30 -06:00
}
2024-04-19 17:16:50 -05:00
div {
margin-left: auto;
2024-12-24 00:49:48 -06:00
padding: .2rem .5rem .2rem 0rem;
2024-04-19 17:16:50 -05:00
2024-12-24 00:49:48 -06:00
span {
svg {
text-align: center;
vertical-align: middle;
color: var(--ayu-e-fg);
}
2024-04-19 17:16:50 -05:00
2024-12-24 00:49:48 -06:00
/* maximize button (which does nothing) */
svg:nth-child(2) {
opacity: .6;
cursor: not-allowed;
}
2024-04-19 17:16:50 -05:00
}
}
2024-12-24 00:49:48 -06:00
/* close button */
svg:nth-child(4) {
background: color-mix(in srgb, var(--ayu-accent) 40%, transparent);
padding: .3rem .5rem .3rem .6rem;
border-left: .2rem solid var(--ayu-accent);
border-bottom-left-radius: 1rem;
color: var(--ayu-e-fg);
transition: background .2s;
transition: color .2s;
}
2024-12-24 00:49:48 -06:00
/* close button (animated on hover) */
svg:nth-child(4):hover {
background: var(--ayu-error);
color: var(--ayu-ui-bg);
transition: background .2s;
transition: color .2s;
2024-12-08 04:24:22 -06:00
}
}
2024-04-19 17:16:50 -05:00
2024-12-24 00:49:48 -06:00
section, article {
padding: .8rem;
}
background-color: var(--ayu-e-bg);
color: var(--ayu-e-fg);
2024-04-19 17:16:50 -05:00
2024-12-24 00:49:48 -06:00
border: var(--ayu-accent) solid .15rem;
border-radius: .6rem;
2024-04-19 17:16:50 -05:00
2024-12-24 00:49:48 -06:00
max-width: 60em;
overflow: clip;
2023-11-03 17:50:44 -05:00
margin-left: auto;
margin-right: auto;
2024-12-24 00:49:48 -06:00
margin-bottom: 2em;
2024-12-24 00:49:48 -06:00
transition: .2s box-shadow;
2024-04-19 17:16:50 -05:00
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
2024-12-24 00:49:48 -06:00
/* window styling when hovered */
.window:hover {
summary {
opacity: 1;
transition: .2s opacity;
}
}
2024-12-24 00:49:48 -06:00
/* window styling when open (default state) */
.window[open] {
summary {
opacity: 1;
border-bottom: .1rem solid var(--ayu-accent);
2023-11-05 18:28:10 -06:00
2024-12-24 00:49:48 -06:00
transition: .2s opacity;
2024-04-19 17:16:50 -05:00
}
2024-12-24 00:49:48 -06:00
border-radius: 2rem .6rem 2rem .6rem;
2023-11-12 03:20:34 -06:00
}
2024-12-24 00:49:48 -06:00
.window:hover {
box-shadow: var(--ayu-accent) 0px 0px 0px .3rem;
transition: .2s box-shadow;
}
/* window when its the first one on the page */
.window:nth-child(2) {
margin-top: 5rem;
}
/* the footer window */
footer {
max-width: 30em;
margin-left: auto;
margin-right: auto;
details > summary > a {
padding: .3rem 0rem .3rem 1rem !important;
}
section, article {
padding: 1rem !important;
}
2024-04-19 23:26:23 -05:00
}
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;
2024-08-11 13:44:26 -05:00
2024-12-30 22:59:54 -06:00
font-family: 'Inter', system-ui, sans-serif;
2024-08-11 13:44:26 -05:00
align-content: center;
vertical-align: middle;
2024-12-24 00:49:48 -06:00
background-color: color-mix(in srgb, var(--ayu-accent) 10%, transparent);
border-bottom: .2rem solid var(--ayu-accent);
color: var(--ayu-e-fg);
2024-08-11 13:44:26 -05:00
.nav-base {
2024-08-11 23:58:04 -05:00
padding: 0px .2em !important;
2024-08-11 13:44:26 -05:00
max-width: fit-content;
align-content: center;
}
.nav-baselink {
2024-12-24 00:49:48 -06:00
background-color: var(--ayu-accent);
2024-08-11 13:44:26 -05:00
text-decoration: unset !important;
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-bg);
2024-12-30 22:59:54 -06:00
padding: 0px .4rem .1rem !important;
2024-12-24 00:49:48 -06:00
border-bottom-right-radius: 1rem;
2024-12-08 04:24:22 -06:00
svg {
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-bg) !important;
2024-12-08 04:24:22 -06:00
}
2024-08-11 13:44:26 -05:00
}
2024-12-24 00:49:48 -06:00
.nav-baselink::before {
content: '';
background: var(--ayu-e-bg);
min-width: 14rem;
min-height: 1.8rem;
display: block;
z-index: -1;
position: absolute;
}
2024-10-01 11:03:06 -05:00
.nav-baselink-mobile {
2024-08-11 13:44:26 -05:00
display: none;
}
.nav-links {
2024-12-24 00:49:48 -06:00
background-color: var(--ayu-e-bg);
color: var(--ayu-e-fg);
padding: 0px .4rem !important;
border-bottom-right-radius: 1rem;
2024-08-11 13:44:26 -05:00
}
.nav-links a {
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg);
2024-08-11 13:44:26 -05:00
text-decoration: unset !important;
}
.nav-links a:hover {
2024-12-24 00:49:48 -06:00
color: var(--ayu-accent);
2024-08-11 13:44:26 -05:00
text-decoration: underline !important;
}
.nav-systray {
2024-12-24 00:49:48 -06:00
background-color: var(--ayu-e-bg);
color: var(--ayu-e-fg);
2024-08-11 23:58:04 -05:00
margin-left: auto !important;
2024-12-24 00:49:48 -06:00
padding: 0px .4rem !important;
border-bottom-left-radius: 1rem;
2024-08-11 13:44:26 -05:00
i {
padding: 0px 2px 0px 2px;
}
}
a, p {
margin: unset !important;
}
small {
opacity: .7;
}
2024-12-08 04:24:22 -06:00
svg {
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg) !important;
2024-12-08 04:24:22 -06:00
}
2024-08-11 13:44:26 -05:00
}
/* 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 {
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg);
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 {
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg);
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-12-24 00:49:48 -06:00
color: var(--ayu-accent);
2024-12-10 16:28:30 -06:00
transition: 0.2s;
}
a:hover {
transition: 0.2s;
2024-12-24 00:49:48 -06:00
text-shadow: 0em 0em 0.25em var(--ayu-accent);
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;
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg) !important;
}
/* the dot */
.dot {
display: inline-flex;
width: .4rem;
height: .4rem;
2024-12-24 00:49:48 -06:00
background-color: var(--ayu-e-fg);
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;
}
/* 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;
2024-12-24 00:49:48 -06:00
color: var(--ayu-v-added);
margin-bottom: .5em;
vertical-align: bottom;
}
[href="https://fediring.net"] {
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg);
background: color-mix(in srgb, var(--ayu-s-tag) 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-24 00:49:48 -06:00
color: var(--ayu-e-fg);
background: color-mix(in srgb, var(--ayu-s-constant) 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-24 00:49:48 -06:00
color: var(--ayu-e-fg);
background: color-mix(in srgb, var(--ayu-eg-active) 25%, transparent);
padding: 0px 10px 0px 10px;
border-radius: 5px;
}
2024-09-12 21:34:31 -05:00
[href*="prev"] {
2024-12-24 00:49:48 -06:00
background: color-mix(in srgb, var(--ayu-s-special) 25%, transparent);
padding: 4px 6px;
border-radius: 5px;
2024-12-08 04:24:22 -06:00
svg {
2024-12-24 00:49:48 -06:00
color: var(--ayu-s-operator) !important;
2024-12-08 04:24:22 -06:00
}
}
[href*="next"] {
2024-12-24 00:49:48 -06:00
background: color-mix(in srgb, var(--ayu-v-added) 25%, transparent);
padding: 4px 5px;
border-radius: 5px;
2024-12-08 04:24:22 -06:00
svg {
2024-12-24 00:49:48 -06:00
color: var(--ayu-v-added) !important;
2024-12-08 04:24:22 -06:00
}
}
}
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 {
2024-12-24 00:49:48 -06:00
background: var(--ayu-ui-bg) !important;
2024-09-28 01:25:39 -05:00
animation: unset !important;
-moz-animation: unset !important;
-webkit-animation: unset !important;
}
}
/* modify widths and spacing depending on the size of the display */
2024-12-24 00:49:48 -06:00
@media screen and (max-width: 1083px) {
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;
max-width: 40em;
width: max-content;
2024-10-01 11:03:06 -05:00
z-index: 9999;
padding: unset !important;
a {
display: inline-flex;
align-items: center;
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-fg);
2024-10-01 11:03:06 -05:00
padding: .6em .7em;
text-decoration: none;
}
a:hover {
2024-12-24 00:49:48 -06:00
color: var(--ayu-accent);
2024-10-01 11:03:06 -05:00
text-decoration: underline;
}
i {
padding-right: .4em;
}
ul {
2024-12-24 00:49:48 -06:00
background-color: var(--ayu-e-bg);
2024-12-30 22:59:54 -06:00
border-bottom-right-radius: 1rem;
border-right: var(--ayu-accent) solid .15rem;
border-bottom: var(--ayu-accent) solid .15rem;
max-width: 10em;
width: auto;
2024-12-30 22:59:54 -06:00
margin-top: unset !important;
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;
2024-12-30 22:59:54 -06:00
font-family: 'Inter', system-ui, sans-serif;
2024-12-24 00:49:48 -06:00
background-color: var(--ayu-accent);
2024-08-11 13:44:26 -05:00
text-decoration: unset !important;
2024-12-24 00:49:48 -06:00
color: var(--ayu-e-bg);
2024-10-01 11:03:06 -05:00
padding: .3em;
2024-12-24 00:49:48 -06:00
border-bottom-right-radius: 1rem;
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;
}
}
2024-12-24 00:49:48 -06:00
.window:not(#footer) {
summary {
.titlebar-icon {
padding: .3rem .4rem .3rem .4rem;
}
div {
span {
svg {
display: none !important;
}
}
}
}
2024-12-24 00:49:48 -06:00
section, article {
padding: .5rem;
}
2024-12-24 00:49:48 -06:00
border-top: var(--ayu-accent) solid .15rem;
border-bottom: var(--ayu-accent) solid .15rem;
border-left: unset !important;
border-right: unset !important;
border-radius: unset !important;
margin-bottom: .8em;
}
2024-12-24 00:49:48 -06:00
/* window when its the first one on the page */
.window:nth-child(2) {
margin-top: 4rem;
2024-01-02 21:23:57 -06:00
}
2024-05-31 09:20:16 -05:00
}
2024-12-24 00:49:48 -06:00
@media screen and (max-width: 540px) {
details#footer.window {
border-top: var(--ayu-accent) solid .15rem;
border-bottom: var(--ayu-accent) solid .15rem;
border-left: unset !important;
border-right: unset !important;
border-radius: unset !important;
margin-bottom: .8em;
}
}