File manager - Edit - /home/webapp68.cm.in.th/u68319090012/Project/web/css/style.css
Back
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; } /* ===== Navbar ===== */ .navbar { display: flex; justify-content: space-between; align-items: center; background: #8b3a3a; padding: 15px 30px; color: white; } .logo { font-size: 20px; font-weight: bold; } .menu a { color: white; text-decoration: none; margin: 0 10px; font-weight: 500; } .menu a:hover { text-decoration: underline; } .auth { display: flex; align-items: center; gap: 10px; } .btn { background: white; color: #8b3a3a; padding: 6px 14px; border-radius: 20px; text-decoration: none; font-weight: bold; } /* ===== Content ===== */ /* พื้นที่เนื้อหากลางจอ */ .content { flex: 1; display: flex; justify-content: center; align-items: center; } /* ===== พื้นหลังรูป ===== */ .hero-bg { width: 100vw; /* ✅ เต็มจอแนวนอน */ min-height: 100vh; /* ✅ เต็มจอแนวตั้ง */ background-image: url("images/2.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; justify-content: center; align-items: center; } /* ===== กล่องกลาง ===== */ .hero-card { background: rgba(255, 255, 255, 0.9); padding: 40px 60px; border-radius: 20px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.25); } /* ===== Footer ===== */ .footer { background: #333; color: white; text-align: center; padding: 15px; margin-top: 40px; } .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; } .modal-content { background: #fff; width: 320px; padding: 25px; border-radius: 10px; margin: 10% auto; position: relative; text-align: center; } .modal-content input { width: 100%; padding: 10px; margin: 10px 0; } .modal-content button { width: 100%; padding: 10px; background: #6a4cf4; color: #fff; border: none; border-radius: 5px; cursor: pointer; } .close { position: absolute; right: 15px; top: 10px; font-size: 22px; cursor: pointer; } .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); justify-content: center; align-items: center; z-index: 999; } .modal-box { background: white; padding: 30px; border-radius: 12px; width: 300px; text-align: center; } .modal-box input { width: 100%; padding: 10px; margin: 8px 0; } .modal-box button { width: 100%; padding: 10px; background: #7b2d2d; color: white; border: none; border-radius: 8px; } .close { float: right; cursor: pointer; font-size: 20px; } .navbar { display: flex; justify-content: space-between; align-items: center; background: #8b3a3a; padding: 15px 40px; color: white; } .menu { display: flex; gap: 25px; list-style: none; } .menu a { color: white; text-decoration: none; } .login-btn { background: white; color: #8b3a3a; border: none; padding: 8px 18px; border-radius: 20px; cursor: pointer; font-weight: bold; } .modal { display: none; /* ⭐ สำคัญมาก */ position: fixed; inset: 0; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 9999; } .modal-box { background: white; padding: 25px; border-radius: 10px; width: 320px; } .modal input { width: 100%; padding: 10px; margin: 8px 0; } .close { float: right; cursor: pointer; font-size: 20px; } .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 9999; } .modal-box { background: #fff; padding: 30px; width: 350px; border-radius: 12px; text-align: center; position: relative; } .modal-box input { width: 100%; padding: 10px; margin: 8px 0; } .modal-box button { width: 100%; padding: 10px; background: #8b2e2e; color: white; border: none; border-radius: 8px; cursor: pointer; } .close { position: absolute; top: 10px; right: 15px; font-size: 20px; cursor: pointer; } .switch { margin-top: 15px; font-size: 14px; } .link-btn { background: none; border: none; color: #8b2e2e; cursor: pointer; font-size: 14px; padding: 0; } .modal { display: none; /* ← ต้องเป็น none */ position: fixed; inset: 0; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 999; } .content { flex: 1; } .contact-section { max-width: 900px; margin: 60px auto; padding: 20px; } .map-container { margin-top: 20px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.44 |
proxy
|
phpinfo
|
Settings