Files
matrix.to-dracula-theme/css/main.css
T
2026-04-07 18:44:10 +02:00

144 lines
3.3 KiB
CSS

/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Modified 2026 for Zeitfresser Matrix Community Look
*/
@import url('spinner.css');
@import url('client.css');
@import url('preview.css');
@import url('create.css');
@import url('open.css');
:root {
--app-background: #1e1f29; /* Tief-Anthrazit der Webseite */
--background: #282a36; /* Hintergrund der Card */
--foreground: #f7f7fa; /* Reines Highlight-Weiß */
--font: #bdc3c7; /* Fließtext-Grau */
--grey: #64748b; /* Dunkles Grau für Identifier */
--accent: #0dbd8b; /* Matrix-Green */
--ztfr-purple: #bd93f9; /* Das Zeitfresser-Lila Akzent */
--error: #ff5555;
--link: #f7f7fa;
--borders: #2f313d;
--lightgrey: #383a59;
--spinner-stroke-size: 2px;
}
html {
margin: 0;
padding: 0;
height: 100%;
}
body {
background-color: var(--app-background);
background-image: none !important; /* Entfernt das Standard-Muster */
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
color: var(--font);
padding: 80px 20px 0 20px;
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
h1, h2, h3 {
color: var(--foreground);
letter-spacing: -0.5px;
}
p { line-height: 1.7; }
a { text-decoration: none; color: var(--link); }
body, button, input, textarea {
font-size: 14px;
font-style: normal;
}
button, input[type=submit] {
cursor: pointer;
}
/* Die zentrale Kachel */
.card {
background-color: var(--background);
border-radius: 4px; /* Eckig wie die Room-Cards */
border-left: 4px solid var(--ztfr-purple);
box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
padding: 2.5rem;
box-sizing: border-box;
}
.RootView {
margin: 0 auto;
max-width: 480px;
width: 100%;
}
/* Buttons: Eckig & Kontrastreich */
.primary, .secondary {
text-decoration: none;
font-weight: bold;
text-align: center;
padding: 14px 20px;
margin: 12px 0;
display: block;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.2s ease;
}
.primary {
background: var(--foreground);
color: var(--app-background) !important;
border-radius: 4px;
border: none;
}
.primary:hover {
filter: brightness(0.9);
transform: translateY(-2px);
}
.secondary {
background: transparent;
color: var(--foreground);
border: 1px solid var(--foreground);
border-radius: 4px;
}
.secondary:hover {
background: rgba(255,255,255,0.05);
}
/* Input Felder: Dunkel statt Weiß */
input[type='text'].large {
width: 100%;
padding: 14px;
background: #1a1a1a !important;
border: 1px solid var(--borders);
border-radius: 4px;
font-size: 14px;
color: var(--foreground);
box-sizing: border-box;
margin-bottom: 10px;
}
.footer {
padding: 2rem;
color: var(--grey);
text-align: center;
font-size: 12px;
}
.footer a { color: var(--grey); border-bottom: 1px solid transparent; }
.footer a:hover { color: var(--foreground); border-bottom-color: var(--ztfr-purple); }
.hidden { display: none !important; }
@media screen and (max-width: 480px) {
body { padding: 0; background-color: var(--background); }
.card { border-radius: unset; box-shadow: unset; border-left: none; }
}