File manager - Edit - /home/kridsana/webapp.cm.in.th/673190902/u67319090028/WEB/Style.css
Back
body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; background-color: #B1C29E; color: #333; } .navbar { background-color: #4B5945; color: rgb(255, 255, 255); position: fixed; top: 0; width: 100%; z-index: 100; transition: top 0.3s ease-in-out; } .navbar .nav-list { list-style-type: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; } .navbar .nav-list li { margin: 10px 20px; } .navbar .nav-list li a { color: #fccf07; text-decoration: none; padding: 10px 15px; font-size: 18px; display: block; } .navbar .nav-list li a:hover { background-color: #66785F; border-radius: 5px; } @media (max-width: 768px) { .navbar .nav-list { flex-direction: column; text-align: center; } .navbar .nav-list li { margin: 15px 0; } } .sticky { position: fixed; top: 0; width: 100%; z-index: 1000; } .content { padding-top: 80px; /* Prevent content from hiding under the sticky navbar */ } header { text-align: center; padding: 50px; background: url('header-bg.jpg') no-repeat center center/cover; color: #EFB036; font-size: 55px; position: relative; }.animated-header { animation: bounce 2s infinite alternate; } @keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-10px); } }.content { padding: 20px; text-align: center; }.attraction-list { display: flex; flex-wrap: wrap; justify-content: center; }.attraction { background: #B2C9AD; margin: 10px; padding: 20px; width: 300px; border-radius: 10px; box-shadow: 0 4px 8px #4B5945; opacity: 0; transform: translateX(-50px); transition: all 0.5s ease-in-out; }.attraction.show { opacity: 1; transform: translateX(0); }.attraction img { width: 100%; height: 200px; object-fit: cover; }.history-section { display: flex; background-color: #66785F; padding: 20px; margin-bottom: 20px; }.history-content { flex: 1; background-color: #B2C9AD; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); font-size: 20px; animation: slideInFromRight 1s ease-out; }.history-image { flex-basis: 200px; margin-left: 20px; height: auto; animation: slideUpFromBottom 1s ease-out; }.history-image img { width: 100%; height: 100%; object-fit: cover; } @keyframes slideInFromRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } } @keyframes slideUpFromBottom { from { opacity: 0; transform: translateY(100px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 768px) { .history-section { flex-direction: column; } .history-image { width: 100%; margin-left: 0; margin-top: 20px; } } .accommodation-section { display: flex; background-color: #66785F; padding: 20px; margin-bottom: 20px; }.accommodation-content { flex: 1; background-color: #B2C9AD; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); font-size: 20px; animation: slideInFromRight 1s ease-out; } /*... โค้ด CSS อื่นๆ... */.accommodation-list { display: flex; flex-wrap: wrap; justify-content: center; }.accommodation { background: #B2C9AD; margin: 10px; padding: 20px; width: 300px; border-radius: 10px; box-shadow: 0 4px 8px #4B5945; opacity: 0; transform: translateY(50px); /* เปลี่ยน animation เป็น translateY */ transition: all 0.5s ease-in-out; }.accommodation.show { opacity: 1; transform: translateY(0); /* เปลี่ยน animation เป็น translateY */ }.accommodation img { width: 100%; height: 200px; object-fit: cover; } .dinner-section { display: flex; background-color: #66785F; padding: 20px; margin-bottom: 20px; }.dinner-content { flex: 1; background-color: #B2C9AD; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); font-size: 20px; animation: slideInFromRight 1s ease-out; } /*... โค้ด CSS อื่นๆ... */.dinner img { width: 100%; margin-left: 0; margin-top: 20px; } /*... โค้ด CSS อื่นๆ... */.travel-section { display: flex; background-color: #66785F; /* เปลี่ยนสีพื้นหลังเป็นสีเขียว */ padding: 20px; margin-bottom: 20px; }.travel-content { flex: 1; background-color: #B2C9AD; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }.travel-image { width: 300px; margin-left: 20px; height: auto; }.travel-image img { width: 100%; height: 100%; object-fit: cover; } /* เพิ่ม Media Query สำหรับ responsive */ @media (max-width: 768px) { .travel-section { flex-direction: column; } .travel-image { width: 100%; margin-left: 0; margin-top: 20px; } } /*... โค้ด CSS อื่นๆ... */.map-container { width: 100%; margin-top: 20px; }.map-container iframe { width: 100%; height: 450px; border: 0; } /*... โค้ด CSS อื่นๆ... */.contact-section { background-color: #66785F; /* เปลี่ยนสีพื้นหลังเป็นสีเขียว */ padding: 20px; margin-bottom: 20px; }.contact-content { background-color: #B2C9AD; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.39 |
proxy
|
phpinfo
|
Settings