MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 25: Line 25:




#content-mode-toggle {
.content-mode-selector {
     margin-bottom: 1em;
     margin: 0 0 1em 0;
    padding: 0.25em 0.5em;
    border-bottom: 1px solid #c8ccd1;
}
}


#content-mode-toggle .vector-menu-heading {
.mode-toggle {
     cursor: pointer;
     cursor: pointer;
     border-bottom: 1px solid #c8ccd1;
     color: #202122;
     padding: 0.5em 0;
     padding: 0.25em 0;
}
}


#content-mode-toggle .vector-menu-content {
.mode-options {
     display: none;
     display: none;
     background: #ffffff;
     margin-top: 0.5em;
    border: 1px solid #c8ccd1;
    border-radius: 2px;
    padding: 0.5em 0;
}
}


#content-mode-toggle.vector-menu-expanded .vector-menu-content {
.mode-options.visible {
     display: block;
     display: block;
}
}


#content-mode-toggle .menu {
.mode-option {
    margin: 0;
    padding: 0;
    list-style: none;
}
 
#content-mode-toggle .menu li a {
     display: block;
     display: block;
     padding: 0.25em 1em;
     padding: 0.25em 0;
     color: #202122;
     color: #0645ad;
     cursor: pointer;
     cursor: pointer;
    text-decoration: none;
}
}


#content-mode-toggle .menu li:hover a {
.mode-option:hover {
    background: #eaecf0;
     text-decoration: underline;
     text-decoration: none;
}
}


#content-mode-toggle .menu li.active a {
.mode-option.active {
    background: #eaf3ff;
    color: #36c;
     font-weight: bold;
     font-weight: bold;
    color: #202122;
}
}


/* Content styles */
/* Content marking styles */
.manga-content {
.manga-content {
     border-left: 3px solid #36c;
     border-left: 2px solid #36c;
     padding-left: 1em;
     padding-left: 0.5em;
     margin: 1em 0;
     margin: 0.5em 0;
}
}


.anime-content {
.anime-content {
     padding-left: 1em;
     padding-left: 0.5em;
     margin: 1em 0;
     margin: 0.5em 0;
}
}

Revision as of 17:57, 6 February 2025

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 300px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox-table td {
    vertical-align: top;
}


.content-mode-selector {
    margin: 0 0 1em 0;
    padding: 0.25em 0.5em;
    border-bottom: 1px solid #c8ccd1;
}

.mode-toggle {
    cursor: pointer;
    color: #202122;
    padding: 0.25em 0;
}

.mode-options {
    display: none;
    margin-top: 0.5em;
}

.mode-options.visible {
    display: block;
}

.mode-option {
    display: block;
    padding: 0.25em 0;
    color: #0645ad;
    cursor: pointer;
    text-decoration: none;
}

.mode-option:hover {
    text-decoration: underline;
}

.mode-option.active {
    font-weight: bold;
    color: #202122;
}

/* Content marking styles */
.manga-content {
    border-left: 2px solid #36c;
    padding-left: 0.5em;
    margin: 0.5em 0;
}

.anime-content {
    padding-left: 0.5em;
    margin: 0.5em 0;
}