a.stupid.cat/css/index.css

440 lines
8.0 KiB
CSS

/* IMPORTS */
@import url(fonts.css);
@import url(picker.css);
@import url(theme-switcher.css);
@import url(themes/frappe.css);
@import url(themes/latte.css);
@import url(themes/macchiato.css);
@import url(themes/mocha.css);
<<<<<<< HEAD
/* Index.html */
html,
body {
display: flex;
justify-content: center;
align-items: center;
padding: 1.5rem 1rem;
height: 100%;
width: 100%;
overflow: hidden;
font-family: "Comic Code", sans-serif;
overflow-x: hidden;
max-width: 100vw;
margin: 0;
min-height: 100vh;
background: linear-gradient(
135deg,
var(--base) 0%,
var(--mantle) 60%,
var(--crust) 100%
);
color: var(--text);
}
html {
background: linear-gradient(
135deg,
var(--base) 0%,
var(--mantle) 60%,
var(--crust) 100%
);
}
.hub {
position: auto;
z-index: 1;
width: 100%;
max-width: 460px;
=======
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
height: 100%;
background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%);
}
body {
margin: 0;
min-height: 100vh;
width: 100%;
max-width: 100vw;
overflow-x: hidden;
font-family: 'Comic Code', sans-serif;
background: linear-gradient(135deg, var(--base) 0%, var(--mantle) 60%, var(--crust) 100%);
color: var(--text);
/* top-anchored, horizontally centered, scrollable */
display: flex;
flex-direction: column;
align-items: center;
padding: clamp(2.5rem, 9vh, 6rem) 1.25rem 5rem;
}
/* main content column */
main.intro,
.hub {
width: 100%;
max-width: 480px;
z-index: 1;
>>>>>>> 6b0bc5fa96491155661b1597bd88fedf1bace6b8
}
.pfp {
width: 96px;
height: 96px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--mauve);
box-shadow: 0 4px 18px rgba(245, 194, 231, 0.25);
margin-bottom: 0.75rem;
}
.hub-header {
text-align: center;
margin-bottom: 2.25rem;
}
.hub-header h1 {
margin: 0;
font-size: 2rem;
font-weight: 700;
transition: color 0.6s ease;
}
.hey {
color: #ffffff;
}
.name {
color: rgb(var(--accent-rgb));
}
.name::before {
content: " ";
}
.tagline {
margin: 0.35rem 0 0;
color: var(--subtext-0);
font-size: 0.95rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.pronouns {
margin: 0.35rem 0 0;
color: var(--mauve);
font-size: 0.95rem;
letter-spacing: 0.04em;
text-transform: lowercase;
}
body::before {
content: "";
position: fixed;
inset: 0;
background: url(/assets/theme/estrogen.svg) center / cover no-repeat;
filter: invert(86%) sepia(8%) saturate(900%) hue-rotate(190deg)
brightness(105%);
opacity: 0.05;
pointer-events: none;
z-index: 0;
}
.badges {
position: fixed;
right: 1rem;
bottom: 1rem;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 0.4rem;
pointer-events: none;
z-index: 5;
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.3rem 0.6rem;
border-radius: 999px;
background: var(--surface-0);
border: 1px solid rgba(var(--accent-rgb), 0.45);
color: var(--subtext-1);
font-size: 0.75rem;
white-space: nowrap;
transition:
border-color 0.6s ease,
box-shadow 0.6s ease;
}
.badge:hover {
border-color: rgb(var(--accent-rgb));
box-shadow: 0 4px 14px -6px rgba(var(--accent-rgb), 0.5);
}
.badge-icon {
width: 15px;
height: 15px;
filter: invert(78%) sepia(36%) saturate(640%) hue-rotate(280deg)
brightness(105%);
}
@media (max-width: 600px) {
<<<<<<< HEAD
.intro {
margin-top: 10vh;
color: var(--text);
text-align: center;
padding: 5vh;
}
.intro-text {
margin-top: 1vh;
padding: 1vh;
}
=======
.intro {
color: var(--text);
text-align: center;
padding: 0;
}
.intro-text {
margin-top: 0.75rem;
padding: 0 0.25rem;
}
.hub-header h1 {
font-size: 1.7rem;
}
>>>>>>> 6b0bc5fa96491155661b1597bd88fedf1bace6b8
}
@media (min-width: 768px) {
.desktop-break {
display: block;
}
.intro-text {
margin-top: 1vh;
}
}
.intro-text {
max-width: 42ch;
margin-left: auto;
margin-right: auto;
line-height: 1.6;
color: var(--subtext-1);
font-size: 0.98rem;
}
.gitgay-link {
background-color: var(--mauve);
border: none;
color: black;
padding: 0.85rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
font-weight: 600;
margin: 4px 2px;
cursor: pointer;
border-radius: 14px;
font-family: "Comic Code";
transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
box-shadow: 0 6px 18px -8px rgba(var(--accent-rgb), 0.7);
}
.gitgay-link:hover {
transform: translateY(-2px);
filter: brightness(1.05);
box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), 0.8);
}
.gitgay-link:active {
transform: translateY(0);
}
.hub-header,
.pfp,
.hey,
.pronouns,
.intro-text,
.gitgay-link {
margin-top: 10px;
margin-bottom: 10px;
}
/* ---- 88x31 button wall (always visible on desktop) ---- */
.button-wall {
position: fixed;
bottom: 1rem;
left: 50%;
transform: translateX(-50%);
z-index: 5;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;
max-width: min(90vw, 480px);
}
/* hide on mobile */
@media (max-width: 768px) {
.button-wall {
display: none;
}
}
.button-wall a {
display: block;
line-height: 0;
}
.button-wall img {
<<<<<<< HEAD
width: 88px;
height: 31px;
image-rendering: pixelated;
border: 1px solid var(--surface-1);
border-radius: 2px;
transition:
transform 0.12s ease,
border-color 0.12s ease;
=======
width: 88px;
height: 31px;
image-rendering: pixelated;
border: 1px solid var(--surface-1);
border-radius: 2px;
transition: transform 0.12s ease, border-color 0.12s ease;
>>>>>>> 6b0bc5fa96491155661b1597bd88fedf1bace6b8
}
.button-wall a:hover img {
transform: translateY(-2px);
border-color: rgb(var(--accent-rgb));
}
/* Coffee/index.html */
.teapot {
font-size: 6vh;
}
/* start of code from security.girlsnetwork.dev/coffee */
body.message-page {
display: flex;
min-height: 100vh;
align-items: center;
justify-content: center;
padding: 1.5rem;
}
.message-card {
<<<<<<< HEAD
background: var(--surface0);
padding: 2.5rem;
border-radius: 12px;
max-width: 520px;
width: 100%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
text-align: center;
line-height: 1.6;
color: var(--text);
border: 1px solid var(--surface1);
=======
background: var(--surface-0);
padding: 2.5rem;
border-radius: 12px;
max-width: 520px;
width: 100%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
text-align: center;
line-height: 1.6;
color: var(--text);
border: 1px solid var(--surface-1);
>>>>>>> 6b0bc5fa96491155661b1597bd88fedf1bace6b8
}
.message-card h1 {
margin-top: 0;
color: var(--pink);
letter-spacing: -0.01em;
}
.message-card p {
<<<<<<< HEAD
color: var(--subtext1);
=======
color: var(--subtext-1);
>>>>>>> 6b0bc5fa96491155661b1597bd88fedf1bace6b8
}
.message-card .ok {
color: var(--green);
}
.message-card .err {
color: var(--red);
}
.message-card .warn {
color: var(--yellow);
}
.message-card .muted {
<<<<<<< HEAD
color: var(--overlay1);
font-size: 0.9rem;
margin-top: 1.5rem;
=======
color: var(--overlay-1);
font-size: 0.9rem;
margin-top: 1.5rem;
>>>>>>> 6b0bc5fa96491155661b1597bd88fedf1bace6b8
}
.message-card code {
background: var(--mantle);
color: var(--rosewater);
padding: 0.1rem 0.4rem;
border-radius: 6px;
font-size: 0.85em;
}
.message-card a.home-link {
display: inline-block;
margin-top: 1.5rem;
color: var(--pink);
transition: color 0.15s ease;
}
.message-card a.home-link:hover {
color: var(--flamingo);
text-decoration: underline;
}
.message-card .glyph {
font-size: 2.75rem;
line-height: 1;
margin-bottom: 0.5rem;
}
@media (max-width: 540px) {
.message-card {
padding: 1.75rem 1.5rem;
}
}
/* end of code from security.girlsnetwork.dev/coffee */