MediaWiki:Common.css: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
mNo edit summary |
||
(357 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins on desktop */ | ||
/* | /* Navbox style | ||
Edit here: https://www.destinypedia.com/MediaWiki:Gadget-NavboxStyle.css | |||
Staff highlights | |||
Edit here: https://www.destinypedia.com/MediaWiki:Gadget-StaffHighlights.css | |||
Custom wallpapers | |||
Edit here: https://www.destinypedia.com/MediaWiki:Gadget-Wallpapers.css */ | |||
/ | |||
/ | |||
/ | |||
/* General */ | /* General */ | ||
h1 { font-size: 2.00em; } | |||
h2 { font-size: 1.75em; } | |||
} | h3 { font-size: 1.45em; } | ||
h4 { font-size: 1.32em; } | |||
h5 { font-size: 1.15em; } | |||
h6 { font-size: 1.00em; } | |||
# | .fakeh2 { | ||
margin-bottom: | font-size: 1.75em; | ||
border-bottom: 1px solid #a2a9b1; | |||
padding-top: 0.5em; | |||
padding-bottom: 0.17em; | |||
margin-bottom: 0.6em; | |||
} | } | ||
.fakeh3 { | |||
font-size: 1.45em; | |||
padding-bottom: | font-weight: bold; | ||
padding-top: 0.5em; | |||
padding-bottom: 0.17em; | |||
margin-bottom: 0.3em; | |||
} | } | ||
#bodyContent { | #bodyContent { | ||
background: transparent !important; | |||
background: transparent | |||
} | } | ||
. | .catlinks { | ||
background: # | background: #f9f9f9; | ||
} | } | ||
. | .mw-parser-output > .col-begin { | ||
margin-top: 0.3em; | |||
margin | |||
} | } | ||
. | .featurelist .mw-collapsible { | ||
margin-right: 10px; | |||
} | } | ||
.featurelist h3 { | |||
. | padding-top: 0; | ||
padding-bottom: 0.5em; | |||
} | } | ||
.featurelist .mw-collapsible-content { | |||
margin-top: -0.5em; | |||
margin-bottom: 0.5em; | |||
} | } | ||
.featurelist td > p { | |||
display: none; | |||
} | } | ||
/* Site subtitle */ | |||
p.subtitle, #siteSub { | |||
display: block; | |||
font-size: 90%; | font-size: 90%; | ||
font-style: italic; | |||
margin: 0; | |||
} | } | ||
. | /* Infoboxes */ | ||
font-size: | .infobox { | ||
float: right; | |||
clear: right; | |||
font-size: 90%; | |||
margin: 0 0 1em 1em; | |||
padding: 2px; | |||
} | } | ||
.infoboxheading { | |||
font-size: 130%; | |||
} | } | ||
.random-users-avatars img { | |||
background: #fff; | |||
background: | |||
} | } | ||
Line 162: | Line 87: | ||
} | } | ||
/* Main page */ | |||
/* Main | |||
body.page-Main_Page.action-view #bodyContent { | body.page-Main_Page.action-view #bodyContent { | ||
margin-top: 18px; | margin-top: 18px; | ||
} | } | ||
.page-Special_UpdateProfile_preferences .site-button, | |||
. | .page-Special_UploadAvatar .site-button { | ||
margin-top: 10px; | |||
} | } | ||
.page-Special_UpdateProfile_preferences input[type="checkbox"] { | |||
. | margin: 2px 5px 0 0; | ||
margin: | |||
} | } | ||
.profile-update { | |||
. | margin-bottom: 5px; | ||
margin | |||
} | } | ||
.profile-tab-bar { | .profile-tab-bar { | ||
margin-top: 26px; | margin-top: 26px; | ||
} | } | ||
Line 241: | Line 111: | ||
} | } | ||
/* | /* Notice boxes */ | ||
. | .noticebox + .noticebox { | ||
margin: | margin-top: -5px !important; | ||
} | } | ||
. | /* Site activity */ | ||
.mp-activity { | |||
padding: 3px 0; | |||
border: none; | |||
} | |||
.mp-site-activity h2 { | |||
padding: 10px 0 2px 0; | |||
} | } | ||
.item { | |||
. | margin: 2px 0 2px 20px | ||
margin | |||
} | } | ||
.item p { | |||
. | margin-bottom: 0.3em; | ||
} | } | ||
. | /* Adjust inputbox button padding in Firefox */ | ||
top: | .bodySearchWrap .mw-ui-button, .createboxButton { | ||
padding-top: 6px !important; | |||
padding-bottom: 6px !important; | |||
} | } | ||
@-moz-document url-prefix() { | |||
. | .bodySearchWrap .mw-ui-button, .createboxButton { | ||
. | padding-top: 6px !important; | ||
padding-bottom: 5px !important; | |||
} | |||
} | } | ||
. | /* Lore page background */ | ||
.page-Destiny_2_Lore .tabbox { | |||
background: url(https://destiny.wiki.gallery/images/a/af/Destiny_2_menu_background_blurred_by_destinywarlock-dbguds6.png); | |||
} | } | ||
.page-Destiny_2_Lore .tabbox, .page-Destiny_2_Lore .tabbox h2 { | |||
. | color: #fff; | ||
} | } | ||
.page-Destiny_2_Lore .tabcontainer { | |||
. | |||
padding: 0; | padding: 0; | ||
} | } | ||
.page-Destiny_2_Lore .selected { | |||
. | padding-bottom: 1px; | ||
} | } | ||
. | /* Custom tab colors */ | ||
.page-User_Arcmind_Other .tabtoc li.selected { | |||
background: #0a0c0f !important; | |||
} | } | ||
.page-User_Arcmind_Other .tabtoc li.selected a { | |||
. | color: white !important; | ||
} | } | ||
.page-User_Arcmind_Other .tabcontainer h2 { | |||
. | color: white !important; | ||
} | } | ||
/* | /* Indicator icons */ | ||
.mw-indicator { | |||
margin: 0 2px; | |||
} | } | ||
/* Who's online */ | |||
#whosonline { | |||
margin-bottom: 0; | |||
} | } | ||
/* Site notice */ | |||
@media all and (max-width: 1100px) { | |||
#siteNotice { | |||
font-size: 80%; | |||
} | |||
} | } | ||
/ | /* User welcome */ | ||
.mp-welcome-logged-in { | .mp-welcome-logged-in { | ||
width: | width: 270px; | ||
margin-top: -13px; | margin-top: -13px; | ||
} | } | ||
.mp-welcome-points { | .mp-welcome-points { | ||
Line 359: | Line 195: | ||
} | } | ||
. | /* Social profile */ | ||
.pagetitle { | |||
display: block !important; | |||
} | } | ||
.mw-special-UpdateProfile input[type="text"], | |||
. | .mw-special-EditProfile input[type="text"] { | ||
width: 225px; | |||
border: 1px solid #c8ccd1; | |||
} | } | ||
.mw-special-UpdateProfile select, | |||
. | .mw-special-EditProfile select { | ||
width: 229px; | |||
border: 1px solid #c8ccd1; | |||
} | } | ||
.mw-special-EditProfile textarea { | |||
width: 95%; | |||
. | |||
} | } | ||
.user-section-heading { | |||
clear: both; | |||
} | } | ||
.user-section-title { | |||
letter-spacing: normal; | |||
} | } | ||
#profile-toggle-button { | |||
top: 10px !important; | |||
} | } | ||
#profile-top { | |||
margin-bottom: 15px; | |||
border-bottom: 1px solid #C9D6E0; | |||
} | } | ||
table, div#profile-top, .profile-info { | |||
background-color: transparent; | |||
} | } | ||
. | .profile-info-container p { | ||
margin: | margin: 0 0 8px 10px; | ||
} | } | ||
.user-home-item-gift { | |||
margin: 2px 25px; | |||
. | |||
margin | |||
} | } | ||
. | .user-board-message { | ||
background: #fff; | |||
border: 1px solid #C9D6E0; | |||
} | } | ||
.user-board-message img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | } | ||
. | .user-board-message-content { | ||
margin: 0 5px; | |||
} | } | ||
.user- | .user-board-message-body { | ||
float: none; | |||
} | } | ||
.user-board-message-from { | .user-board-message-from { | ||
Line 443: | Line 252: | ||
} | } | ||
.no-info-container { | .no-info-container { | ||
background-color: # | background-color: #F8F5F5; | ||
} | } | ||
.profile-tab a:hover { | .profile-tab a:hover { | ||
Line 455: | Line 264: | ||
padding: 2px 6px; | padding: 2px 6px; | ||
background: #F8F5F5; | background: #F8F5F5; | ||
color: | color: #000; | ||
} | } | ||
.page-nav a:hover { | .page-nav a:hover { | ||
Line 462: | Line 271: | ||
} | } | ||
.g-give-all { | .g-give-all { | ||
background: | background: #fff; | ||
} | } | ||
/* | /* Meet the community */ | ||
.random-users-avatars { | |||
padding: 0px 0px 0px 10px; | |||
} | } | ||
.random-users-avatars h2 { | |||
border-bottom: none; | |||
margin: 0px 0px 0px 0px; | |||
padding: 7px 0px 8px 0px; | |||
} | } | ||
.random-users-avatars img { | |||
border: 1px solid #DCDCDC; | |||
display: block; | |||
float: left; | |||
height: 50px; | |||
margin: 0px 8px 8px 0px; | |||
width: 50px; | |||
} | } | ||
/* | |||
To limit the size of the preview warningbox | |||
when many template errors/warnings are displayed | |||
*/ | |||
.warningbox, .mw-warning-box { | |||
max-height: 300px; | |||
overflow-y: auto; | |||
. | |||
. | |||
} | } |
Latest revision as of 09:15, August 20, 2024
/* CSS placed here will be applied to all skins on desktop */
/* Navbox style
Edit here: https://www.destinypedia.com/MediaWiki:Gadget-NavboxStyle.css
Staff highlights
Edit here: https://www.destinypedia.com/MediaWiki:Gadget-StaffHighlights.css
Custom wallpapers
Edit here: https://www.destinypedia.com/MediaWiki:Gadget-Wallpapers.css */
/* General */
h1 { font-size: 2.00em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.32em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.00em; }
.fakeh2 {
font-size: 1.75em;
border-bottom: 1px solid #a2a9b1;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.6em;
}
.fakeh3 {
font-size: 1.45em;
font-weight: bold;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.3em;
}
#bodyContent {
background: transparent !important;
}
.catlinks {
background: #f9f9f9;
}
.mw-parser-output > .col-begin {
margin-top: 0.3em;
}
.featurelist .mw-collapsible {
margin-right: 10px;
}
.featurelist h3 {
padding-top: 0;
padding-bottom: 0.5em;
}
.featurelist .mw-collapsible-content {
margin-top: -0.5em;
margin-bottom: 0.5em;
}
.featurelist td > p {
display: none;
}
/* Site subtitle */
p.subtitle, #siteSub {
display: block;
font-size: 90%;
font-style: italic;
margin: 0;
}
/* Infoboxes */
.infobox {
float: right;
clear: right;
font-size: 90%;
margin: 0 0 1em 1em;
padding: 2px;
}
.infoboxheading {
font-size: 130%;
}
.random-users-avatars img {
background: #fff;
}
div.thumb {
border-color: transparent;
}
/* Main page */
body.page-Main_Page.action-view #bodyContent {
margin-top: 18px;
}
.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UploadAvatar .site-button {
margin-top: 10px;
}
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
margin: 2px 5px 0 0;
}
.profile-update {
margin-bottom: 5px;
}
.profile-tab-bar {
margin-top: 26px;
}
.foreground a {
color: #1AAAE7;
}
/* Notice boxes */
.noticebox + .noticebox {
margin-top: -5px !important;
}
/* Site activity */
.mp-activity {
padding: 3px 0;
border: none;
}
.mp-site-activity h2 {
padding: 10px 0 2px 0;
}
.item {
margin: 2px 0 2px 20px
}
.item p {
margin-bottom: 0.3em;
}
/* Adjust inputbox button padding in Firefox */
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 6px !important;
padding-bottom: 6px !important;
}
@-moz-document url-prefix() {
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 6px !important;
padding-bottom: 5px !important;
}
}
/* Lore page background */
.page-Destiny_2_Lore .tabbox {
background: url(https://destiny.wiki.gallery/images/a/af/Destiny_2_menu_background_blurred_by_destinywarlock-dbguds6.png);
}
.page-Destiny_2_Lore .tabbox, .page-Destiny_2_Lore .tabbox h2 {
color: #fff;
}
.page-Destiny_2_Lore .tabcontainer {
padding: 0;
}
.page-Destiny_2_Lore .selected {
padding-bottom: 1px;
}
/* Custom tab colors */
.page-User_Arcmind_Other .tabtoc li.selected {
background: #0a0c0f !important;
}
.page-User_Arcmind_Other .tabtoc li.selected a {
color: white !important;
}
.page-User_Arcmind_Other .tabcontainer h2 {
color: white !important;
}
/* Indicator icons */
.mw-indicator {
margin: 0 2px;
}
/* Who's online */
#whosonline {
margin-bottom: 0;
}
/* Site notice */
@media all and (max-width: 1100px) {
#siteNotice {
font-size: 80%;
}
}
/* User welcome */
.mp-welcome-logged-in {
width: 270px;
margin-top: -13px;
}
.mp-welcome-points {
width: 170px;
padding-left: 5px;
}
/* Social profile */
.pagetitle {
display: block !important;
}
.mw-special-UpdateProfile input[type="text"],
.mw-special-EditProfile input[type="text"] {
width: 225px;
border: 1px solid #c8ccd1;
}
.mw-special-UpdateProfile select,
.mw-special-EditProfile select {
width: 229px;
border: 1px solid #c8ccd1;
}
.mw-special-EditProfile textarea {
width: 95%;
}
.user-section-heading {
clear: both;
}
.user-section-title {
letter-spacing: normal;
}
#profile-toggle-button {
top: 10px !important;
}
#profile-top {
margin-bottom: 15px;
border-bottom: 1px solid #C9D6E0;
}
table, div#profile-top, .profile-info {
background-color: transparent;
}
.profile-info-container p {
margin: 0 0 8px 10px;
}
.user-home-item-gift {
margin: 2px 25px;
}
.user-board-message {
background: #fff;
border: 1px solid #C9D6E0;
}
.user-board-message img {
max-width: 100% !important;
height: auto !important;
}
.user-board-message-content {
margin: 0 5px;
}
.user-board-message-body {
float: none;
}
.user-board-message-from {
background-color: #F8F5F5;
}
.no-info-container {
background-color: #F8F5F5;
}
.profile-tab a:hover {
color: #466C2C !important;
}
.page-nav {
margin: 8px 5px 10px;
}
.page-nav a, .page-nav a:visited {
border: 1px solid #ccc;
padding: 2px 6px;
background: #F8F5F5;
color: #000;
}
.page-nav a:hover {
background: #eee;
text-decoration: none;
}
.g-give-all {
background: #fff;
}
/* Meet the community */
.random-users-avatars {
padding: 0px 0px 0px 10px;
}
.random-users-avatars h2 {
border-bottom: none;
margin: 0px 0px 0px 0px;
padding: 7px 0px 8px 0px;
}
.random-users-avatars img {
border: 1px solid #DCDCDC;
display: block;
float: left;
height: 50px;
margin: 0px 8px 8px 0px;
width: 50px;
}
/*
To limit the size of the preview warningbox
when many template errors/warnings are displayed
*/
.warningbox, .mw-warning-box {
max-height: 300px;
overflow-y: auto;
}