MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 503: Line 503:
/*----------------------------28-05-2026--------------------*/
/*----------------------------28-05-2026--------------------*/
/*----------------------------swati--------------------*/
/*----------------------------swati--------------------*/
/*
a.mw-searchSuggest-link[title*="/"] {
a.mw-searchSuggest-link[title*="/"] {
     display: none !important;
     display: none !important;
}
}
 
*/
/* Remove search preview/excerpt block */
/* Remove search preview/excerpt block */


Line 596: Line 597:


/*--------------------------------11-06-2026----------------------------------*/
/*--------------------------------11-06-2026----------------------------------*/
/*
.ekatra-right-author {
.ekatra-right-author {
     text-align: right !important;
     text-align: right !important;
Line 615: Line 617:


/* Hide empty paragraphs generated after right author blocks */
/* Hide empty paragraphs generated after right author blocks */
.ekatra-right-author + p:empty,
/*.ekatra-right-author + p:empty,
.ekatra-right-author + p > br:only-child,
.ekatra-right-author + p > br:only-child,
.ekatra-right-author + p {
.ekatra-right-author + p {
Line 622: Line 624:
     line-height: 0 !important;
     line-height: 0 !important;
}
}
 
*/
/*----------------------------------22-06-2026----------------------------------*/
/*----------------------------------22-06-2026----------------------------------*/
/* Mobile only - Force editor overlay visible */
/* Mobile only - Force editor overlay visible */
Line 633: Line 635:


}
}
/*----------------------------------26-06-2026-----------------------------------*/
/*----------------------------------29-06-2026-----------------------------------*/
/* First and second Poem buttons only */
/* Fix right-aligned author inside <poem> without affecting other pages */
.group-insert a.tool.tool-button:nth-child(1),
/*
.group-insert a.tool.tool-button:nth-child(2) {
.poem > .ekatra-right-author {
     margin-top: 7px !important;
     float: none !important;
     width: 36px !important;
    clear: both;
     height: 36px !important;
    display: block;
     min-width: 36px !important;
     width: 100%;
     min-height: 36px !important;
    text-align: right;
}*/
.poem p {
    margin: 0 !important;
}
/*---------------------------------08-07-2026-------------------------------------*/
/* Author Name */
.ekatra-author {
     clear: both;
     text-align: right;
     font-weight: bold;
    margin: 5px 0 0 0;
}


    display: inline-flex !important;
.ekatra-author p {
     align-items: center !important;
     margin: 0;
    justify-content: center !important;
}


     background-size: 24px 24px !important;
@media screen and (max-width: 720px) {
     background-repeat: no-repeat !important;
     .ekatra-author {
     background-position: center !important;
        margin: 5px 0 0 0;
     }
}
/*--------------------------------15-07-2026------------------------------------*/
.book-index-title {
    display: block;
    clear: both;
     margin-top: 20px;
}
}