MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 23: Line 23:
     vertical-align: top;
     vertical-align: top;
}
}
#pt-content-toggle {
 
     position: relative;
 
    display: inline-block;
#content-mode-toggle {
     margin-bottom: 1em;
}
}


#content-toggle {
#content-mode-toggle .vector-menu-heading {
     display: inline-block;
     cursor: pointer;
     padding: 0 0.75em;
     border-bottom: 1px solid #c8ccd1;
    color: #54595d;
     padding: 0.5em 0;
     text-decoration: none;
}
}


.content-toggle-menu {
#content-mode-toggle .vector-menu-content {
     display: none;
     display: none;
    position: absolute;
     background: #ffffff;
    top: 100%;
     border: 1px solid #c8ccd1;
    right: 0;
     background: #fff;
     border: 1px solid #a2a9b1;
     border-radius: 2px;
     border-radius: 2px;
     box-shadow: 0 2px 4px rgba(0,0,0,0.2);
     padding: 0.5em 0;
    z-index: 1000;
    min-width: 160px;
}
}


#pt-content-toggle:hover .content-toggle-menu {
#content-mode-toggle.vector-menu-expanded .vector-menu-content {
     display: block;
     display: block;
}
}


.content-toggle-menu ul {
#content-mode-toggle .menu {
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
Line 58: Line 53:
}
}


.content-toggle-menu li a {
#content-mode-toggle .menu li a {
     display: block;
     display: block;
     padding: 0.5em 1em;
     padding: 0.25em 1em;
     color: #202122;
     color: #202122;
     cursor: pointer;
     cursor: pointer;
}
}


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


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


/* Styles for content containers */
/* Content styles */
.manga-content {
.manga-content {
     border-left: 3px solid #36c;
     border-left: 3px solid #36c;

Revision as of 17:56, 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-toggle {
    margin-bottom: 1em;
}

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

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

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

#content-mode-toggle .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#content-mode-toggle .menu li a {
    display: block;
    padding: 0.25em 1em;
    color: #202122;
    cursor: pointer;
}

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

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

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

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