FlashCode-Lab commited on
Commit
e56f770
·
verified ·
1 Parent(s): 3c763c9

Create styles.css

Browse files
Files changed (1) hide show
  1. styles.css +133 -0
styles.css ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ color-scheme: dark;
3
+ --bg: #0b1020;
4
+ --panel: #121936;
5
+ --text: #ebf0ff;
6
+ --accent: #6ea8fe;
7
+ --border: #2f3f7a;
8
+ }
9
+
10
+ * {
11
+ box-sizing: border-box;
12
+ font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
13
+ }
14
+
15
+ body {
16
+ margin: 0;
17
+ background: radial-gradient(circle at top, #162147, var(--bg));
18
+ color: var(--text);
19
+ }
20
+
21
+ .topbar,
22
+ footer {
23
+ max-width: 1200px;
24
+ margin: 0 auto;
25
+ padding: 1rem;
26
+ }
27
+
28
+ .topbar {
29
+ display: flex;
30
+ justify-content: space-between;
31
+ align-items: center;
32
+ gap: 1rem;
33
+ }
34
+
35
+ .layout {
36
+ max-width: 1200px;
37
+ margin: 0 auto;
38
+ padding: 0 1rem 1rem;
39
+ display: grid;
40
+ grid-template-columns: 340px 1fr;
41
+ gap: 1rem;
42
+ }
43
+
44
+ .panel {
45
+ background: color-mix(in srgb, var(--panel) 90%, black);
46
+ border: 1px solid var(--border);
47
+ border-radius: 14px;
48
+ padding: 1rem;
49
+ }
50
+
51
+ .settings label {
52
+ display: grid;
53
+ gap: 0.5rem;
54
+ margin-bottom: 0.8rem;
55
+ }
56
+
57
+ input,
58
+ select,
59
+ textarea,
60
+ button {
61
+ width: 100%;
62
+ border-radius: 10px;
63
+ border: 1px solid var(--border);
64
+ background: #0d1530;
65
+ color: var(--text);
66
+ padding: 0.65rem;
67
+ }
68
+
69
+ button {
70
+ background: linear-gradient(90deg, #3857dc, #5b8cff);
71
+ border: 0;
72
+ cursor: pointer;
73
+ font-weight: 700;
74
+ }
75
+
76
+ .tabs {
77
+ display: grid;
78
+ grid-template-columns: repeat(5, minmax(0, 1fr));
79
+ gap: 0.5rem;
80
+ margin-bottom: 1rem;
81
+ }
82
+
83
+ .tab {
84
+ opacity: 0.65;
85
+ }
86
+
87
+ .tab.active {
88
+ opacity: 1;
89
+ outline: 2px solid var(--accent);
90
+ }
91
+
92
+ .tab-panel {
93
+ display: none;
94
+ }
95
+
96
+ .tab-panel.active {
97
+ display: block;
98
+ }
99
+
100
+ .output {
101
+ min-height: 150px;
102
+ white-space: pre-wrap;
103
+ background: #070d1f;
104
+ padding: 0.75rem;
105
+ border-radius: 10px;
106
+ border: 1px solid #1f2d63;
107
+ }
108
+
109
+ .hint {
110
+ font-size: 0.85rem;
111
+ opacity: 0.8;
112
+ }
113
+
114
+ @media (max-width: 980px) {
115
+ .layout {
116
+ grid-template-columns: 1fr;
117
+ }
118
+
119
+ .tabs {
120
+ grid-template-columns: repeat(2, minmax(0, 1fr));
121
+ }
122
+ }
123
+
124
+
125
+ .inline-control {
126
+ display: flex;
127
+ align-items: center;
128
+ gap: 0.6rem;
129
+ }
130
+
131
+ .inline-control input[type="checkbox"] {
132
+ width: auto;
133
+ }