Spaces:
Sleeping
Sleeping
Update static/test.css
Browse files- static/test.css +105 -203
static/test.css
CHANGED
|
@@ -1,214 +1,116 @@
|
|
| 1 |
-
:root {
|
| 2 |
-
--primary-color: #007bff; /* Blue */
|
| 3 |
-
--secondary-color: #6c757d; /* Dark Gray */
|
| 4 |
-
--accent-color: #28a745; /* Green */
|
| 5 |
-
--light-color: #fefefe; /* Off-white */
|
| 6 |
-
--dark-color: #212529; /* Dark Text */
|
| 7 |
-
--success-color: #17a2b8; /* Teal */
|
| 8 |
-
--error-color: #dc3545; /* Red */
|
| 9 |
-
--font-family: 'Roboto', sans-serif;
|
| 10 |
-
--transition-speed: 0.3s;
|
| 11 |
-
--border-radius: 10px;
|
| 12 |
-
}
|
| 13 |
-
|
| 14 |
-
* {
|
| 15 |
-
margin: 0;
|
| 16 |
-
padding: 0;
|
| 17 |
-
box-sizing: border-box;
|
| 18 |
-
}
|
| 19 |
-
|
| 20 |
body {
|
| 21 |
-
font-family:
|
| 22 |
-
|
| 23 |
-
background
|
| 24 |
-
color: #
|
| 25 |
-
|
| 26 |
-
}
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
max-width: 1200px;
|
| 30 |
-
margin: 0 auto;
|
| 31 |
-
background: white;
|
| 32 |
-
padding: 30px;
|
| 33 |
-
border-radius: var(--border-radius);
|
| 34 |
-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
header {
|
| 38 |
text-align: center;
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
| 45 |
font-size: 2.5rem;
|
| 46 |
-
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
font-size: 1.2rem;
|
| 52 |
-
margin-bottom: 20px;
|
| 53 |
-
}
|
| 54 |
-
|
| 55 |
-
.tabs {
|
| 56 |
display: flex;
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
font-weight: 500;
|
| 76 |
-
border-bottom: 3px solid var(--accent-color);
|
| 77 |
-
}
|
| 78 |
-
|
| 79 |
-
.tab-content {
|
| 80 |
-
display: none;
|
| 81 |
-
padding: 20px 0;
|
| 82 |
-
}
|
| 83 |
-
|
| 84 |
-
.tab-content.active {
|
| 85 |
-
display: block;
|
| 86 |
-
}
|
| 87 |
-
|
| 88 |
-
.upload-area {
|
| 89 |
-
margin-bottom: 25px;
|
| 90 |
-
padding: 30px;
|
| 91 |
-
border: 2px dashed #ddd;
|
| 92 |
-
border-radius: var(--border-radius);
|
| 93 |
text-align: center;
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
}
|
| 97 |
-
|
| 98 |
-
.upload-area:hover {
|
| 99 |
-
border-color: var(--primary-color);
|
| 100 |
-
}
|
| 101 |
-
|
| 102 |
-
.upload-area input[type="file"] {
|
| 103 |
-
display: none;
|
| 104 |
-
}
|
| 105 |
-
|
| 106 |
-
.upload-area label {
|
| 107 |
-
display: inline-block;
|
| 108 |
-
padding: 12px 20px;
|
| 109 |
-
background-color: var(--light-color);
|
| 110 |
-
color: var(--dark-color);
|
| 111 |
-
border-radius: var(--border-radius);
|
| 112 |
cursor: pointer;
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
width: 100%;
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
border
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
font-size: 1rem;
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
border-color: var(--primary-color);
|
| 136 |
-
outline: none;
|
| 137 |
-
}
|
| 138 |
-
|
| 139 |
-
.language-select {
|
| 140 |
-
display: flex;
|
| 141 |
-
align-items: center;
|
| 142 |
-
justify-content: center;
|
| 143 |
-
gap: 15px;
|
| 144 |
-
margin-bottom: 15px;
|
| 145 |
-
}
|
| 146 |
-
|
| 147 |
-
.language-select select {
|
| 148 |
-
padding: 10px;
|
| 149 |
-
border-radius: var(--border-radius);
|
| 150 |
-
border: 1px solid #ddd;
|
| 151 |
font-size: 1rem;
|
| 152 |
-
transition: all var(--transition-speed);
|
| 153 |
-
}
|
| 154 |
-
|
| 155 |
-
.language-select select:focus {
|
| 156 |
-
border-color: var(--primary-color);
|
| 157 |
-
outline: none;
|
| 158 |
-
}
|
| 159 |
-
|
| 160 |
-
button {
|
| 161 |
-
background-color: var(--primary-color);
|
| 162 |
-
color: white;
|
| 163 |
border: none;
|
| 164 |
-
|
| 165 |
-
|
|
|
|
| 166 |
cursor: pointer;
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
padding:
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
margin-right: 10px;
|
| 193 |
-
}
|
| 194 |
-
|
| 195 |
-
@keyframes spin {
|
| 196 |
-
to {
|
| 197 |
-
transform: rotate(360deg);
|
| 198 |
-
}
|
| 199 |
-
}
|
| 200 |
-
|
| 201 |
-
@media (max-width: 768px) {
|
| 202 |
-
.container {
|
| 203 |
-
padding: 15px;
|
| 204 |
-
}
|
| 205 |
-
|
| 206 |
-
.tabs {
|
| 207 |
-
flex-direction: column;
|
| 208 |
-
}
|
| 209 |
-
|
| 210 |
-
.tab-btn {
|
| 211 |
-
width: 100%;
|
| 212 |
-
margin-bottom: 10px;
|
| 213 |
-
}
|
| 214 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
+
font-family: 'Inter', sans-serif;
|
| 3 |
+
margin: 0;
|
| 4 |
+
background: #0f172a;
|
| 5 |
+
color: #f1f5f9;
|
| 6 |
+
overflow-x: hidden;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
header {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
text-align: center;
|
| 11 |
+
padding: 4rem 2rem 2rem;
|
| 12 |
+
background: linear-gradient(to right, #3b82f6, #9333ea);
|
| 13 |
+
color: white;
|
| 14 |
+
animation: fadeIn 1s ease-in-out;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
h1 {
|
| 18 |
font-size: 2.5rem;
|
| 19 |
+
margin-bottom: 0.5rem;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
main {
|
| 23 |
+
padding: 2rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
display: flex;
|
| 25 |
+
flex-direction: column;
|
| 26 |
+
align-items: center;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.cards {
|
| 30 |
+
display: flex;
|
| 31 |
+
flex-wrap: wrap;
|
| 32 |
+
justify-content: center;
|
| 33 |
+
gap: 2rem;
|
| 34 |
+
margin-bottom: 3rem;
|
| 35 |
+
animation: fadeInUp 1s ease-in-out;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.card {
|
| 39 |
+
background: #1e293b;
|
| 40 |
+
padding: 2rem;
|
| 41 |
+
border-radius: 1.5rem;
|
| 42 |
+
width: 280px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
text-align: center;
|
| 44 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
| 45 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
cursor: pointer;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.card:hover {
|
| 50 |
+
transform: translateY(-10px);
|
| 51 |
+
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.icon {
|
| 55 |
+
font-size: 2.5rem;
|
| 56 |
+
margin-bottom: 1rem;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.tool-section {
|
| 60 |
+
display: none;
|
| 61 |
+
width: 100%;
|
| 62 |
+
max-width: 600px;
|
| 63 |
+
background: #1e293b;
|
| 64 |
+
padding: 2rem;
|
| 65 |
+
border-radius: 1rem;
|
| 66 |
+
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
|
| 67 |
+
margin-bottom: 2rem;
|
| 68 |
+
animation: fadeIn 0.5s ease-in-out;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
textarea,
|
| 72 |
+
input[type="file"] {
|
| 73 |
width: 100%;
|
| 74 |
+
margin-top: 1rem;
|
| 75 |
+
padding: 0.75rem;
|
| 76 |
+
border: none;
|
| 77 |
+
border-radius: 0.5rem;
|
| 78 |
+
background: #334155;
|
| 79 |
+
color: #f1f5f9;
|
| 80 |
font-size: 1rem;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
button {
|
| 84 |
+
margin-top: 1rem;
|
| 85 |
+
padding: 0.75rem 2rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
font-size: 1rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
border: none;
|
| 88 |
+
border-radius: 0.5rem;
|
| 89 |
+
background: #3b82f6;
|
| 90 |
+
color: white;
|
| 91 |
cursor: pointer;
|
| 92 |
+
transition: background 0.3s ease;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
button:hover {
|
| 96 |
+
background: #2563eb;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
footer {
|
| 100 |
+
text-align: center;
|
| 101 |
+
padding: 2rem;
|
| 102 |
+
color: #cbd5e1;
|
| 103 |
+
font-size: 0.875rem;
|
| 104 |
+
border-top: 1px solid #334155;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
@keyframes fadeIn {
|
| 108 |
+
from { opacity: 0; transform: translateY(-10px); }
|
| 109 |
+
to { opacity: 1; transform: translateY(0); }
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
@keyframes fadeInUp {
|
| 113 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 114 |
+
to { opacity: 1; transform: translateY(0); }
|
| 115 |
+
}
|
| 116 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|