Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
A Year's in review of the independent DanTDM Wiki Learn More >, Thank you!

MediaWiki:Vector.css: Difference between revisions

MediaWiki interface page
Updated background as per staff discussion
m Removed mwhead gradient and white background on forum posts
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
#mw-page-base {
#mw-page-base {
     background: transparent;
     background: transparent;
}
a:visited {
    color: #433b99 !important;
}
}


Line 57: Line 61:
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-userpage a {
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-userpage a {
     filter: brightness(10);
     filter: brightness(10);
}
#mw-head {
    background: linear-gradient(#1a3147d4, transparent 90%);
}
}


Line 94: Line 94:
     padding: 0.5em 0.75em;
     padding: 0.5em 0.75em;
     margin-right:10px;
     margin-right:10px;
}
.mw-enhancedchanges-arrow {
    background-color: white !important;
}
.mw-changeslist-legend {
    border: 1px solid cyan !important;
    background: #020523 !important;
}
}


Line 102: Line 111:
}
}


.portable-infobox, .portable-infobox h3, .portable-infobox h2 {
/* Base portable infobox container */
     color: black;
.portable-infobox {
    background: #020523;
    color: #ffffff;
    border: 1px solid cyan;
    border-radius: 10px;
    padding: 8px;
    width: 270px;
    font-family: "Segoe UI", Tahoma, sans-serif;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
}
 
/* Title */
.portable-infobox .pi-title {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 6px;
    border-bottom: 1px solid cyan;
    color: #ffffff;
}
 
/* Section rows */
.portable-infobox .pi-data {
    border-top: 1px solid rgba(0, 255, 255, 0.25);
    padding: 6px 4px;
}
 
/* Labels */
.portable-infobox .pi-data-label {
    font-size: 12px;
    font-weight: bold;
    color: #7fdfff;
    margin-bottom: 2px;
}
 
/* Values */
.portable-infobox .pi-data-value {
    font-size: 13px;
    color: #ffffff;
}
 
/* Links inside infobox */
.portable-infobox a {
    color: #0645ad;
    text-decoration: none;
}
 
.portable-infobox a:visited {
    color: #433b99;
}
 
.portable-infobox a:hover {
    color: cyan;
    text-decoration: underline;
}
 
/* Embedded video/frame */
.portable-infobox iframe {
    border: 1px solid cyan;
    border-radius: 6px;
    background: #000;
}
 
    /* Infobox section group headers */
.portable-infobox .pi-header {
    background: linear-gradient(135deg, #001a3a, #003b6f);
    color: #7fdfff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
 
    border-top: 1px solid cyan;
    border-bottom: 1px solid cyan;
    border-left: 3px solid cyan;
 
    padding: 6px;
    margin-top: 8px;
 
    letter-spacing: 0.5px;
    text-transform: uppercase;
 
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.25);
}
 
tr.mw-wikiforum-normal {
background: none !important;
}
 
/* Remove default grey background some skins apply */
.pi-secondary-background {
    background: none !important;
}
 
/* Spacing between grouped sections */
.portable-infobox .pi-group {
    margin-top: 6px;
}
 
/* Make labels slightly brighter for readability */
.portable-infobox .pi-data-label {
    color: #9fe8ff;
}
 
/* External links inside infobox */
.portable-infobox .external {
    color: #00b7ff;
}
 
.portable-infobox .external:hover {
     color: cyan;
}
}