MediaWiki:Vector.css: Difference between revisions
MediaWiki interface page
More actions
Testing new site theme :D |
m Removed mwhead gradient and white background on forum posts |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Vector skin */ | /* All CSS here will be loaded for users of the Vector skin */ | ||
#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); | ||
} | } | ||
body { | body { | ||
background: url(https://dantdm.wiki/images/thumb/ | background: url(https://dantdm.wiki/images/thumb/8/8c/DanTDMNewLab.png/800px-DanTDMNewLab.png?20250607174339) no-repeat center center fixed; | ||
-webkit-background-size: cover; | -webkit-background-size: cover; | ||
-moz-background-size: cover; | -moz-background-size: cover; | ||
| 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 | /* Base portable infobox container */ | ||
color: | .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; | |||
} | } | ||