Level 1: IF ฝนตก → หยิบร่ม
+ลากบล็อกเข้าไปใน Branch True/False ของ IF ได้
+diff --git a/public/css/logic_game.css b/public/css/logic_game.css index 9714af2..0cd833a 100644 --- a/public/css/logic_game.css +++ b/public/css/logic_game.css @@ -38,7 +38,6 @@ body { font-family: sans-serif; margin-bottom: 5px; } .branch { - border: 2px dashed #666; padding: 8px; min-height: 40px; margin: 6px 0; @@ -48,8 +47,8 @@ body { font-family: sans-serif; font-size: 12px; font-weight: bold; } - .container { - margin: 10px 2rem 10px 2rem; + .main-content { + margin: 10px 2rem 10px 2rem; border-radius: 1.125rem; padding: 2.5rem clamp(1.75rem, 1vw, 25rem); background: @@ -62,6 +61,21 @@ body { font-family: sans-serif; backdrop-filter: blur(0.875rem) saturate(120%); border: 0.0625rem solid rgba(255,255,255,.10); overflow: auto; /* เพิ่มการเลื่อนภายใน container */ + } + .container { + margin: 10px 5rem 10px 5rem; + border-radius: 1.125rem; + padding: 2.5rem clamp(1.75rem, 1vw, 25rem); + background: + linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)) padding-box, + radial-gradient(120% 140% at 100% 0%, rgba(224,133,0,.30), transparent 40%) padding-box, + radial-gradient(120% 140% at 0% 100%, rgba(0,95,163,.35), transparent 40%) padding-box; + box-shadow: + 0 0.625rem 1.875rem rgba(0,0,0,.45), + inset 0 0.0625rem 0 rgba(255,255,255,.06); + backdrop-filter: blur(0.875rem) saturate(120%); + border: 0.0625rem solid rgba(255,255,255,.10); + justify-content: center; } .btn_submitlogic { --_ring: rgba(0,95,163,.38); @@ -99,6 +113,7 @@ body { font-family: sans-serif; .level-header { text-align: center; margin-bottom: 20px; + font-size: 1.5rem; } .level-select { margin: 10px 0 20px 0; diff --git a/public/html/logic_game.html b/public/html/logic_game.html index fffe1d6..8b01fc0 100644 --- a/public/html/logic_game.html +++ b/public/html/logic_game.html @@ -16,37 +16,39 @@
ลากบล็อกเข้าไปใน Branch True/False ของ IF ได้
-ลากบล็อกเข้าไปใน Branch True/False ของ IF ได้
+