Files
lcbp3.np-dms.work/style.css
2025-09-21 20:29:15 +07:00

120 lines
2.3 KiB
CSS
Executable File

/* --- CSS Reset & Basic Setup --- */
:root {
--sea-blue: #005f73;
--teal: #0a9396;
--light-blue: #94d2bd;
--background-color: #e9f5f5;
--white: #ffffff;
--text-color: #001219;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Sarabun', sans-serif;
background-color: var(--background-color);
color: var(--text-color);
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
/* --- Header & Footer --- */
.site-header, .site-footer {
background-color: var(--sea-blue);
color: var(--white);
padding: 1rem 0;
}
.site-header .container, .site-footer .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-weight: 700;
font-size: 1.2rem;
}
.login-button-nav {
color: var(--sea-blue);
background-color: var(--white);
padding: 0.5rem 1.5rem;
text-decoration: none;
border-radius: 5px;
font-weight: 700;
transition: background-color 0.3s, color 0.3s;
}
.login-button-nav:hover {
background-color: var(--light-blue);
}
.site-footer a {
color: var(--white);
text-decoration: none;
margin: 0 1rem;
}
.site-footer a:hover {
text-decoration: underline;
}
/* --- Hero Section (Main Content) --- */
.hero-section {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem 0;
}
.hero-content h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 1rem;
}
.hero-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
color: #333;
}
.cta-button {
display: inline-block;
background-color: var(--teal);
color: var(--white);
font-size: 1.2rem;
font-weight: 700;
padding: 1rem 3rem;
text-decoration: none;
border-radius: 8px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: var(--sea-blue);
}
/* --- Responsive for Mobile --- */
@media (max-width: 768px) {
.hero-content h1 {
font-size: 2rem;
}
.hero-content p {
font-size: 1rem;
}
}