Files

146 lines
2.0 KiB
CSS

.page {
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: #f5f5f5;
color: #222222;
font-family: Arial, sans-serif;
line-height: 1.5;
}
.page p {
margin: 0 0 12px;
}
.nav-bar {
background-color: #1f3a5f;
padding: 12px 20px;
}
.nav-bar a {
color: #ffffff;
margin-right: 20px;
text-decoration: none;
}
.nav-bar a:hover {
text-decoration: underline;
}
.main-wrapper {
flex: 1;
width: 100%;
max-width: 760px;
margin: 0 auto;
padding: 24px 16px;
box-sizing: border-box;
}
.box {
background-color: #ffffff;
border: 1px solid #cccccc;
padding: 20px;
margin-bottom: 20px;
}
.edu-table {
width: 100%;
border-collapse: collapse;
}
.edu-table th,
.edu-table td {
border: 1px solid #999999;
padding: 8px;
text-align: left;
}
.edu-table th {
background-color: #e6e6e6;
font-weight: bold;
}
.footer-bar {
text-align: center;
padding: 16px;
border-top: 1px solid #cccccc;
color: #555555;
font-size: 14px;
}
.footer-bar p {
margin: 0;
}
/* ---------- halaman hobbies ---------- */
.hobby-title {
font-size: 28px;
font-weight: bold;
margin: 0 0 8px;
}
.hobby-subtitle {
font-size: 20px;
font-weight: bold;
margin: 0 0 12px;
}
.hobby-img {
display: block;
width: 100%;
height: 260px;
object-fit: cover;
border: 1px solid #cccccc;
margin-bottom: 12px;
}
.hobby-list {
margin: 8px 0 0;
padding-left: 24px;
list-style-type: disc;
}
ol.hobby-list {
list-style-type: decimal;
}
/* ---------- halaman contact ---------- */
.contact-title {
font-size: 28px;
font-weight: bold;
margin: 0 0 8px;
}
.contact-subtitle {
font-size: 20px;
font-weight: bold;
margin: 0 0 12px;
}
.contact-list {
list-style: none;
margin: 0;
padding: 0;
}
.contact-list li {
padding: 8px 0;
border-bottom: 1px solid #dddddd;
}
.contact-list li:last-child {
border-bottom: none;
}
.contact-label {
display: inline-block;
width: 100px;
color: #555555;
}
.contact-link {
color: #1a56a0;
}