Rathapoom commited on
Commit
095901f
·
verified ·
1 Parent(s): 969446e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +40 -0
app.py CHANGED
@@ -408,6 +408,46 @@ st.markdown("""
408
  border-radius: 8px;
409
  margin: 10px 0;
410
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
 
412
  .thai {
413
  color: #1e88e5;
 
408
  border-radius: 8px;
409
  margin: 10px 0;
410
  }
411
+
412
+ .theme-card {
413
+ transition: all 0.3s ease;
414
+ }
415
+
416
+ .theme-card:hover {
417
+ transform: translateY(-5px);
418
+ box-shadow: 0 4px 15px rgba(0,0,0,0.1);
419
+ }
420
+
421
+ .theme-header {
422
+ text-align: center;
423
+ margin-bottom: 2rem;
424
+ }
425
+
426
+ .theme-header h2 {
427
+ font-size: 2rem;
428
+ color: #1e88e5;
429
+ margin-bottom: 1rem;
430
+ }
431
+
432
+ .theme-header p {
433
+ color: #666;
434
+ font-size: 1.1rem;
435
+ }
436
+
437
+ /* ปรับแต่งปุ่มเลือกธีม */
438
+ .stButton > button {
439
+ width: 100%;
440
+ padding: 0.75rem;
441
+ border: none;
442
+ border-radius: 8px;
443
+ font-family: 'Sarabun', sans-serif;
444
+ transition: all 0.2s ease;
445
+ }
446
+
447
+ .stButton > button:hover {
448
+ transform: translateY(-2px);
449
+ box-shadow: 0 2px 8px rgba(0,0,0,0.1);
450
+ }
451
 
452
  .thai {
453
  color: #1e88e5;