Template:Bhikitia Pro:Main Page/styles.css

Revision as of 08:47, 11 March 2025 by Parvej Husen Talukder (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* 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 auto; /* Center boxes with margin */
    max-width: 1200px; /* Limit box width */
    box-sizing: border-box; /* Include padding and border in width */
}

.mp-h2 {
    font-size: 1.8em; /* Larger heading font */
    font-weight: 600;
    color: #2c3e50; /* Darker blue heading color */
    border-bottom: 2px solid #e0e0e0; /* Subtle bottom border */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#mp-topbanner {
    background-color: #e8f0fe; /* Very light blue background */
    border: 1px solid #b0c4de; /* Blue border */
    text-align: center;
    padding: 20px;
}

#mp-welcome {
    font-size: 2.5em; /* Larger welcome font */
    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;
    box-sizing: border-box;
    padding: 0 15px;
}

#mp-left, #mp-right {
    width: 48%; /* Adjust width for spacing */
    box-sizing: border-box;
}

#mp-lower, #mp-bottom {
    text-align: center;
    margin: 15px auto;
    max-width: 1200px;
    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;
    }
}