A Year's in review of the independent DanTDM Wiki Learn More >, Thank you!

MediaWiki:Vector.css: Difference between revisions

From DanTDM Wiki
Jump to navigation Jump to search
m Improved Link readability and icon styling
Infobox styling
Line 115: Line 115:
}
}


.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);
}
 
/* 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;
}
}

Revision as of 17:45, 14 February 2026

/* All CSS here will be loaded for users of the Vector skin */

#mw-page-base {
    background: transparent;
}

a:visited {
    color: #433b99 !important;
}

.vector-menu-tabs-legacy li a span {
    color: white;
}

h1,h2,h3,h4 {
	color:white;
}

.vector-menu-content {
    margin: 0 !important;
}

.vector-menu-heading {
    background: #020523;
    border: 1px solid cyan !important;
    color: white !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

.vector-menu-tabs-legacy li a span {
    color: white;
}

.vector-menu-tabs-legacy li, .vector-menu-dropdown {
    background: #020523;
}

.vector-menu-tabs-legacy .selected {
    background: #030841;
}

#right-navigation {
    border-left: 1px solid cyan;
    border-right: 1px solid cyan;
    border-top: 1px solid cyan;
    margin-right: 10px;
    background: #020523
}

#left-navigation {
    border-left: 1px solid cyan;
    border-right: 1px solid cyan;
    border-top: 1px solid cyan;
}

.mw-echo-notifications-badge {
    filter: invert(1);
    opacity: 1 !important;
}
.vector-user-menu-legacy #pt-anonuserpage, .vector-user-menu-legacy #pt-userpage a {
    filter: brightness(10);
}

#mw-head {
    background: linear-gradient(#1a3147d4, transparent 90%);
}

body {
    background: url(https://dantdm.wiki/images/thumb/8/8c/DanTDMNewLab.png/800px-DanTDMNewLab.png?20250607174339) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#content {
    margin-right: 10px;
    background: #020523;
    border: 1px solid cyan;
    color: white;
}

       .vector-menu-portal .vector-menu-content,
#p-personal .vector-menu-content-list,
#footer {
    background-color: #020523;
    border: 1px cyan solid;
}

#footer {
    border:none;
    outline: 1px cyan solid;
    outline-offset: -2px;
    margin-left: calc(10em+4);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0.5em 0.75em;
    margin-right:10px;
}

.mw-enhancedchanges-arrow {
    background-color: white !important;
}

.mw-changeslist-legend {
    border: 1px solid cyan !important;
    background: #020523 !important;
}

#footer:after {
    content: '';
    clear: both;
    display: block;
}

/* Base portable infobox container */
.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);
}

/* 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;
}