Skip to content

Commit d7a653c

Browse files
committed
add Kontext-Style website
1 parent fb97414 commit d7a653c

1 file changed

Lines changed: 45 additions & 44 deletions

File tree

Kontext-Style/styles.css

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -383,52 +383,52 @@ tbody tr:hover {
383383

384384
/* Overview section styles */
385385
.overview-section {
386-
margin-bottom: 40px;
387-
margin-top: 40px;
386+
margin-bottom: 30px;
387+
margin-top: 30px;
388388
}
389389

390390
.overview-section h2 {
391-
font-size: 1.5em;
392-
font-weight: 800;
393-
margin-bottom: 20px;
391+
font-size: 1.4em;
392+
font-weight: 700;
393+
margin-bottom: 15px;
394394
font-family: 'Montserrat', sans-serif;
395395
text-align: center;
396396
}
397397

398398
.overview-grid {
399399
display: grid;
400400
grid-template-columns: repeat(2, 1fr);
401-
gap: 20px;
402-
padding: 20px;
403-
max-width: 800px;
401+
gap: 15px;
402+
padding: 15px;
403+
max-width: 600px;
404404
margin: 0 auto;
405405
}
406406

407407
.overview-item {
408408
background-color: #ffffff;
409-
border-radius: 12px;
409+
border-radius: 8px;
410410
overflow: hidden;
411-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
412-
transition: transform 0.3s ease;
413-
aspect-ratio: 1;
411+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
412+
transition: transform 0.2s ease;
413+
aspect-ratio: 4/3;
414414
position: relative;
415415
}
416416

417417
.overview-item:hover {
418-
transform: scale(1.02);
419-
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
418+
transform: scale(1.01);
419+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
420420
}
421421

422422
.overview-image {
423423
width: 100%;
424424
height: 100%;
425-
object-fit: cover;
425+
object-fit: contain;
426426
display: block;
427-
transition: transform 0.3s ease;
427+
transition: transform 0.2s ease;
428428
}
429429

430430
.overview-item:hover .overview-image {
431-
transform: scale(1.05);
431+
transform: scale(1.02);
432432
}
433433

434434
@media (max-width: 768px) {
@@ -441,28 +441,29 @@ tbody tr:hover {
441441

442442
/* Individual styles section */
443443
.styles-section {
444-
margin-bottom: 40px;
445-
margin-top: 40px;
444+
margin-bottom: 30px;
445+
margin-top: 30px;
446446
}
447447

448448
.styles-section h2 {
449-
font-size: 1.5em;
450-
font-weight: 800;
451-
margin-bottom: 30px;
449+
font-size: 1.4em;
450+
font-weight: 700;
451+
margin-bottom: 20px;
452452
font-family: 'Montserrat', sans-serif;
453453
text-align: center;
454454
}
455455

456456
.styles-grid {
457457
display: grid;
458458
grid-template-columns: repeat(2, 1fr);
459-
gap: 30px;
460-
padding: 0 20px;
459+
gap: 20px;
460+
padding: 0 15px;
461461
}
462462

463463
@media (max-width: 1200px) {
464464
.styles-grid {
465465
grid-template-columns: 1fr;
466+
gap: 15px;
466467
}
467468
}
468469

@@ -487,23 +488,23 @@ tbody tr:hover {
487488

488489
.style-display {
489490
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
490-
border-radius: 16px;
491-
padding: 20px;
492-
box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
493-
transition: transform 0.3s ease, box-shadow 0.3s ease;
491+
border-radius: 12px;
492+
padding: 15px;
493+
box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
494+
transition: transform 0.2s ease, box-shadow 0.2s ease;
494495
}
495496

496497
.style-display:hover {
497-
transform: translateY(-2px);
498-
box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
498+
transform: translateY(-1px);
499+
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
499500
}
500501

501502
.style-container {
502503
position: relative;
503504
width: 100%;
504-
height: 450px;
505+
height: 350px;
505506
background: rgba(255, 255, 255, 0.1);
506-
border-radius: 12px;
507+
border-radius: 8px;
507508
overflow: hidden;
508509
backdrop-filter: blur(10px);
509510
border: 1px solid rgba(255, 255, 255, 0.2);
@@ -529,42 +530,42 @@ tbody tr:hover {
529530
display: flex;
530531
align-items: center;
531532
justify-content: space-between;
532-
margin-top: 15px;
533-
padding: 0 10px;
533+
margin-top: 10px;
534+
padding: 0 5px;
534535
}
535536

536537
.nav-btn {
537-
width: 40px;
538-
height: 40px;
538+
width: 32px;
539+
height: 32px;
539540
border-radius: 50%;
540541
background: rgba(255, 255, 255, 0.9);
541542
border: none;
542543
color: #333;
543-
font-size: 16px;
544+
font-size: 14px;
544545
cursor: pointer;
545546
display: flex;
546547
align-items: center;
547548
justify-content: center;
548-
transition: all 0.3s ease;
549-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
549+
transition: all 0.2s ease;
550+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
550551
}
551552

552553
.nav-btn:hover:not(:disabled) {
553554
background: rgba(255, 255, 255, 1);
554-
transform: scale(1.1);
555-
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
555+
transform: scale(1.05);
556+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
556557
}
557558

558559
.nav-btn:disabled {
559-
opacity: 0.5;
560+
opacity: 0.4;
560561
cursor: not-allowed;
561562
}
562563

563564
.image-indicator {
564565
color: rgba(255, 255, 255, 0.9);
565566
font-family: 'Montserrat', sans-serif;
566-
font-size: 14px;
567+
font-size: 12px;
567568
font-weight: 500;
568569
text-align: center;
569-
min-width: 50px;
570+
min-width: 40px;
570571
}

0 commit comments

Comments
 (0)