Files changed (1) hide show
  1. style.css +35 -20
style.css CHANGED
@@ -1,28 +1,43 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
 
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
28
  }
 
1
+ /* style.css - small custom additions for index.html */
2
+
3
+ /* simple show/hide for pages */
4
+ .page-content { display: none; }
5
+ .page-content.active { display: block; }
6
 
7
+ /* result box for showing results / error */
8
+ .result-box {
9
+ display: block;
10
+ background: rgba(255,255,255,0.9);
11
+ border-radius: 0.5rem;
12
+ padding: 1rem;
13
+ margin-top: 0.75rem;
14
+ box-shadow: 0 6px 18px rgba(16,24,40,0.06);
15
+ color: #0f172a;
16
+ word-break: break-word;
17
  }
18
 
19
+ /* dark-mode adjustments */
20
+ .dark .result-box {
21
+ background: rgba(15,23,42,0.55);
22
+ color: #e6eef8;
 
23
  }
24
 
25
+ /* small disabled button look */
26
+ .btn-disabled { cursor: not-allowed; opacity: 0.6; }
27
+
28
+ /* utility for small spinner hide/show (we toggle .hidden in JS) */
29
+ .hidden { display: none !important; }
30
+
31
+ /* responsive image */
32
+ img.rounded-lg { max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; }
33
+
34
+ /* make forms look slightly nicer on small screens */
35
+ input[type="text"]::placeholder {
36
+ color: #9ca3af;
37
  }
38
 
39
+ /* accessible focus ring */
40
+ :focus {
41
+ outline: 2px solid rgba(59,130,246,0.5);
42
+ outline-offset: 2px;
43
  }