added safety and color
This commit is contained in:
parent
a7ce92ba57
commit
25d607e68c
3 changed files with 129 additions and 41 deletions
|
|
@ -1,23 +1,26 @@
|
|||
:root {
|
||||
/* Gruvbox Dark Palette */
|
||||
--bg: #282828; /* dark0 */
|
||||
--surface: #3c3836; /* dark1 */
|
||||
--border: #504945; /* dark2 */
|
||||
--accent: #fabd2f; /* yellow */
|
||||
--text: #ebdbb2; /* light1 */
|
||||
--muted: #a89984; /* gray */
|
||||
--radius: 0px; /* Forced to 0 for sharp corners */
|
||||
--bg: #282828; /* dark0 */
|
||||
--surface: #3c3836; /* dark1 */
|
||||
--border: #504945; /* dark2 */
|
||||
--accent: #fabd2f; /* yellow */
|
||||
--text: #ebdbb2; /* light1 */
|
||||
--muted: #a89984; /* gray */
|
||||
--radius: 0px; /* Forced to 0 for sharp corners */
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
font-family:
|
||||
system-ui,
|
||||
-apple-system,
|
||||
sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #1d2021; /* dark0_hard */
|
||||
background: #1d2021; /* dark0_hard */
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding: 0 2rem;
|
||||
height: 56px;
|
||||
|
|
@ -26,7 +29,7 @@ header {
|
|||
}
|
||||
|
||||
.logo {
|
||||
color: var(--accent);
|
||||
color: var(--text);
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
font-family: monospace;
|
||||
|
|
@ -95,7 +98,7 @@ main {
|
|||
|
||||
.card-name {
|
||||
font-weight: bold;
|
||||
color: var(--accent);
|
||||
color: var(--text);
|
||||
margin-bottom: 0.5rem;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
|
@ -103,6 +106,10 @@ main {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.card-name:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.card-desc {
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
|
|
@ -120,10 +127,14 @@ main {
|
|||
}
|
||||
|
||||
.bc a {
|
||||
color: var(--accent);
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bc a:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.tbl {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
|
@ -159,7 +170,9 @@ main {
|
|||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
transition:
|
||||
background 0.2s,
|
||||
color 0.2s;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
|
|
@ -198,7 +211,7 @@ main {
|
|||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue