Select Git revision
category-list.css
category-list.css 3.69 KiB
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Basic body and background */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f4f6f9;
color: #333;
line-height: 1.6;
}
/* Navbar styling */
.navbar {
background-color: #007bff; /* ใช้สีฟ้าเข้มสำหรับ navbar */
color: white;
padding: 15px 40px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* เพิ่มเงา */
position: sticky;
top: 0;
z-index: 1000;
border-radius: 10px;
}
.navbar-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 28px;
font-weight: bold;
color: white;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1.5px;
}
.navbar-links {
list-style: none;
display: flex;
margin: 0;
}
.navbar-links li {
margin-left: 25px;
}
.navbar-links a {
color: white;
text-decoration: none;
font-size: 16px;
padding: 10px 15px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s, transform 0.3s ease;
}
.navbar-links a:hover {
background-color: #2980b9;
text-decoration: none;
transform: scale(1.05);
}