radio-picker { display: flex; padding: 8px; label { &:has(input:checked) { box-shadow: inset 0px 0px 8px 0px var(--accent); } &:has(input:focus-visible) { outline: 2px dashed var(--accent); } padding: 8px; margin: 5px; cursor: pointer; background: var(--crust); &:hover { background: var(--accent); color: var(--crust); } &:active { background: var(--accent); } font-size: 14px; border-radius: 12px; outline: 2px dashed var(--accent); } input { opacity: 0; position: absolute; pointer-events: none; } } checkbox-picker { label { cursor: pointer; &:hover { background: var(--accent); color: var(--crust); } &:active { background: var(--accent); } font-size: 14px; padding: 5px; margin-left: 4px; border-radius: 12px; display: flex; } } input[type="checkbox"] { /* Add if not using autoprefixer */ -webkit-appearance: none; appearance: none; /* For iOS < 15 to remove gradient background */ background-color: #fff; /* Not removed via appearance */ margin: 0; font: inherit; color: var(--crust); width: 1.15em; height: 1.15em; border: 0.15em solid var(--accent); border-radius: 0.25em; transform: translateY(-0.075em); margin-right: 2px; margin-top: 2px; display: grid; place-content: center; } input[type="checkbox"]::before { content: ""; width: 0.65em; height: 0.65em; transform: scale(0); transition: 120ms transform ease-in-out; box-shadow: inset 1em 1em var(--accent); border-radius: 0.25em; transform-origin: bottom left; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); } input[type="checkbox"]:checked::before { transform: scale(1); } bg { background: url("./assets/images/pfp.jpg"); background-repeat: repeat; animation: 60s linear infinite bg-move; opacity: .15; display: block; position: fixed; z-index: -10000; height: 100% !important; width: 100% !important; inset: 0 !important; } &:has(#disable-bg:checked) { & body { background: var(--background); & bg { display: none!important; } } } &:has(#disable-animations:checked) { & body { animation: unset!important } & *,& :after { animation: unset!important; transition: none!important } & .navbar { & .important:after { outline-color: color-mix(in srgb, var(--accent) 60%, transparent) } & details.settings-area { &: :details-content { transition:unset!important } } } & ticker-container { animation: 150s linear infinite ticker!important } } &:has(#disable-alttext:checked) { & .alt-popup { display: none!important } } @keyframes bg-move { 0% { background-position: 0 0; } 100% { background-position: -960px -960px; } } bg-gradient { background: linear-gradient(color-mix(in srgb, var(--accent) 5%, var(--background)), color-mix(in srgb, var(--accent) 30%, var(--background))); z-index: -100001; background-repeat: repeat; position: fixed; width: 100%!important; height: 100%!important; inset: 0 !important; } :root { color-scheme: light dark; &:has(#theme-light:checked) { color-scheme: light; } &:has(#theme-dark:checked) { color-scheme: dark; } --background: light-dark(#eff1f5, #1e1e2e); --crust: light-dark(#dce0e8, #11111b); --foreground: light-dark(#4c4f69, #cdd6f4); --subtext: light-dark(#7c7f93, #45475a); --divider-color: var(--accent); --accent: light-dark(#8839ef, #cba6f7); --red: light-dark(#e64553, #eba0ac); --blue: light-dark(#1e66f5, #89b4fa); --light-blue: light-dark(#04a5e5, #89dceb); --teal: light-dark(#179299, #94e2d5); --green: light-dark(#40a02b, #a6e3a1); --purple: light-dark(#7287fd, #b4befe); --pink: light-dark(#ea76cb, #f5c2e7); --yellow: light-dark(#df8e1d, #f9e2af); &:has(#theme-catppuccin:checked) { --background: light-dark(#eff1f5, #303030); --crust: light-dark(#dce0e8, #11111b); --foreground: light-dark(#4c4f69, #cdd6f4); --subtext: light-dark(#7c7f93, #45475a); --divider-color: var(--accent); --accent: light-dark(#8839ef, #cba6f7); --red: light-dark(#e64553, #eba0ac); --blue: light-dark(#1e66f5, #89b4fa); --light-blue: light-dark(#04a5e5, #89dceb); --teal: light-dark(#179299, #94e2d5); --green: light-dark(#40a02b, #a6e3a1); --purple: light-dark(#7287fd, #b4befe); --pink: light-dark(#ea76cb, #f5c2e7); --yellow: light-dark(#df8e1d, #f9e2af); } &:has(#theme-newpaper:checked) { --background: light-dark(#f1f3f2, #1e1e2e); --crust: light-dark(#e5e5e5, #11111b); --foreground: light-dark(#2f2a3d, #c6c8cd); --subtext: light-dark(#444444, #bcbcbc); --divider-color: var(--accent); --accent: light-dark(#e563ba, #e878d8); --red: light-dark(#af0000, #cc5555); --blue: light-dark(#27408b, #8195e7); --light-blue: light-dark(#0072c1, #7db1d5); --teal: light-dark(#005f87, #72aeb3); --green: light-dark(#008700, #75b680); --purple: light-dark(#8700af, #a274d1); --pink: light-dark(#e563ba, #e878d8); --yellow: light-dark(#af5f00, #c57a30); } &:has(#theme-dracula:checked) { --background: light-dark(#FFFBEB, #282A36); --crust: light-dark(#CFCFDE, #44475A); --foreground: light-dark(#1F1F1F, #F8F8F2); --subtext: light-dark(#6C664B, #6272A4); --divider-color: var(--accent); --accent: light-dark(#644AC9, #6272A4); --red: light-dark(#CB3A2A, #FF5555); --blue: light-dark(#644AC9, #BD93F9); --light-blue: light-dark(#7862D0, #D6ACFF); --teal: light-dark(#036A96, #50FA7B); --green: light-dark(#14710A, #50FA7B); --purple: light-dark(#644AC9, #BD93F9); --pink: light-dark(#A3144D, #FF79C6); --yellow: light-dark(#846E15, #F1FA8C) } } #copy-toast { visibility: hidden; color: var(--foreground); background-color: var(--crust); margin-left: -125px; border-radius: 12px; border: 2px dashed var(--accent); padding: 12px; text-align: center; left: 50%; top: 30px; z-index: 1; position: fixed; opacity: 0.8; } /* This will be activated when the snackbar's class is 'show' which will be added through JS */ #copy-toast.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; animation: fadein 0.5s, fadeout 0.5s 2.5s; opacity: 0.8; } /* Animations for fading in and out */ @-webkit-keyframes fadein { from { top: 0; opacity: 0; } to { top: 30px; opacity: 0.8; } } @keyframes fadein { from { top: 0; opacity: 0; } to { top: 30px; opacity: 0.8; } } @-webkit-keyframes fadeout { from { top: 30px; opacity: 0.8; } to { top: 0; opacity: 0; } } @keyframes fadeout { from { top: 30px; opacity: 0.8; } to { top: 0; opacity: 0; } } button { font-family: "Iosevka Aile", monospace; font-size: 17px; border-radius: 10px; } body { display: table; background-color: var(--background); color: var(--foreground); font-family: "Iosevka Aile", monospace; margin: 10px auto; max-width: 1200px; min-width: 400px; } .divider { border-top: 2px dashed; border-color: var(--divider-color); margin: 20px auto; } .main { background-color: light-dark(#dce0e880, #11111b80); &:has(#theme-catppuccin:checked) { background-color: light-dark(#f1f3f280, #30303080); } &:has(#theme-newpaper:checked) { background-color: light-dark(#eff1f580, #1e1e2e80); } &:has(#theme-dracula:checked) { background-color: light-dark(#FFFBEB80, #282A3680); } margin-top: 20px; outline: 2px solid; outline-color: var(--accent); border-radius: 25px; padding: 20px; box-shadow: inset 0px 0px 0px 0px var(--accent); } .main a { font-size: 13px; } .main .about { text-align: "left"; margin-top: 10px; width: 50%; display: inline-block; } .main .pronouns-box { background-color: light-dark(#dce0e880, #11111b80); &:has(#theme-dracula:checked) { background-color: light-dark(#FFFBEB80, #282A3680); } margin-top: 20px; outline: 2px solid; outline-color: var(--accent); border-radius: 25px; padding: 20px; width: 35%; display: inline-block; margin-left: 100px; } .main:hover { outline: 5px dashed; outline-color: var(--accent); background-color: var(--crust); transform: scale(1.01, 1.01); transition: ease-in-out 0.3s; box-shadow: inset 0px 0px 25px 0px var(--accent); } .pronouns-box:hover { outline: 5px dashed; outline-color: var(--accent); opacity: 1; background-color: var(--crust); transform: scale(1.01, 1.01); transition: ease-in-out 0.3s; box-shadow: inset 0px 0px 25px 0px var(--accent); } footer { font-family: "Iosevka Aile", monospace; color: var(--foreground); font-size: 20px; background-color: var(--crust); padding: 15px; outline: 2px solid; outline-color: var(--accent); border-radius: 25px; margin-top: 10px; opacity: 0.7; width: 1200px; box-shadow: 10px 5px 10px var(--crust); } footer:hover { outline: 5px dashed; outline-color: var(--accent); opacity: 1; transform: scale(1.01, 1.01); transition: ease-in-out 0.3s; } .form-input { margin-bottom: 11px; } .form-input_message { display: block; margin-top: 10px; color: var(--accent); border: 1px solid; border-color: var(--accent); border-radius: 10px; background: var(--background); padding: 10px; resize: both; overflow: hidden; font-family: "Iosevka Aile", monospace; } /* dd container */ .dropdown { display: inline-block; position: relative; outline: none; } .dropdown a { border: 0px soild transparent; border-radius: 20px; } /* button */ .dropbtn { color: var(--accent); border: 2px dashed; border-color: var(--accent); border-radius: 15px; background: var(--background); padding: 8px; } .input { color: var(--accent); border: 1px solid; border-color: var(--accent); border-radius: 10px; background: var(--background); padding: 7px; font-family: "Iosevka Aile", monospace; } .guest { border: 2px dashed; border-color: var(--accent); padding: 10px; color: var(--accent); background: var(--background); font-family: "Iosevka Aile", monospace; } /* dd content */ .dropdown .dropdown-content { position: absolute; top: 50%; margin-top: 8px; border: 2px solid; border-color: var(--accent); border-radius: 15px; background-color: var(--background); min-width: 100%; padding: 5px; box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); visibility: hidden; opacity: 0; transition: 0.2s ease-in-out; } .dropdown-content a { color: var(--background); padding: 8px 0; display: block; text-decoration: none; transition: 0.2s ease-in-out; text-align: center; } .dropdown-content a:hover { background-color: var(--foreground); } .dropdown .settings-popup { position: absolute; top: 50%; margin-top: 8px; border: 2px solid; border-color: var(--accent); border-radius: 15px; background-color: var(--background); min-width: 100%; padding: 5px; box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); visibility: hidden; opacity: 0; transition: 0.2s ease-in-out; } .settings-popup a { color: var(--background); display: block; text-decoration: none; text-align: center; } .web-buttons:hover .web-button { transition: ease-in-out 0.2s; filter: blur(0.15em); display: inline-block; } .web-buttons .web-button:hover { transition: ease-in-out 0.3s; outline: solid 2px; border-radius: 10px; outline-color: var(--accent); filter: blur(0); box-shadow: 0px 0px 10px var(--foreground); transform: scale(1.3, 1.3) translateX(-10px) translateY(-2px); display: inline-block; } .other-web-buttons:hover .web-button { transition: ease-in-out 0.2s; filter: blur(0.15em); display: inline-block; } .other-web-buttons .web-button:hover { transition: ease-in-out 0.3s; outline: solid 2px; border-radius: 10px; outline-color: var(--accent); filter: blur(0); box-shadow: 0px 0px 10px var(--foreground); transform: scale(1.3, 1.3) translateX(-10px) translateY(-2px); display: inline-block; } .my-button .web-button:hover { transition: ease-in-out 0.3s; outline: solid 2px; border-radius: 10px; outline-color: var(--accent); filter: blur(0); box-shadow: 0px 0px 10px var(--foreground); transform: scale(1.4, 1.4); display: inline-block; } .alt-popup { background-color: color-mix(in srgb, var(--background) 85%, transparent); backdrop-filter: blur(.5rem); color: var(--foreground); border: solid 2px var(--accent); z-index: 1000; pointer-events: none; opacity: 0; border-radius: .5rem; max-width: 30rem; padding: .5rem; font-size: 1rem; transition: opacity .4s; position: fixed } .pfp { border-radius: 15px; border: 2px solid; border-color: var(--accent); width: 70px; height: auto; } .pfp:hover { transition: ease-in-out 0.45s; height: auto; transform: scale(1.45, 1.45); } /* show dd content */ .dropdown:focus .dropdown-content { outline: none; transform: translateY(18px); visibility: visible; z-index: 100 !important; opacity: 0.9 !important; } .dropdown:focus .settings-popup { outline: none; transform: translateX(-40%) translateY(0px); visibility: visible; z-index: 100 !important; opacity: 0.9 !important; } .dropbtn:hover, .dropdown:focus .dropbtn { background-color: var(--accent); color: var(--background); border-color: var(--background); transition: ease-in-out 0.5s; position: relative; padding: 10px; box-shadow: inset 0px 0px 25px 0px var(--crust); } /* mask to close menu by clicking on the button */ .dropdown .db2 { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; cursor: pointer; z-index: 10; display: none; } .dropdown:focus .db2 { display: inline-block; } .dropdown .db2:focus .dropdown-content { outline: none; visibility: hidden; opacity: 0; } .dropdown .db2:focus .settings-popup { outline: none; visibility: hidden; opacity: 0; }