MediaWiki:Common.css

From enIKSwiki
Revision as of 13:27, 22 July 2026 by Sarika (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Hide "edit / edit source" next to headings everywhere */
.mw-editsection,
.mw-editsection-like {
  display: none !important;
}

/* Hide selected Toolbox items */

#p-tb {
    display: none !important;
}


Shikha Shukla
13:24 (1 minute ago)
to me

/* OJS/Pandoc expandable article sections using MediaWiki's native module. */
.pravaha-collapse {
    position: relative;
    clear: both;
    margin: 12px 0;
    overflow: hidden;
    border: 1px solid #e2b76f;
    border-radius: 8px;
    background: #fffaf2;
    box-shadow: 0 2px 7px rgba(91, 48, 0, 0.08);
}

.pravaha-collapse-title {
    min-height: 28px;
    padding: 12px 16px 12px 54px;
    color: #7b4300;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 28px;
}

.pravaha-collapse .mw-collapsible-toggle {
    position: absolute;
    top: 12px;
    left: 16px;
    z-index: 2;
    float: none;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50%;
    background: #35b8ef;
    color: #073b55;
    font-size: 0;
    font-weight: 800;
    line-height: 28px;
    text-decoration: none;
    cursor: pointer;
}

.pravaha-collapse .mw-collapsible-toggle::before {
    content: "−";
    font-size: 20px;
    line-height: 1;
}

.pravaha-collapse.mw-collapsed .mw-collapsible-toggle::before {
    content: "+";
}

.pravaha-collapse .mw-collapsible-toggle:hover,
.pravaha-collapse .mw-collapsible-toggle:focus {
    background: #1aa9e6;
    color: #052d42;
    text-decoration: none;
}

.pravaha-collapse .mw-collapsible-content {
    padding: 4px 16px 16px;
    border-top: 1px solid #efd7ad;
    background: #fffdf9;
}

@media (max-width: 600px) {
    .pravaha-collapse-title {
        padding-right: 12px;
        padding-left: 50px;
    }
}