mirror of
https://github.com/System-End/English-machbeath-website.git
synced 2026-04-19 16:28:23 +00:00
154 lines
No EOL
2.6 KiB
CSS
154 lines
No EOL
2.6 KiB
CSS
/* Enhanced style.css */
|
|
body {
|
|
font-family: 'Georgia', serif;
|
|
line-height: 1.8;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f5f3e6;
|
|
color: #333;
|
|
}
|
|
|
|
.container {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
padding: 30px;
|
|
background-color: #fff;
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
margin-top: 30px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
h1 {
|
|
color: #7b3e19;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
font-size: 2.5rem;
|
|
border-bottom: 2px solid #7b3e19;
|
|
padding-bottom: 15px;
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h2 {
|
|
color: #522b10;
|
|
margin-top: 30px;
|
|
margin-bottom: 15px;
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
nav {
|
|
background-color: #522b10;
|
|
padding: 15px 0;
|
|
margin-bottom: 30px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
nav ul {
|
|
list-style-type: none;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
nav ul li {
|
|
margin: 0 15px;
|
|
}
|
|
|
|
nav a {
|
|
color: #f5f3e6;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
transition: all 0.3s ease;
|
|
font-size: 1.1rem;
|
|
padding: 8px 15px;
|
|
border-radius: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: #dca76d;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 20px;
|
|
font-size: 1.1rem;
|
|
text-align: justify;
|
|
}
|
|
|
|
.back-to-home {
|
|
display: inline-block;
|
|
margin-top: 30px;
|
|
background-color: #522b10;
|
|
color: #f5f3e6;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.back-to-home:hover {
|
|
background-color: #7b3e19;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.page-content {
|
|
background-color: #fff;
|
|
padding: 25px;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.section {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.highlight {
|
|
background-color: #f9f2e2;
|
|
padding: 15px;
|
|
border-left: 4px solid #7b3e19;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.header-image {
|
|
width: 100%;
|
|
max-height: 250px;
|
|
object-fit: cover;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
margin-top: 40px;
|
|
padding: 20px;
|
|
font-size: 0.9rem;
|
|
color: #777;
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 20px;
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
nav ul {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
nav ul li {
|
|
margin: 8px 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
} |