687 lines
No EOL
16 KiB
CSS
687 lines
No EOL
16 KiB
CSS
/* background wallpaper, global font */
|
|
|
|
body {
|
|
background: linear-gradient(var(--ayu-ui-bg), color-mix(in srgb, var(--ayu-accent) 25%, var(--ayu-uip-bg)));
|
|
font-family: 'JetBrains Mono', monospace, system-ui, sans-serif;
|
|
font-size: 1.125rem;
|
|
margin: unset !important; /* idk why it does that */
|
|
}
|
|
|
|
/* 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;
|
|
|
|
.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);
|
|
}
|
|
|
|
a {
|
|
padding: .3rem 0rem .3rem .5rem;
|
|
text-decoration: none;
|
|
color: var(--ayu-e-fg);
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
div {
|
|
margin-left: auto;
|
|
padding: .2rem .5rem .2rem 0rem;
|
|
|
|
span {
|
|
svg {
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
color: var(--ayu-e-fg);
|
|
}
|
|
|
|
/* maximize button (which does nothing) */
|
|
svg:nth-child(2) {
|
|
opacity: .6;
|
|
cursor: not-allowed;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
}
|
|
|
|
section, article {
|
|
padding: .8rem;
|
|
}
|
|
|
|
background-color: var(--ayu-e-bg);
|
|
color: var(--ayu-e-fg);
|
|
|
|
border: var(--ayu-accent) solid .15rem;
|
|
border-radius: .6rem;
|
|
|
|
max-width: 60em;
|
|
overflow: clip;
|
|
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 2em;
|
|
|
|
transition: .2s box-shadow;
|
|
|
|
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
|
}
|
|
|
|
/* window styling when hovered */
|
|
.window:hover {
|
|
summary {
|
|
opacity: 1;
|
|
transition: .2s opacity;
|
|
}
|
|
}
|
|
|
|
/* window styling when open (default state) */
|
|
.window[open] {
|
|
summary {
|
|
opacity: 1;
|
|
border-bottom: .1rem solid var(--ayu-accent);
|
|
|
|
transition: .2s opacity;
|
|
}
|
|
|
|
border-radius: 2rem .6rem 2rem .6rem;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
/* top navbar styling, attempts to look like a window manager bar */
|
|
|
|
.navbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
position: fixed;
|
|
top: 0 !important;
|
|
z-index: 10;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
min-height: 1.8em !important;
|
|
max-height: 1.8em !important;
|
|
|
|
font-family: 'Lexend Deca', system-ui, sans-serif;
|
|
align-content: center;
|
|
vertical-align: middle;
|
|
background-color: color-mix(in srgb, var(--ayu-accent) 10%, transparent);
|
|
border-bottom: .2rem solid var(--ayu-accent);
|
|
color: var(--ayu-e-fg);
|
|
|
|
.nav-base {
|
|
padding: 0px .2em !important;
|
|
max-width: fit-content;
|
|
align-content: center;
|
|
}
|
|
.nav-baselink {
|
|
background-color: var(--ayu-accent);
|
|
text-decoration: unset !important;
|
|
color: var(--ayu-e-bg);
|
|
padding: 0px .4rem !important;
|
|
border-bottom-right-radius: 1rem;
|
|
|
|
svg {
|
|
color: var(--ayu-e-bg) !important;
|
|
}
|
|
}
|
|
.nav-baselink::before {
|
|
content: '';
|
|
background: var(--ayu-e-bg);
|
|
min-width: 14rem;
|
|
min-height: 1.8rem;
|
|
display: block;
|
|
z-index: -1;
|
|
position: absolute;
|
|
}
|
|
.nav-baselink-mobile {
|
|
display: none;
|
|
}
|
|
.nav-links {
|
|
background-color: var(--ayu-e-bg);
|
|
color: var(--ayu-e-fg);
|
|
padding: 0px .4rem !important;
|
|
border-bottom-right-radius: 1rem;
|
|
}
|
|
.nav-links a {
|
|
color: var(--ayu-e-fg);
|
|
text-decoration: unset !important;
|
|
}
|
|
.nav-links a:hover {
|
|
color: var(--ayu-accent);
|
|
text-decoration: underline !important;
|
|
}
|
|
.nav-systray {
|
|
background-color: var(--ayu-e-bg);
|
|
color: var(--ayu-e-fg);
|
|
margin-left: auto !important;
|
|
padding: 0px .4rem !important;
|
|
border-bottom-left-radius: 1rem;
|
|
i {
|
|
padding: 0px 2px 0px 2px;
|
|
}
|
|
}
|
|
|
|
a, p {
|
|
margin: unset !important;
|
|
}
|
|
small {
|
|
opacity: .7;
|
|
}
|
|
svg {
|
|
color: var(--ayu-e-fg) !important;
|
|
}
|
|
}
|
|
|
|
/* text formatting and config stuff
|
|
font-family and <p> is set under .terminal */
|
|
|
|
/* headings */
|
|
h1, h1 a {
|
|
color: var(--ayu-e-fg);
|
|
font-size: 2rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* 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(--ayu-e-fg);
|
|
font-size: 2rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
h3, h3 a {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
/* text */
|
|
p, li, button {
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
/* links should look good i think */
|
|
a {
|
|
font-size: 1.125rem;
|
|
color: var(--ayu-accent);
|
|
transition: 0.2s;
|
|
}
|
|
|
|
a:hover {
|
|
transition: 0.2s;
|
|
text-shadow: 0em 0em 0.25em var(--ayu-accent);
|
|
}
|
|
|
|
/* smol text */
|
|
small, small a {
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* lists need some styling */
|
|
li {
|
|
margin-left: -1em;
|
|
padding-bottom: 18px;
|
|
}
|
|
|
|
/* gay ass text */
|
|
.rainbow {
|
|
animation: 2s linear infinite rainbow;
|
|
-webkit-animation: 2s linear infinite rainbow;
|
|
-moz-animation: 2s linear infinite rainbow;
|
|
}
|
|
|
|
/* heading 1 is also clickable */
|
|
h1 a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* 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(--ayu-e-fg) !important;
|
|
}
|
|
|
|
/* the dot */
|
|
.dot {
|
|
display: inline-flex;
|
|
width: .4rem;
|
|
height: .4rem;
|
|
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;
|
|
}
|
|
}
|
|
|
|
/* audio */
|
|
audio {
|
|
border-radius: 3rem;
|
|
}
|
|
|
|
/* footer/credits */
|
|
|
|
footer {
|
|
.fediring {
|
|
a {
|
|
display: inline-grid;
|
|
font-size: 1.5rem;
|
|
color: var(--ayu-v-added);
|
|
margin-bottom: .5em;
|
|
vertical-align: bottom;
|
|
}
|
|
[href="https://fediring.net"] {
|
|
color: var(--ayu-e-fg);
|
|
background: color-mix(in srgb, var(--ayu-s-tag) 25%, transparent);
|
|
padding: 0px 10px 0px 10px;
|
|
border-radius: 5px;
|
|
}
|
|
[href="https://keithhacks.cyou/furryring.php"] {
|
|
color: var(--ayu-e-fg);
|
|
background: color-mix(in srgb, var(--ayu-s-constant) 25%, transparent);
|
|
padding: 0px 10px 0px 10px;
|
|
border-radius: 5px;
|
|
}
|
|
[href="https://stellophiliac.github.io/roboring"] {
|
|
color: var(--ayu-e-fg);
|
|
background: color-mix(in srgb, var(--ayu-eg-active) 25%, transparent);
|
|
padding: 0px 10px 0px 10px;
|
|
border-radius: 5px;
|
|
}
|
|
[href*="prev"] {
|
|
background: color-mix(in srgb, var(--ayu-s-special) 25%, transparent);
|
|
padding: 4px 6px;
|
|
border-radius: 5px;
|
|
svg {
|
|
color: var(--ayu-s-operator) !important;
|
|
}
|
|
}
|
|
[href*="next"] {
|
|
background: color-mix(in srgb, var(--ayu-v-added) 25%, transparent);
|
|
padding: 4px 5px;
|
|
border-radius: 5px;
|
|
svg {
|
|
color: var(--ayu-v-added) !important;
|
|
}
|
|
}
|
|
}
|
|
p, a {
|
|
text-align: center;
|
|
font-size: 0.938rem;
|
|
margin: .2em 0px .2em;
|
|
text-decoration: none;
|
|
}
|
|
img {
|
|
padding-top: 18px;
|
|
max-width: 30%;
|
|
display: flex;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
transition: 1s animation;
|
|
}
|
|
img:hover {
|
|
animation: spin 5s infinite linear;
|
|
}
|
|
.inner-footer {
|
|
text-align: center;
|
|
padding-top: 14px;
|
|
padding-bottom: 14px;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* various reusable animations */
|
|
|
|
@keyframes blink {
|
|
0% { opacity: 0; }
|
|
50% { opacity: 1.0; }
|
|
100% { opacity: 0; }
|
|
}
|
|
|
|
@keyframes blink-navbar-text {
|
|
0% { opacity: 0; }
|
|
50% { opacity: .8; }
|
|
100% { opacity: 0; }
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes spin-y {
|
|
/* values: 128px, 256px, 348px, 396px*/
|
|
0% { transform: perspective(396px) rotateY(0); }
|
|
100% { transform: perspective(396px) rotateY(360deg); }
|
|
}
|
|
|
|
@keyframes rainbow {
|
|
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
|
|
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
|
|
}
|
|
|
|
@keyframes bg-gradient {
|
|
0% { background-position: 0% 27% }
|
|
50% { background-position: 100% 74% }
|
|
100% { background-position: 0% 27% }
|
|
}
|
|
|
|
@-moz-keyframes blink {
|
|
0% { opacity: 0; }
|
|
50% { opacity: 1.0; }
|
|
100% { opacity: 0; }
|
|
}
|
|
|
|
@-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); }
|
|
}
|
|
|
|
@-moz-keyframes spin-y {
|
|
/* values: 128px, 256px, 348px, 396px*/
|
|
0% { transform: perspective(396px) rotateY(0); }
|
|
100% { transform: perspective(396px) rotateY(360deg); }
|
|
}
|
|
|
|
@-moz-keyframes rainbow {
|
|
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
|
|
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
|
|
}
|
|
|
|
@-moz-keyframes bg-gradient {
|
|
0% { background-position: 0% 27% }
|
|
50% { background-position: 100% 74% }
|
|
100% { background-position: 0% 27% }
|
|
}
|
|
|
|
@-webkit-keyframes blink {
|
|
0% { opacity: 0; }
|
|
50% { opacity: 1.0; }
|
|
100% { opacity: 0; }
|
|
}
|
|
|
|
@-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); }
|
|
}
|
|
|
|
@-webkit-keyframes spin-y {
|
|
/* values: 128px, 256px, 348px, 396px*/
|
|
0% { transform: perspective(396px) rotateY(0); }
|
|
100% { transform: perspective(396px) rotateY(360deg); }
|
|
}
|
|
|
|
@-webkit-keyframes rainbow {
|
|
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
|
|
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
|
|
}
|
|
|
|
@-webkit-keyframes bg-gradient {
|
|
0% { background-position: 0% 27% }
|
|
50% { background-position: 100% 74% }
|
|
100% { background-position: 0% 27% }
|
|
}
|
|
|
|
/* disable certain animations if user has animations disabled on their system */
|
|
|
|
@media (prefers-reduced-motion) {
|
|
body {
|
|
background: var(--ayu-ui-bg) !important;
|
|
animation: unset !important;
|
|
-moz-animation: unset !important;
|
|
-webkit-animation: unset !important;
|
|
}
|
|
}
|
|
|
|
/* modify widths and spacing depending on the size of the display */
|
|
|
|
@media screen and (max-width: 1083px) {
|
|
.navbar {
|
|
min-height: 1.8em !important;
|
|
max-height: 1.8em !important;
|
|
flex-wrap: wrap;
|
|
|
|
.nav-base {
|
|
padding: .27em .2em !important;
|
|
}
|
|
.nav-baselink {
|
|
display: none !important;
|
|
}
|
|
.nav-baselink-mobile {
|
|
display: block !important;
|
|
position: absolute;
|
|
max-width: 40em;
|
|
width: max-content;
|
|
z-index: 9999;
|
|
padding: unset !important;
|
|
|
|
a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: var(--ayu-e-fg);
|
|
padding: .6em .7em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--ayu-accent);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
i {
|
|
padding-right: .4em;
|
|
}
|
|
|
|
ul {
|
|
background-color: var(--ayu-e-bg);
|
|
border-radius: 8px;
|
|
max-width: 10em;
|
|
width: auto;
|
|
z-index: 9999;
|
|
|
|
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;
|
|
background-color: var(--ayu-accent);
|
|
text-decoration: unset !important;
|
|
color: var(--ayu-e-bg);
|
|
padding: .3em;
|
|
border-bottom-right-radius: 1rem;
|
|
width: 4.7em;
|
|
|
|
i:not(:first-child) {
|
|
margin-left: -.5em;
|
|
margin-right: -.9em;
|
|
opacity: .6;
|
|
}
|
|
}
|
|
.nav-links {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
.window:not(#footer) {
|
|
summary {
|
|
.titlebar-icon {
|
|
padding: .3rem .4rem .3rem .4rem;
|
|
}
|
|
|
|
div {
|
|
span {
|
|
svg {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
section, article {
|
|
padding: .5rem;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
/* window when its the first one on the page */
|
|
.window:nth-child(2) {
|
|
margin-top: 4rem;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
} |