Skip to content

Commit 2bb8edc

Browse files
committed
up
1 parent ec3c642 commit 2bb8edc

File tree

1 file changed

+50
-34
lines changed

1 file changed

+50
-34
lines changed

www/assets/css/main.css

Lines changed: 50 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ section h2::after {
12761276
.example-header h3 {
12771277
font-size: 1.125rem;
12781278
font-weight: 700;
1279-
color: #1f2937;
1279+
color: #111827;
12801280
font-family: 'Courier New', monospace;
12811281
margin: 0;
12821282
}
@@ -1285,36 +1285,37 @@ section h2::after {
12851285
padding: 0.25rem 0.5rem;
12861286
border-radius: 4px;
12871287
font-size: 0.625rem;
1288-
font-weight: 600;
1288+
font-weight: 700;
12891289
text-transform: uppercase;
12901290
letter-spacing: 0.025em;
12911291
}
12921292

12931293
.badge-blue {
1294-
background: #dbeafe;
1295-
color: #1e40af;
1294+
background: #1e40af;
1295+
color: white;
12961296
}
12971297

12981298
.badge-green {
1299-
background: #d1fae5;
1300-
color: #065f46;
1299+
background: #059669;
1300+
color: white;
13011301
}
13021302

13031303
.badge-purple {
1304-
background: #ede9fe;
1305-
color: #6b21a8;
1304+
background: #7c3aed;
1305+
color: white;
13061306
}
13071307

13081308
.badge-orange {
1309-
background: #fed7aa;
1310-
color: #9a3412;
1309+
background: #ea580c;
1310+
color: white;
13111311
}
13121312

13131313
.example-description {
13141314
font-size: 0.875rem;
1315-
color: #6b7280;
1315+
color: #374151;
13161316
margin-bottom: 1rem;
13171317
line-height: 1.4;
1318+
font-weight: 500;
13181319
}
13191320

13201321
.example-samples {
@@ -1332,85 +1333,100 @@ section h2::after {
13321333
background: #f9fafb;
13331334
border-radius: 6px;
13341335
font-family: 'Courier New', monospace;
1335-
font-size: 0.875rem;
1336+
font-size: 0.9rem;
13361337
position: relative;
1337-
border: 1px solid transparent;
1338+
border: 1px solid #e5e7eb;
13381339
}
13391340

13401341
.sample:hover {
13411342
background: #f3f4f6;
1343+
border-color: #d1d5db;
13421344
}
13431345

13441346
.sample .input {
1345-
color: #1e40af;
1346-
font-weight: 600;
1347+
color: #0f172a;
1348+
font-weight: 700;
13471349
min-width: 110px;
1350+
background: #e0e7ff;
1351+
padding: 0.125rem 0.375rem;
1352+
border-radius: 3px;
13481353
}
13491354

13501355
.sample .arrow {
1351-
color: #9ca3af;
1356+
color: #4b5563;
13521357
font-size: 1rem;
1358+
font-weight: bold;
13531359
}
13541360

13551361
.sample .output {
13561362
flex: 1;
1357-
color: #059669;
1363+
color: #047857;
13581364
word-break: break-all;
1359-
font-size: 0.825rem;
1365+
font-size: 0.875rem;
13601366
margin-right: 0.5rem;
1367+
font-weight: 600;
13611368
}
13621369

13631370
.sample .output.hex {
1364-
color: #7c3aed;
1365-
font-size: 0.775rem;
1371+
color: #6d28d9;
1372+
font-size: 0.825rem;
1373+
font-weight: 600;
13661374
}
13671375

13681376
.sample .output em {
13691377
font-style: normal;
1370-
font-weight: 700;
1371-
color: #059669;
1378+
font-weight: 800;
1379+
color: #047857;
13721380
text-decoration: underline;
1373-
text-decoration-style: dotted;
1374-
text-decoration-color: #10b981;
1381+
text-decoration-style: solid;
1382+
text-decoration-color: #047857;
1383+
text-decoration-thickness: 2px;
13751384
}
13761385

13771386
.indicator {
13781387
position: absolute;
13791388
right: 0.375rem;
13801389
top: 50%;
13811390
transform: translateY(-50%);
1382-
padding: 0.125rem 0.375rem;
1383-
border-radius: 3px;
1384-
font-size: 0.625rem;
1385-
font-weight: 600;
1391+
padding: 0.3rem 0.5rem;
1392+
border-radius: 12px;
1393+
font-size: 0.8rem;
1394+
font-weight: normal;
13861395
white-space: nowrap;
1396+
letter-spacing: -0.025em;
13871397
}
13881398

13891399
.highlight-same {
13901400
background: #fef3c7;
1391-
border-color: #fbbf24;
1401+
border-color: #f59e0b;
13921402
}
13931403

13941404
.highlight-same .indicator {
1395-
color: #92400e;
1405+
color: white;
1406+
background: #d97706;
1407+
border: 1px solid #92400e;
13961408
}
13971409

13981410
.highlight-prefix {
13991411
background: #d1fae5;
1400-
border-color: #10b981;
1412+
border-color: #059669;
14011413
}
14021414

14031415
.highlight-prefix .indicator {
1404-
color: #065f46;
1416+
color: white;
1417+
background: #059669;
1418+
border: 1px solid #047857;
14051419
}
14061420

14071421
.highlight-different {
14081422
background: #ede9fe;
1409-
border-color: #8b5cf6;
1423+
border-color: #7c3aed;
14101424
}
14111425

14121426
.highlight-different .indicator {
1413-
color: #6b21a8;
1427+
color: white;
1428+
background: #7c3aed;
1429+
border: 1px solid #6d28d9;
14141430
}
14151431

14161432
/* Responsive adjustments */

0 commit comments

Comments
 (0)