feat: Probably functional
This commit is contained in:
164
app/static/style.css
Normal file
164
app/static/style.css
Normal file
@@ -0,0 +1,164 @@
|
||||
/* Base reset */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Theme */
|
||||
body {
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
background-color: #0f1115;
|
||||
color: #e6e6e6;
|
||||
line-height: 1.5;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
/* Layout container */
|
||||
.container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Headings */
|
||||
h1, h2, h3 {
|
||||
margin-bottom: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Text spacing */
|
||||
p {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a {
|
||||
color: #6ab0ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Cards (main building block) */
|
||||
.card {
|
||||
background: #171923;
|
||||
border-radius: 10px;
|
||||
padding: 14px;
|
||||
margin-bottom: 12px;
|
||||
border: 1px solid #222633;
|
||||
}
|
||||
|
||||
/* Table (mobile-friendly fallback) */
|
||||
.table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.table th,
|
||||
.table td {
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #2a2f3a;
|
||||
}
|
||||
|
||||
.table th {
|
||||
font-size: 0.9em;
|
||||
color: #a0a7b5;
|
||||
}
|
||||
|
||||
/* Form elements */
|
||||
.form-group {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 0.9em;
|
||||
color: #a0a7b5;
|
||||
}
|
||||
|
||||
/* Inputs */
|
||||
input {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #2a2f3a;
|
||||
background: #0f1115;
|
||||
color: #e6e6e6;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.button {
|
||||
display: inline-block;
|
||||
margin: 3px;
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
background: #2f81f7;
|
||||
color: white;
|
||||
font-size: 1em;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background: #1f6feb;
|
||||
}
|
||||
|
||||
/* Secondary button */
|
||||
.button-secondary {
|
||||
background: #30363d;
|
||||
}
|
||||
|
||||
.button-secondary:hover {
|
||||
background: #3a4048;
|
||||
}
|
||||
|
||||
/* Danger button */
|
||||
.button-danger {
|
||||
background: #da3633;
|
||||
}
|
||||
|
||||
.button-danger:hover {
|
||||
background: #b62324;
|
||||
}
|
||||
|
||||
/* Inline actions */
|
||||
.actions {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* Small text */
|
||||
.muted {
|
||||
color: #8b949e;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
/* Spacing helpers */
|
||||
.mt {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.mb {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
/* Divider */
|
||||
.divider {
|
||||
height: 1px;
|
||||
background: #2a2f3a;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
button:active {
|
||||
transform: scale(0.98);
|
||||
}
|
||||
Reference in New Issue
Block a user