-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (98 loc) · 2.19 KB
/
style.css
File metadata and controls
105 lines (98 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
:root {
--bg: #0f172a;
--card: #111827;
--text: #e5e7eb;
--muted: #9ca3af;
--accent: #22c55e;
--accent-2: #06b6d4;
--border: #1f2937;
}
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
font-family: "Cairo", system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--text);
}
.header {
padding: 24px 16px;
border-bottom: 1px solid var(--border);
text-align: center;
}
.subtitle { color: var(--muted); margin-top: 4px; }
.controls {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 12px;
padding: 16px;
border-bottom: 1px solid var(--border);
}
.control { display: flex; flex-direction: column; gap: 6px; }
label { color: var(--muted); font-size: 14px; }
input, select, button {
background: var(--card);
color: var(--text);
border: 1px solid var(--border);
border-radius: 8px;
padding: 10px 12px;
outline: none;
}
input::placeholder { color: var(--muted); }
button {
cursor: pointer;
transition: background 0.2s, transform 0.1s;
}
button:hover { background: #0b1220; }
button:active { transform: scale(0.98); }
.grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
padding: 16px;
}
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 14px;
display: flex;
flex-direction: column;
gap: 8px;
}
.card h3 { margin: 0; font-size: 18px; }
.meta { color: var(--muted); font-size: 13px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
background: #0b1220;
border: 1px solid var(--border);
border-radius: 999px;
padding: 6px 10px;
font-size: 12px;
color: var(--accent-2);
}
.actions { display: flex; gap: 8px; margin-top: 8px; }
.btn {
background: var(--accent);
color: #041318;
border: none;
border-radius: 8px;
padding: 8px 12px;
font-weight: 600;
}
.btn.secondary {
background: transparent;
color: var(--text);
border: 1px solid var(--border);
}
.footer {
text-align: center;
padding: 16px;
color: var(--muted);
border-top: 1px solid var(--border);
}
/* Responsive */
@media (max-width: 820px) {
.controls { grid-template-columns: 1fr 1fr; }
.grid { grid-template-columns: 1fr; }
}