Spaces:
Running
Running
Delete style.css
Browse files
style.css
DELETED
|
@@ -1,313 +0,0 @@
|
|
| 1 |
-
:root {
|
| 2 |
-
/* Modern glass morphism theme */
|
| 3 |
-
--primary: #0d1117; /* Dark background */
|
| 4 |
-
--primary-dark: #010409; /* Even darker for header */
|
| 5 |
-
--surface: rgba(22, 27, 34, 0.7); /* Semi-transparent surface */
|
| 6 |
-
--surface-variant: rgba(33, 38, 45, 0.8); /* More opaque for interactive elements */
|
| 7 |
-
--on-surface: #c9d1d9; /* Light gray text */
|
| 8 |
-
--on-surface-variant: #8b949e; /* Slightly darker text */
|
| 9 |
-
--accent1: #58a6ff; /* Blue for links and highlights */
|
| 10 |
-
--accent2: #79c0ff; /* Lighter blue for hover effects */
|
| 11 |
-
--glass-blur: 12px; /* Blur for glass effect */
|
| 12 |
-
--glass-border: 1px solid rgba(255, 255, 255, 0.1); /* Glass border */
|
| 13 |
-
--elevation-1: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.1);
|
| 14 |
-
--elevation-2: 0 3px 6px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
|
| 15 |
-
--elevation-3: 0 10px 20px rgba(0,0,0,0.4), 0 3px 6px rgba(0,0,0,0.3);
|
| 16 |
-
--transition-speed: 0.3s;
|
| 17 |
-
}
|
| 18 |
-
|
| 19 |
-
/* Reset some default styles */
|
| 20 |
-
* {
|
| 21 |
-
margin: 0;
|
| 22 |
-
padding: 0;
|
| 23 |
-
box-sizing: border-box;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
body {
|
| 27 |
-
font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
| 28 |
-
background-color: var(--primary);
|
| 29 |
-
color: var(--on-surface);
|
| 30 |
-
line-height: 1.6;
|
| 31 |
-
scroll-behavior: smooth;
|
| 32 |
-
}
|
| 33 |
-
|
| 34 |
-
.top-bar {
|
| 35 |
-
position: fixed;
|
| 36 |
-
top: 0;
|
| 37 |
-
right: 0;
|
| 38 |
-
padding: 0.5rem; /* Reduced padding */
|
| 39 |
-
z-index: 1000;
|
| 40 |
-
}
|
| 41 |
-
|
| 42 |
-
#lang-toggle {
|
| 43 |
-
background: var(--surface-variant);
|
| 44 |
-
color: var(--on-surface);
|
| 45 |
-
border: none;
|
| 46 |
-
padding: 6px 12px; /* Smaller padding */
|
| 47 |
-
border-radius: 15px; /* Smaller radius */
|
| 48 |
-
cursor: pointer;
|
| 49 |
-
font-weight: 500;
|
| 50 |
-
transition: all 0.3s ease;
|
| 51 |
-
appearance: none;
|
| 52 |
-
-webkit-appearance: none;
|
| 53 |
-
-moz-appearance: none;
|
| 54 |
-
font-size: 0.9rem; /* Smaller font size */
|
| 55 |
-
}
|
| 56 |
-
|
| 57 |
-
#lang-toggle:hover {
|
| 58 |
-
background: var(--accent2); /* Use accent2 for hover */
|
| 59 |
-
transform: scale(1.05);
|
| 60 |
-
}
|
| 61 |
-
|
| 62 |
-
header {
|
| 63 |
-
padding: 4rem 1rem 2rem;
|
| 64 |
-
text-align: center;
|
| 65 |
-
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
|
| 66 |
-
color: white;
|
| 67 |
-
animation: fadeIn 0.8s ease-out;
|
| 68 |
-
position: relative;
|
| 69 |
-
overflow: hidden;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
header::before {
|
| 73 |
-
content: '';
|
| 74 |
-
position: absolute;
|
| 75 |
-
top: 0;
|
| 76 |
-
left: 0;
|
| 77 |
-
width: 100%;
|
| 78 |
-
height: 100%;
|
| 79 |
-
background: radial-gradient(circle at 50% 0%, rgba(88, 166, 255, 0.1), transparent 70%);
|
| 80 |
-
animation: gradientPulse 10s infinite alternate;
|
| 81 |
-
}
|
| 82 |
-
|
| 83 |
-
.title {
|
| 84 |
-
font-size: 2rem; /* Smaller title */
|
| 85 |
-
font-weight: 700;
|
| 86 |
-
letter-spacing: -0.5px;
|
| 87 |
-
margin-bottom: 0.5rem; /* Reduced margin */
|
| 88 |
-
}
|
| 89 |
-
|
| 90 |
-
.subtitle {
|
| 91 |
-
font-size: 1rem; /* Smaller subtitle */
|
| 92 |
-
opacity: 0.9;
|
| 93 |
-
}
|
| 94 |
-
|
| 95 |
-
main {
|
| 96 |
-
max-width: 1000px; /* Slightly smaller max-width */
|
| 97 |
-
margin: 1.5rem auto; /* Reduced margin */
|
| 98 |
-
padding: 0 1rem;
|
| 99 |
-
display: grid;
|
| 100 |
-
gap: 1.5rem; /* Reduced gap */
|
| 101 |
-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Smaller min size */
|
| 102 |
-
}
|
| 103 |
-
|
| 104 |
-
.card {
|
| 105 |
-
background: var(--surface);
|
| 106 |
-
border-radius: 16px;
|
| 107 |
-
padding: 1rem;
|
| 108 |
-
box-shadow: var(--elevation-1);
|
| 109 |
-
transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
|
| 110 |
-
animation: slideUp 0.5s ease-out;
|
| 111 |
-
animation-fill-mode: both;
|
| 112 |
-
backdrop-filter: blur(var(--glass-blur));
|
| 113 |
-
border: var(--glass-border);
|
| 114 |
-
}
|
| 115 |
-
|
| 116 |
-
.card:hover {
|
| 117 |
-
transform: translateY(-4px);
|
| 118 |
-
box-shadow: var(--elevation-3);
|
| 119 |
-
background: rgba(22, 27, 34, 0.9);
|
| 120 |
-
}
|
| 121 |
-
|
| 122 |
-
.card-title {
|
| 123 |
-
color: var(--accent1); /* Use accent1 for titles */
|
| 124 |
-
font-size: 1.25rem; /* Smaller title */
|
| 125 |
-
margin-bottom: 0.75rem; /* Reduced margin */
|
| 126 |
-
font-weight: 600;
|
| 127 |
-
}
|
| 128 |
-
|
| 129 |
-
.card-content {
|
| 130 |
-
color: var(--on-surface-variant);
|
| 131 |
-
}
|
| 132 |
-
|
| 133 |
-
.card ul, .card ol {
|
| 134 |
-
padding-left: 1.25rem; /* Reduced padding */
|
| 135 |
-
margin: 0.5rem 0;
|
| 136 |
-
}
|
| 137 |
-
|
| 138 |
-
.card li {
|
| 139 |
-
margin: 0.25rem 0; /* Reduced margin */
|
| 140 |
-
font-size: 0.9rem; /* Smaller font size */
|
| 141 |
-
}
|
| 142 |
-
|
| 143 |
-
code {
|
| 144 |
-
background: rgba(255, 255, 255, 0.1);
|
| 145 |
-
padding: 0.1rem 0.2rem; /* Smaller padding */
|
| 146 |
-
border-radius: 4px;
|
| 147 |
-
font-size: 0.85em; /* Smaller font size */
|
| 148 |
-
font-family: 'Courier New', Courier, monospace;
|
| 149 |
-
}
|
| 150 |
-
|
| 151 |
-
a {
|
| 152 |
-
color: var(--accent2); /* Lighter blue for links */
|
| 153 |
-
text-decoration: none;
|
| 154 |
-
transition: color 0.2s ease;
|
| 155 |
-
}
|
| 156 |
-
|
| 157 |
-
a:hover {
|
| 158 |
-
color: var(--accent1); /* Use accent1 for hover */
|
| 159 |
-
text-decoration: underline;
|
| 160 |
-
}
|
| 161 |
-
|
| 162 |
-
footer {
|
| 163 |
-
text-align: center;
|
| 164 |
-
padding: 1rem; /* Reduced padding */
|
| 165 |
-
color: var(--on-surface-variant);
|
| 166 |
-
background: var(--surface);
|
| 167 |
-
margin-top: 1rem; /* Reduced margin */
|
| 168 |
-
}
|
| 169 |
-
|
| 170 |
-
/* Demo Section Styles */
|
| 171 |
-
.demo-container {
|
| 172 |
-
margin-bottom: 0.75rem; /* Reduced margin */
|
| 173 |
-
}
|
| 174 |
-
|
| 175 |
-
.demo-button {
|
| 176 |
-
background-color: var(--accent1); /* Use accent1 for demo buttons */
|
| 177 |
-
color: white;
|
| 178 |
-
border: none;
|
| 179 |
-
padding: 8px 16px; /* Smaller padding */
|
| 180 |
-
border-radius: 15px; /* Smaller radius */
|
| 181 |
-
cursor: pointer;
|
| 182 |
-
font-size: 0.9rem; /* Smaller font size */
|
| 183 |
-
font-weight: 500;
|
| 184 |
-
transition: background-color 0.3s ease;
|
| 185 |
-
width: 100%;
|
| 186 |
-
display: block;
|
| 187 |
-
margin-bottom: 0.25rem; /* Reduced margin */
|
| 188 |
-
}
|
| 189 |
-
|
| 190 |
-
.demo-button:hover {
|
| 191 |
-
background-color: var(--accent2); /* Use accent2 for hover */
|
| 192 |
-
}
|
| 193 |
-
|
| 194 |
-
@keyframes loadingPulse {
|
| 195 |
-
0% { opacity: 0.5; }
|
| 196 |
-
50% { opacity: 1; }
|
| 197 |
-
100% { opacity: 0.5; }
|
| 198 |
-
}
|
| 199 |
-
|
| 200 |
-
.loading {
|
| 201 |
-
animation: loadingPulse 1.5s infinite;
|
| 202 |
-
display: inline-block;
|
| 203 |
-
padding: 0 0.5rem;
|
| 204 |
-
}
|
| 205 |
-
|
| 206 |
-
details {
|
| 207 |
-
background-color: var(--surface-variant);
|
| 208 |
-
border-radius: 8px;
|
| 209 |
-
padding: 8px; /* Smaller padding */
|
| 210 |
-
margin-top: 0.25rem; /* Reduced margin */
|
| 211 |
-
}
|
| 212 |
-
|
| 213 |
-
details summary {
|
| 214 |
-
cursor: pointer;
|
| 215 |
-
font-weight: bold;
|
| 216 |
-
list-style: none;
|
| 217 |
-
outline: none;
|
| 218 |
-
font-size: 0.9rem; /* Smaller font size */
|
| 219 |
-
}
|
| 220 |
-
|
| 221 |
-
details summary::-webkit-details-marker {
|
| 222 |
-
display: none;
|
| 223 |
-
}
|
| 224 |
-
|
| 225 |
-
details summary::before {
|
| 226 |
-
content: '▶';
|
| 227 |
-
display: inline-block;
|
| 228 |
-
margin-right: 0.5em;
|
| 229 |
-
transition: transform 0.2s ease;
|
| 230 |
-
font-size: 0.8rem; /* Smaller font size */
|
| 231 |
-
}
|
| 232 |
-
|
| 233 |
-
details[open] summary::before {
|
| 234 |
-
transform: rotate(90deg);
|
| 235 |
-
}
|
| 236 |
-
|
| 237 |
-
details p {
|
| 238 |
-
margin-top: 0.25rem; /* Reduced margin */
|
| 239 |
-
padding-left: 1rem; /* Reduced padding */
|
| 240 |
-
font-size: 0.85rem; /* Smaller font size */
|
| 241 |
-
}
|
| 242 |
-
|
| 243 |
-
/* Info Grid Styles (for grouped sections) */
|
| 244 |
-
.info-grid {
|
| 245 |
-
display: grid;
|
| 246 |
-
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
|
| 247 |
-
gap: 1rem;
|
| 248 |
-
}
|
| 249 |
-
|
| 250 |
-
.info-grid h3 {
|
| 251 |
-
font-size: 1rem; /* Smaller heading */
|
| 252 |
-
margin-bottom: 0.5rem;
|
| 253 |
-
color: var(--accent1);
|
| 254 |
-
}
|
| 255 |
-
|
| 256 |
-
.info-grid p, .info-grid ul {
|
| 257 |
-
font-size: 0.85rem;
|
| 258 |
-
}
|
| 259 |
-
|
| 260 |
-
/* Animations */
|
| 261 |
-
@keyframes fadeIn {
|
| 262 |
-
from { opacity: 0; }
|
| 263 |
-
to { opacity: 1; }
|
| 264 |
-
}
|
| 265 |
-
|
| 266 |
-
@keyframes slideUp {
|
| 267 |
-
from {
|
| 268 |
-
opacity: 0;
|
| 269 |
-
transform: translateY(20px);
|
| 270 |
-
}
|
| 271 |
-
to {
|
| 272 |
-
opacity: 1;
|
| 273 |
-
transform: translateY(0);
|
| 274 |
-
}
|
| 275 |
-
}
|
| 276 |
-
|
| 277 |
-
@keyframes gradientPulse {
|
| 278 |
-
0% {
|
| 279 |
-
transform: scale(1);
|
| 280 |
-
opacity: 0.1;
|
| 281 |
-
}
|
| 282 |
-
50% {
|
| 283 |
-
transform: scale(1.2);
|
| 284 |
-
opacity: 0.2;
|
| 285 |
-
}
|
| 286 |
-
100% {
|
| 287 |
-
transform: scale(1);
|
| 288 |
-
opacity: 0.1;
|
| 289 |
-
}
|
| 290 |
-
}
|
| 291 |
-
|
| 292 |
-
/* Responsive Adjustments */
|
| 293 |
-
@media (max-width: 768px) {
|
| 294 |
-
main {
|
| 295 |
-
grid-template-columns: 1fr;
|
| 296 |
-
padding: 0 1rem;
|
| 297 |
-
}
|
| 298 |
-
|
| 299 |
-
.card {
|
| 300 |
-
border-radius: 12px; /* Even smaller radius */
|
| 301 |
-
}
|
| 302 |
-
|
| 303 |
-
.title {
|
| 304 |
-
font-size: 1.8rem; /* Even smaller title */
|
| 305 |
-
}
|
| 306 |
-
|
| 307 |
-
header {
|
| 308 |
-
padding: 3rem 1rem 1.5rem; /* Even smaller padding */
|
| 309 |
-
}
|
| 310 |
-
.info-grid {
|
| 311 |
-
grid-template-columns: 1fr; /* Stack info sections on mobile */
|
| 312 |
-
}
|
| 313 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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