From Bhikitia Pro, An open encyclopedia
/* Bhikitia Pro:Main Page/styles.css */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f0f0f0;
color: #333;
line-height: 1.6;
margin: 0;
}
.mp-box {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin: 15px auto;
max-width: 1200px; /* Consistent max width */
box-sizing: border-box;
}
.mp-h2 {
font-size: 1.8em;
font-weight: 600;
color: #2c3e50;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 10px;
margin-bottom: 20px;
}
#mp-topbanner {
background-color: #e8f0fe;
border: 1px solid #b0c4de;
text-align: center;
padding: 20px;
}
#mp-welcome {
font-size: 2.5em;
font-weight: 600;
color: #2c3e50;
margin-bottom: 10px;
}
#articlecount ul {
list-style: none;
padding: 0;
margin: 10px 0;
display: flex;
justify-content: center;
}
#articlecount li {
margin: 0 20px;
font-size: 1.1em;
color: #555;
}
#mp-upper {
display: flex;
justify-content: space-between;
margin: 15px auto;
max-width: 1200px; /* Consistent max width */
box-sizing: border-box;
padding: 0 15px;
}
#mp-left, #mp-right {
width: 48%;
box-sizing: border-box;
}
#mp-lower, #mp-bottom {
text-align: center;
margin: 15px auto;
max-width: 1200px; /* Consistent max width */
box-sizing: border-box;
padding: 0 15px;
}
#mp-other-content,
#mp-sister-content,
#mp-lang-content {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#mp-other-content a,
#mp-sister-content a,
#mp-lang-content a {
background-color: #f9f9f9;
border: 1px solid #eee;
padding: 10px 15px;
margin: 5px;
border-radius: 5px;
text-decoration: none;
color: #333;
transition: background-color 0.3s ease;
}
#mp-other-content a:hover,
#mp-sister-content a:hover,
#mp-lang-content a:hover {
background-color: #eee;
}
#mp-tfa,
#mp-itn,
#mp-otd,
#mp-dyk,
#mp-tfp {
padding: 15px;
background-color: #f9f9f9;
border: 1px solid #eee;
border-radius: 5px;
margin-bottom: 15px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
#mp-upper {
flex-direction: column;
}
#mp-left,
#mp-right {
width: 100%;
}
#articlecount ul {
flex-direction: column;
align-items: center;
}
#articlecount li {
margin: 5px 0;
}
}