MediaWiki:Common.css: Difference between revisions

From Medalist Wiki
No edit summary
Tag: Reverted
(added hover text for quotes)
 
(29 intermediate revisions by 2 users not shown)
Line 4: Line 4:
     border: 1px solid #aaa;
     border: 1px solid #aaa;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0em 0.5em 1em 1em;
     padding: 1em;
     padding: 0.3em 0.5em 0.3em 0.5em;
     width: 300px;
     width: 270px;
}
}
.infobox-title {
.infobox-title {
     font-size: 2em;
     font-size: 1.8em;
     text-align: center;
     text-align: center;
    vertical-align: top;
    max-width: 85%
    margin-left: auto;
    margin-right: auto;
}
}
.infobox-image {
.infobox-image {
Line 18: Line 22:
     text-align: left;
     text-align: left;
     vertical-align: top;
     vertical-align: top;
     width: 120px;
     width: 40%;
    font-size: 0.80em;
}
}
.infobox-table td {
.infobox-table td {
     vertical-align: top;
     vertical-align: top;
    width: 60%;
    font-size: 0.80em;
}
}
 
.flex-container {
 
     display: flex;
#content-mode-toggle {
     margin-bottom: 1em;
}
}
 
.flex-container > div {
#content-mode-toggle .vector-menu-heading {
     background-color: #d9d9d9
     cursor: pointer;
     margin: 0.5em;
     border-bottom: 1px solid #c8ccd1;
     padding: 0.8em;
     padding: 0.5em 0;
    font-size: 0.8em;
}
}
 
.hiddentext {
#content-mode-toggle .vector-menu-content {
     display: none;
     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;
}
}
 
.hiddenshow:hover .hiddentext {
#content-mode-toggle .menu li a {
     display: block;
     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;
}
}

Latest revision as of 12:26, 5 March 2025

/* CSS placed here will be applied to all skins */
.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0em 0.5em 1em 1em;
    padding: 0.3em 0.5em 0.3em 0.5em;
    width: 270px;
}
.infobox-title {
    font-size: 1.8em;
    text-align: center;
    vertical-align: top;
    max-width: 85%
    margin-left: auto;
    margin-right: auto;
}
.infobox-image {
    text-align: center;
}
.infobox-table th {
    text-align: left;
    vertical-align: top;
    width: 40%;
    font-size: 0.80em;
}
.infobox-table td {
    vertical-align: top;
    width: 60%;
    font-size: 0.80em;
}
.flex-container {
    display: flex;
}
.flex-container > div {
    background-color: #d9d9d9
    margin: 0.5em;
    padding: 0.8em;
    font-size: 0.8em;
}
.hiddentext {
    display: none;
}
.hiddenshow:hover .hiddentext {
    display: block;
}