Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main Page/styles.css: Difference between revisions

Template page
Created page with ".mp-panel { width: 100%; height: auto; border: 1px solid #88A; background-color: #ACF; vertical-align: top; margin: 0em 0em 0.5em 0em; border-spacing: 0.6em; } .mp-panel h1 { font-size: 230%; font-family: 'hoefler text','times new roman', serif; font-variant: small-caps; border: none; margin: 0; padding: 5pt } .mp-panel h2 { text-align: left; font-size: 1.2em; margin: 4px 0; padding: 1.5px 0 2px 4px; font-weight: bold; border: 1px solid #AAA; text-a..."
 
Blossom (talk | contribs)
No edit summary
Line 1: Line 1:
.mp-panel {
/* General Panel Styling */
width: 100%;
.bh-panel {
height: auto;
    width: 100%;
border: 1px solid #88A;
    margin-bottom: 0; /* Remove space between panels */
background-color: #ACF;
    border: 2px solid #a2a9b1; /* Add consistent border */
vertical-align: top;
    background-color: #ffffff; /* White background for all panels */
margin: 0em 0em 0.5em 0em;
    border-radius: 0; /* No rounding to ensure seamless connection */
border-spacing: 0.6em;
}
}


.mp-panel h1 {
/* Header Styling as Part of the Panel */
font-size: 230%;
.bh-header {
font-family: 'hoefler text','times new roman', serif;
    padding: 1.5em;
font-variant: small-caps;
    background-color: #f9f9ff; /* Subtle background color */
border: none;
    text-align: center;
margin: 0;
    border-bottom: 2px solid #a2a9b1; /* Ensure bottom border connects to the next panel */
padding: 5pt
    font-family: 'Noto Serif Bengali', 'SolaimanLipi', serif; /* Bengali font support */
    direction: ltr; /* Left-to-right text direction */
}
}


.mp-panel h2 {
/* Subpanel Styling */
text-align: left;
.bh-subpanel {
font-size: 1.2em;
    padding: 1.5em;
margin: 4px 0;
    border-bottom: 1px solid #d1d1d1; /* Separator for subpanels */
padding: 1.5px 0 2px 4px;
font-weight: bold;
border: 1px solid #AAA;
text-align: left;
color: #000;
display: block !important;
}
}


.mp-panel h2 span {
.bh-subpanel:last-child {
display: inline !important;
    border-bottom: none; /* Remove border for the last subpanel */
}
}


.mp-subpanel {
/* Titles and Text */
vertical-align: top;
.bh-header h1, .bh-subpanel h2 {
color: #000;
    font-family: 'Noto Serif Bengali', 'SolaimanLipi', serif; /* Bengali font for titles */
border: 3px double #AAA;
    color: #202122; /* Darker text color */
background-color: #ffffff;
    font-size: 2.2em;
padding: 0.5em;
    margin-bottom: 1em;
margin: 0;
    text-align: center;
width: 100%;
    border-bottom: 2px solid #a2a9b1; /* Underline effect */
    padding-bottom: 0.2em;
}
}


.mp-left {
.bh-header h1 {
width: 55%;
    font-size: 2.8em; /* Larger for the header title */
}
}


.mp-right {
/* Links */
width: 45%;
.bh-header a, .bh-subpanel a {
    color: #0066cc; /* Blue for links */
    text-decoration: none;
    font-family: 'Noto Serif Bengali', sans-serif; /* Bengali font for links */
}
}


#EnWpMpBook2 {
.bh-header a:hover, .bh-subpanel a:hover {
padding: 1em 0 .6em;
    text-decoration: underline; /* Underline on hover */
}
}


body.skin-minerva table {
/* Responsive Text Adjustments */
border-collapse: separate !important;
@media (max-width: 768px) {
}
    .bh-header h1, .bh-subpanel h2 {
        font-size: 1.8em;
    }


@media screen and ( max-width: 720px ) {
     .bh-header p, .bh-subpanel p {
    body.skin-minerva td,
         font-size: 1em;
    body.skin-minerva tr,
     body.skin-minerva tbody,
    body.skin-minerva table {
         display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
   
    #mf-projs td:not(:only-child) {
    display: inline-block;
    width: 40% !important;
    padding: 5px 0;
    }
    #mf-projs td:nth-child(even) {
    width: 50% !important;
     }
     }
#mf-projs td.empty {
display: none !important;
}
   
#mf-know td:last-child tr {
display: flex;
flex-direction: column-reverse;
}
#mf-know {
text-align: center;
}
#mf-know table {
margin: 0;
}
#mf-know td {
padding: 0 !important;
}
#mf-know td tr {
padding: 1em 0;
}
}
}

Revision as of 01:32, 3 December 2024

/* General Panel Styling */
.bh-panel {
    width: 100%;
    margin-bottom: 0; /* Remove space between panels */
    border: 2px solid #a2a9b1; /* Add consistent border */
    background-color: #ffffff; /* White background for all panels */
    border-radius: 0; /* No rounding to ensure seamless connection */
}

/* Header Styling as Part of the Panel */
.bh-header {
    padding: 1.5em;
    background-color: #f9f9ff; /* Subtle background color */
    text-align: center;
    border-bottom: 2px solid #a2a9b1; /* Ensure bottom border connects to the next panel */
    font-family: 'Noto Serif Bengali', 'SolaimanLipi', serif; /* Bengali font support */
    direction: ltr; /* Left-to-right text direction */
}

/* Subpanel Styling */
.bh-subpanel {
    padding: 1.5em;
    border-bottom: 1px solid #d1d1d1; /* Separator for subpanels */
}

.bh-subpanel:last-child {
    border-bottom: none; /* Remove border for the last subpanel */
}

/* Titles and Text */
.bh-header h1, .bh-subpanel h2 {
    font-family: 'Noto Serif Bengali', 'SolaimanLipi', serif; /* Bengali font for titles */
    color: #202122; /* Darker text color */
    font-size: 2.2em;
    margin-bottom: 1em;
    text-align: center;
    border-bottom: 2px solid #a2a9b1; /* Underline effect */
    padding-bottom: 0.2em;
}

.bh-header h1 {
    font-size: 2.8em; /* Larger for the header title */
}

/* Links */
.bh-header a, .bh-subpanel a {
    color: #0066cc; /* Blue for links */
    text-decoration: none;
    font-family: 'Noto Serif Bengali', sans-serif; /* Bengali font for links */
}

.bh-header a:hover, .bh-subpanel a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Responsive Text Adjustments */
@media (max-width: 768px) {
    .bh-header h1, .bh-subpanel h2 {
        font-size: 1.8em;
    }

    .bh-header p, .bh-subpanel p {
        font-size: 1em;
    }
}