diff --git a/style.css b/style.css index ea8bfa5cd68dacba09c553ac6fb6e2e6f02b1ec5..fbd9a989f0ccc17abd34398dd9e650531c2ce7a3 100644 --- a/style.css +++ b/style.css @@ -1,22 +1,15 @@ /* ตั้งค่าพื้นฐาน */ -* { - box-sizing: border-box; -} - body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; - display: flex; - justify-content: center; - align-items: center; } /* คอนเทนเนอร์หลัก */ .container { width: 80%; - max-width: 900px; + margin: 20px auto; background: white; padding: 20px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); @@ -50,11 +43,6 @@ th { color: white; } -/* ปรับให้ตารางไม่ล้นจอ */ -.table-wrapper { - overflow-x: auto; -} - /* ฟอร์ม */ form { text-align: center; @@ -66,18 +54,12 @@ input, button { margin: 5px; border: 1px solid #ccc; border-radius: 5px; - font-size: 16px; -} - -input { - width: 250px; } button { background-color: #28a745; color: white; cursor: pointer; - transition: background-color 0.3s; } button:hover { @@ -126,7 +108,6 @@ a:hover { border: none; cursor: pointer; border-radius: 5px; - transition: background-color 0.3s; } .qty-btn:hover { @@ -143,9 +124,8 @@ a:hover { border-radius: 5px; font-size: 18px; color: black; - transition: background-color 0.3s; } .checkout-btn:hover { background-color: #e0a800; -} +} \ No newline at end of file