Jump to content

MediaWiki:Common.css: Difference between revisions

From A Modern Way To Be Known
No edit summary
Tag: Manual revert
No edit summary
Line 69: Line 69:
     background-color: #fff !important;
     background-color: #fff !important;
}
}
/* --- HERO SECTION CONTAINER --- */
/* === HERO SECTION CONTAINER === */
.hero-container {
.hero-container {
     background: #ffffff;
     width: 100%;
     padding: 60px 20px;
     max-width: 1080px;
     text-align: center;
     margin: 0 auto;
     border-radius: 6px;
     padding: 20px 20px 40px;
     margin-top: 10px;
     margin-left: 40px;
}
}


/* --- TOP TRICOLOUR BORDER --- */
/* === INDIAN FLAG LINE === */
.flag-line {
.flag-line {
     height: 6px;
     height: 8px;
     width: 100%;
     width: 95%;
     background: linear-gradient(to right, #FF5722, #FFFFFF, #1B8E1B);
     background: linear-gradient(to right, #ff8a00, #ffffff, #0f8f00);
     border-radius: 4px 4px 0 0;
     border-radius: 5px;
     margin-bottom: 35px;
     margin: 25px auto 40px;
}
}


/* --- TITLE --- */
/* === HERO TITLE === */
.hero-title {
.hero-title {
     font-size: 42px;
     font-size: 34px;
     font-weight: 700;
     font-weight: 600;
     margin-bottom: 12px;
    margin-top: 10px;
     margin-bottom: 20px;
    text-align: left;
}
}


.brand-name {
.brand-name {
     color: #2a55e8;
     color: #2a63d4;
    font-weight: 700;
}
}


/* --- SUBTITLE --- */
/* === SUBTITLE === */
.hero-subtitle {
.hero-subtitle {
    max-width: 900px;
    margin: 0 0 35px 0;
     font-size: 20px;
     font-size: 20px;
    line-height: 1.6;
     font-style: italic;
     font-style: italic;
     color: #555;
     color: #444;
     margin-bottom: 18px;
     text-align: left;
}
}


/* --- ARTICLE COUNT --- */
/* === SEARCH BAR GROUP === */
.article-count {
.hero-search form {
    font-size: 18px;
    margin-bottom: 28px;
}
 
/* --- SEARCH BAR AREA --- */
.hero-search {
     display: flex;
     display: flex;
    justify-content: center;
     gap: 10px;
     gap: 10px;
     margin-top: 10px;
     justify-content: flex-start;
}
}


.hero-input {
.hero-input {
     width: 380px;
     width: 420px;
     padding: 12px;
     padding: 12px;
    border-radius: 6px;
     border: 1px solid #ccc;
     border: 1px solid #ccc;
    border-radius: 4px;
     font-size: 15px;
     font-size: 15px;
}
}


.hero-button {
.hero-button {
     padding: 12px 22px;
     padding: 12px 20px;
     background: #e0e0e0;
     background: #e0e0e0;
     border: 1px solid #bdbdbd;
     border: 1px solid #bbb;
     border-radius: 6px;
     border-radius: 4px;
    font-size: 15px;
     font-weight: 600;
     font-weight: 600;
     cursor: pointer;
     cursor: pointer;
}
}

Revision as of 04:40, 8 December 2025

/* ---------------------------------------------------------- */
/* CUSTOM HEADER LOGO                                         */
/* ---------------------------------------------------------- */

.mw-wiki-title,
.mw-logo-wordmark,
#p-logo-text {
    display: none !important;
}

.mw-logo-wordmark {
    display: block !important;
    width: 220px;
    height: 40px;
    margin-top: 15px;
    background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

/* ---------------------------------------------------------- */
/* FOOTER BADGES (ConnexAbility + Powered by MediaWiki)       */
/* ---------------------------------------------------------- */

/* Ensure footer icons sit in one row, aligned right */
#footer-icons {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-direction: row !important; /* NORMAL left→right order */
    gap: 5px;
}

/* ConnexAbility Badge — placed BEFORE MediaWiki badge */
#footer-icons::before {
    content: "";
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 135px;           
    height: 45px;            /* INCREASED HEIGHT */
    
    background-image: url("/images/AConnexAbilityProject.svg");
    background-size: 78% auto;
    background-position: center;
    background-repeat: no-repeat;

    background-color: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 4px;

    padding: 8px 8px;         /* reduced padding so logo stays centered */
    box-sizing: border-box;
}


/* Make MediaWiki badge and ConnexAbility badge align perfectly */
#footer-poweredbyico a {
    display: inline-flex !important;
    align-items: center !important;
    height: 45px !important;   /* MATCH ConnexAbility box height */
    padding: 8px 8px !important;
    border: 1px solid #72777d !important;
    border-radius: 4px !important;
    background-color: #fff !important;
}
/* === HERO SECTION CONTAINER === */
.hero-container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 20px 40px;
    margin-left: 40px;
}

/* === INDIAN FLAG LINE === */
.flag-line {
    height: 8px;
    width: 95%;
    background: linear-gradient(to right, #ff8a00, #ffffff, #0f8f00);
    border-radius: 5px;
    margin: 25px auto 40px;
}

/* === HERO TITLE === */
.hero-title {
    font-size: 34px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.brand-name {
    color: #2a63d4;
    font-weight: 700;
}

/* === SUBTITLE === */
.hero-subtitle {
    max-width: 900px;
    margin: 0 0 35px 0;
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: #444;
    text-align: left;
}

/* === SEARCH BAR GROUP === */
.hero-search form {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.hero-input {
    width: 420px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.hero-button {
    padding: 12px 20px;
    background: #e0e0e0;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}