|
4 | 4 | <meta charset="UTF-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | 6 | <title>{% block title %}SearchVision{% endblock %}</title> |
| 7 | + <link rel="preconnect" href="https://fonts.googleapis.com"> |
| 8 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
| 9 | + <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> |
7 | 10 | <style> |
8 | 11 | * { |
9 | 12 | margin: 0; |
|
12 | 15 | } |
13 | 16 |
|
14 | 17 | body { |
15 | | - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; |
16 | | - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 18 | + font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; |
| 19 | + background: #ffffff; |
17 | 20 | min-height: 100vh; |
18 | | - padding: 20px; |
| 21 | + padding: 0; |
| 22 | + overflow-x: hidden; |
| 23 | + color: #020817; |
19 | 24 | } |
20 | 25 |
|
21 | 26 | .container { |
22 | | - max-width: 1200px; |
23 | | - margin: 0 auto; |
24 | | - background: white; |
25 | | - border-radius: 16px; |
26 | | - box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); |
| 27 | + max-width: 100%; |
| 28 | + margin: 0; |
| 29 | + background: transparent; |
| 30 | + border-radius: 0; |
| 31 | + box-shadow: none; |
27 | 32 | overflow: hidden; |
| 33 | + display: flex; |
| 34 | + flex-direction: column; |
| 35 | + min-height: 100vh; |
28 | 36 | } |
29 | 37 |
|
30 | 38 | header { |
31 | | - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
32 | | - color: white; |
33 | | - padding: 30px; |
| 39 | + background: transparent; |
| 40 | + color: #020817; |
| 41 | + padding: 40px 20px; |
34 | 42 | text-align: center; |
| 43 | + position: relative; |
| 44 | + z-index: 1; |
35 | 45 | } |
36 | 46 |
|
37 | 47 | header h1 { |
38 | 48 | font-size: 2.5rem; |
39 | | - margin-bottom: 10px; |
| 49 | + margin-bottom: 8px; |
| 50 | + font-weight: 600; |
| 51 | + letter-spacing: -0.5px; |
| 52 | + color: #020817; |
40 | 53 | } |
41 | 54 |
|
42 | 55 | header p { |
43 | | - opacity: 0.9; |
44 | | - font-size: 1.1rem; |
| 56 | + opacity: 0.6; |
| 57 | + font-size: 1rem; |
| 58 | + color: #64748b; |
| 59 | + font-weight: 400; |
45 | 60 | } |
46 | 61 |
|
47 | 62 | main { |
48 | | - padding: 40px; |
| 63 | + padding: 0; |
| 64 | + flex: 1; |
| 65 | + display: flex; |
| 66 | + align-items: center; |
| 67 | + justify-content: center; |
49 | 68 | } |
50 | 69 |
|
51 | 70 | {% block styles %}{% endblock %} |
52 | 71 |
|
| 72 | + |
53 | 73 | .btn { |
54 | 74 | display: inline-block; |
55 | | - padding: 14px 32px; |
56 | | - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
57 | | - color: white; |
58 | | - border: none; |
59 | | - border-radius: 8px; |
60 | | - font-size: 1rem; |
61 | | - font-weight: 600; |
| 75 | + padding: 10px 24px; |
| 76 | + background: #020817; |
| 77 | + color: #ffffff; |
| 78 | + border: 1px solid #020817; |
| 79 | + border-radius: 6px; |
| 80 | + font-size: 0.95rem; |
| 81 | + font-weight: 500; |
62 | 82 | cursor: pointer; |
63 | | - transition: transform 0.2s, box-shadow 0.2s; |
| 83 | + transition: all 0.2s ease; |
64 | 84 | text-decoration: none; |
65 | 85 | margin-top: 20px; |
| 86 | + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
66 | 87 | } |
67 | 88 |
|
68 | 89 | .btn:hover { |
69 | | - transform: translateY(-2px); |
70 | | - box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); |
| 90 | + background: #1e293b; |
| 91 | + border-color: #1e293b; |
| 92 | + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
| 93 | + } |
| 94 | + |
| 95 | + .btn:active { |
| 96 | + transform: scale(0.98); |
71 | 97 | } |
72 | 98 |
|
73 | 99 | .btn-secondary { |
74 | | - background: #6c757d; |
| 100 | + background: #e2e8f0; |
| 101 | + color: #020817; |
| 102 | + border-color: #e2e8f0; |
| 103 | + } |
| 104 | + |
| 105 | + .btn-secondary:hover { |
| 106 | + background: #cbd5e1; |
| 107 | + border-color: #cbd5e1; |
75 | 108 | } |
76 | 109 |
|
77 | 110 | .btn-success { |
78 | | - background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); |
| 111 | + background: #16a34a; |
| 112 | + border-color: #16a34a; |
| 113 | + color: #ffffff; |
| 114 | + } |
| 115 | + |
| 116 | + .btn-success:hover { |
| 117 | + background: #15803d; |
| 118 | + border-color: #15803d; |
79 | 119 | } |
80 | 120 |
|
81 | 121 | .error-message { |
82 | | - background: #fee; |
83 | | - border: 1px solid #fcc; |
84 | | - color: #c33; |
| 122 | + background: #fee2e2; |
| 123 | + border: 1px solid #fecaca; |
| 124 | + color: #991b1b; |
85 | 125 | padding: 16px; |
86 | | - border-radius: 8px; |
| 126 | + border-radius: 6px; |
87 | 127 | margin: 20px 0; |
| 128 | + font-size: 0.95rem; |
88 | 129 | } |
89 | 130 |
|
| 131 | + |
90 | 132 | footer { |
91 | | - background: #f8f9fa; |
92 | | - padding: 20px; |
| 133 | + background: #f8fafc; |
| 134 | + padding: 24px; |
93 | 135 | text-align: center; |
94 | | - color: #666; |
| 136 | + color: #64748b; |
| 137 | + border-top: 1px solid #e2e8f0; |
| 138 | + font-size: 0.9rem; |
95 | 139 | } |
96 | 140 | </style> |
97 | 141 | </head> |
98 | 142 | <body> |
99 | 143 | <div class="container"> |
100 | 144 | <header> |
101 | | - <h1>🔍 SearchVision</h1> |
| 145 | + <h1>SearchVision</h1> |
102 | 146 | <p>Train your own object detection model in minutes</p> |
103 | 147 | </header> |
104 | 148 | <main> |
|
0 commit comments