MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary Tag: Manual revert |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 74: | Line 74: | ||
} | } | ||
.infobox img { | .infobox td:first-child img, | ||
border-top-left-radius: | .infobox td[colspan="2"] img { | ||
border-top-right-radius: | border-top-left-radius: 13px; | ||
border-top-right-radius: 13px; | |||
} | |||
.infobox td:first-child, | |||
.infobox td[colspan="2"] { | |||
padding-top: 5px; | |||
padding-bottom: 5px; | |||
} | } | ||
Latest revision as of 17:10, 7 June 2026
/* Override .citizen-overflow-wrapper to ensure proper centering */
.citizen-overflow-wrapper {
position: relative;
display: block !important; /* Change from flex to block */
max-width: 100% !important; /* Ensure it does not restrict the width */
}
.mw-editsection { display:none!important; }
/* Ensure all wikitables are centered and border-collapse is set to separate */
body.skin-citizen-dark.skin-theme-clientpref-night .mw-body .content .citizen-overflow-wrapper .citizen-overflow-content table.wikitable,
body.skin-theme-clientpref-night .mw-body .content .citizen-overflow-wrapper .citizen-overflow-content table.wikitable,
body.citizen-feature-autohide-navigation-clientpref-1 .mw-body .content .citizen-overflow-wrapper .citizen-overflow-content table.wikitable,
body.citizen-feature-pure-black-clientpref-0 .mw-body .content .citizen-overflow-wrapper .citizen-overflow-content table.wikitable,
body.citizen-feature-custom-font-size-clientpref-standard .mw-body .content .citizen-overflow-wrapper .citizen-overflow-content table.wikitable,
body.citizen-feature-custom-width-clientpref-standard .mw-body .content .citizen-overflow-wrapper .citizen-overflow-content table.wikitable {
border-collapse: separate !important;
margin-left: auto !important;
margin-right: auto !important;
display: table !important;
box-sizing: border-box !important;
transition: none !important; /* Disable transitions */
}
/* Forcing the table to center by wrapping it in a div */
body .wikitable-wrapper {
display: flex;
justify-content: center;
width: 100%;
}
body .wikitable-wrapper .wikitable {
margin: 0 !important;
}
/* Apply to all table cells */
body .mw-body table th,
body .mw-body table td {
border: 1px solid #375181 !important; /* Set border size and color for cells */
text-align: center; /* Center-align text */
}
.mw-body a:link.new { color: #BE4B5E; } /* new links */
.mw-body a:link.new:hover { color: #CE7886; } /* hover color for unvisited new links DONE*/
.mw-body a.new:visited { color:#BE4B5E; }
.mw-body a.new:hover { color: #B6C5E2; } /* hover color for new links */
.mw-body a.new:visited:hover { color: #CE7886; } /* hover color for visited new links */
.mw-body a:link:hover { color: #83A6EC; } /* hover color for unvisited normal links */
.mw-body a:visited:hover { color: #83A6EC; } /* hover color for visited normal links */
.fullImageLink > a:hover > img {
/* Override hover effect */
pointer-events: none;
}
.fullImageLink > a:hover > img {
transform: none !important;
}
#citizen-pref-toggle {
display: none !important;
}
.noveltext p {
text-indent: 1.5em; /* first-line indent */
margin-top: 0.5em; /* optional: spacing between paragraphs */
}
.infobox {
padding: 0 0 18px 18px;
}
.infobox td:first-child img,
.infobox td[colspan="2"] img {
border-top-left-radius: 13px;
border-top-right-radius: 13px;
}
.infobox td:first-child,
.infobox td[colspan="2"] {
padding-top: 5px;
padding-bottom: 5px;
}