Template:Bhikitia Pro:Main Page/styles.css: Difference between revisions
Created page with "→Bhikitia Pro:Main Page/styles.css: body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f0f0f0; →Light gray background: color: #333; →Dark gray text: line-height: 1.6; margin: 0; →Remove default body margin: } .mp-box { background-color: #fff; →White boxes: border: 1px solid #ddd; →Light gray border: border-radius: 8px; →Rounded corners: padding: 20px; margin: 15px a..." |
No edit summary |
||
| Line 3: | Line 3: | ||
body { | body { | ||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | ||
background-color: #f0f0f0; | background-color: #f0f0f0; | ||
color: #333; | color: #333; | ||
line-height: 1.6; | line-height: 1.6; | ||
margin: 0; | margin: 0; | ||
} | } | ||
.mp-box { | .mp-box { | ||
background-color: #fff; | background-color: #fff; | ||
border: 1px solid #ddd; | border: 1px solid #ddd; | ||
border-radius: 8px; | border-radius: 8px; | ||
padding: 20px; | padding: 20px; | ||
margin: 15px auto; | margin: 15px auto; | ||
max-width: 1200px; /* | max-width: 1200px; /* Consistent max width */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.mp-h2 { | .mp-h2 { | ||
font-size: 1.8em; | font-size: 1.8em; | ||
font-weight: 600; | font-weight: 600; | ||
color: #2c3e50; | color: #2c3e50; | ||
border-bottom: 2px solid #e0e0e0; | border-bottom: 2px solid #e0e0e0; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
| Line 29: | Line 29: | ||
#mp-topbanner { | #mp-topbanner { | ||
background-color: #e8f0fe; | background-color: #e8f0fe; | ||
border: 1px solid #b0c4de; | border: 1px solid #b0c4de; | ||
text-align: center; | text-align: center; | ||
padding: 20px; | padding: 20px; | ||
| Line 36: | Line 36: | ||
#mp-welcome { | #mp-welcome { | ||
font-size: 2.5em; | font-size: 2.5em; | ||
font-weight: 600; | font-weight: 600; | ||
color: #2c3e50; | color: #2c3e50; | ||
| Line 60: | Line 60: | ||
justify-content: space-between; | justify-content: space-between; | ||
margin: 15px auto; | margin: 15px auto; | ||
max-width: 1200px; | max-width: 1200px; /* Consistent max width */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 15px; | padding: 0 15px; | ||
| Line 66: | Line 66: | ||
#mp-left, #mp-right { | #mp-left, #mp-right { | ||
width: 48%; | width: 48%; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
| Line 73: | Line 73: | ||
text-align: center; | text-align: center; | ||
margin: 15px auto; | margin: 15px auto; | ||
max-width: 1200px; | max-width: 1200px; /* Consistent max width */ | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 0 15px; | padding: 0 15px; | ||
Latest revision as of 08:48, 11 March 2025
/* 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;
}
}