MediaWiki:Common.css: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
 
(160 intermediate revisions by 2 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 */


/* Staff highlights */
/* Navbox style
/* Edit here: https://www.destinypedia.com/MediaWiki:Gadget-StaffHighlights.css */
      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.18em; }
h1 { font-size: 2.00em; }
h2 { font-size: 1.86em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.59em; }
h3 { font-size: 1.45em; }
h4 { font-size: 1.36em; }
h4 { font-size: 1.32em; }
h5 { font-size: 1.17em; }
h5 { font-size: 1.15em; }
h6 { font-size: 1.00em; }
h6 { font-size: 1.00em; }
h1, h2, h3, h4, h5, h6 { overflow: visible; }
 
.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 {
#bodyContent {
position: relative;
background: transparent !important;
background: transparent !important;
}
}
Line 27: Line 44:
word-wrap: break-word;
word-wrap: break-word;
overflow: hidden;
overflow: hidden;
}
#toc, .toc {
margin-bottom: 3px;
}
.toc h2, .mw-body-content .toc h2 {
font-size: 1.36em;
}
div.tleft, div.tright {
margin-top: 0.2em;
margin-bottom: 0.8em;
}
.thumb .mediaContainer {
margin: 4px auto 2px;
}
ul.gallery,
li.gallerybox div.thumb {
margin-bottom: 0;
padding-bottom: 0;
}
}


Line 54: Line 50:
}
}


pre {
.mw-parser-output > .col-begin {
overflow: auto;
margin-top: 0.3em;
}
 
#disambig {
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
}


Line 78: Line 69:
}
}


.col-begin {
/* Site subtitle */
margin-top: 0.3em;
p.subtitle, #siteSub {
border-collapse: collapse;
display: block;
}
font-size: 90%;
.col-begin ul {
font-style: italic;
margin-top: 0;
margin: 0;
margin-bottom: 0;
}
.col-begin td {
padding: 0;
}
}


/* References */
/* Infoboxes */
ol.references {
.infobox {
margin-top: 0;
float: right;
clear: right;
font-size: 90%;
font-size: 90%;
margin: 0 0 1em 1em;
padding: 2px;
}
.infoboxheading {
font-size: 130%;
}
}


/* Checkered background for transparent images */
#file img {
background: url(/resources/src/mediawiki.action/images/checker.png) repeat;
}
.mw_metadata {
margin-top: 5px;
}
.random-users-avatars img {
.random-users-avatars img {
background: white;
background: #fff;
}
}


Line 111: Line 97:
}
}


.cleared {
/* Main page */
clear: both;
}
 
.IntroPageBox {
background-color: #ffe;
background-repeat: no-repeat;
background-position: bottom right;
}
.IntroPageBox div.tright {
border-color: transparent !important;
}
 
.desktopHide {
display: none !important;
}
 
/* Main Page */
body.page-Main_Page.action-view h1.firstHeading {
display: none !important;
}
body.page-Main_Page.action-view #bodyContent {
body.page-Main_Page.action-view #bodyContent {
margin-top: 18px;
margin-top: 18px;
}
}


/* Remove the title (h1 element) for Special:UpdateProfile and Special:UploadAvatar */
body.page-Special_UpdateProfile_custom h1,
body.page-Special_UploadAvatar h1,
body.page-Special_UploadAvatar h2 {
display: none;
}
.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UpdateProfile_preferences .site-button,
.page-Special_UploadAvatar .site-button {
.page-Special_UploadAvatar .site-button {
Line 155: Line 115:
.profile-tab-bar {
.profile-tab-bar {
margin-top: 26px;
margin-top: 26px;
}
/* Era icons */
#title-linktabs {
position: absolute;
right: 0;
top: -46px;
}
#title-linktabs img {
padding: 0 1px;
}
}


.foreground a {
.foreground a {
color: #1AAAE7;
color: #1AAAE7;
}
/* Nav boxes */
.navbox-title,
.navbox-title a,
.navbox-title span {
color: white !important;
}
.navbox-title.light,
.navbox-title.light a,
.navbox-title.light span {
color: black !important;
}
.navbox {
clear: both;
margin: 15px auto 2px !important;
}
.navbox:last-of-type {
margin-bottom: 0 !important;
}
.navbox .navbox {
margin: 0 auto !important;
}
.navbox + div + p + .navbox,
.navbox + p + .navbox,
.navbox + .navbox {
margin-top: 0 !important;
}
.navbox .mw-collapsible-toggle-expanded {
padding-left: 5px;
}
.navbox .navbox .mw-collapsible-toggle-collapsed {
padding-left: 34px;
}
.navbox .navbox .mw-collapsible-toggle-expanded {
padding-left: 39px;
}
.navbox .navbox .plainlinksneverexpand {
padding-right: 11px !important;
}
}


Line 213: Line 124:
.noticebox + .noticebox {
.noticebox + .noticebox {
margin-top: -5px !important;
margin-top: -5px !important;
}
/* Black ink */
.blackink {
    background-color: #000000;
    border-radius:4px;
    color: #000000;
    padding: 1px;
    transition: 1.5s;
    -o-transition: 1.5s;
    -ms-transition: 1.5s;
    -moz-transition: 1.5s;
    -webkit-transition: 1.5s;
    transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
}
.blackink a {
    color: #000000;
    padding: 1px;
    text-decoration: underline;
}
.blackink:hover {
    background-color: inherit !important;
    color: inherit;
}
/* Upload form */
#mw-htmlform-description .mw-editTools {
display: none;
}
/* Edit box */
.wikiEditor-ui-toolbar .section-main,
.wikiEditor-ui-toolbar .tabs {
height: auto;
}
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.mw-summary-preview {
margin-bottom: 0.5em;
}
#wpSummaryLabel .oo-ui-textInputWidget textarea,
#wpSummaryLabel .oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: -3px;
}
/* Video widget */
.videoWidget + p {
margin: 0;
}
}


Line 280: Line 134:
padding: 10px 0 2px 0;
padding: 10px 0 2px 0;
}
}
 
.item {
/* Dismissable SiteNotice */
margin: 2px 0 2px 20px
.sitedir-ltr .mw-dismissable-notice-body {
margin: 0.25em 60px 0.25em 0;
}
}
.sitedir-rtl .mw-dismissable-notice-body {
.item p {
margin: 0.25em 0 0.25em 60px;
margin-bottom: 0.3em;
}
 
/* Captcha spacing */
#editform #wpCaptchaWord {
margin-top: 2.5px;
}
.mw-ui-vform-field:nth-of-type(6) .mw-input {
margin-top: 10px;
}
#userloginForm .mw-ui-vform-field:nth-of-type(6) {
margin-bottom: 5px;
}
.mw-input img, #editform img {
image-rendering: auto !important;
}
.mw-htmlform-field-HTMLReCaptchaNoCaptchaField .mw-input {
margin-top: 1px;
}
.editOptions .g-recaptcha {
margin-bottom: 10px;
}
.mw-ui-vform {
width: 302px;
}
}


Line 326: Line 155:
/* Lore page background */
/* Lore page background */
.page-Destiny_2_Lore .tabbox {
.page-Destiny_2_Lore .tabbox {
background: url(/images/a/af/Destiny_2_menu_background_blurred_by_destinywarlock-dbguds6.png);
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 {
.page-Destiny_2_Lore .tabbox, .page-Destiny_2_Lore .tabbox h2 {
color: white;
color: #fff;
}
}
.page-Destiny_2_Lore .tabcontainer {
.page-Destiny_2_Lore .tabcontainer {
Line 349: Line 178:
}
}


/* Help icon */
/* Indicator icons */
.mw-indicators {
.mw-indicator {
display: none;
margin: 0 2px;
}
}


/* New user message box */
/* Who's online */
.usermessage {
#whosonline {
margin-top: 1em;
margin-bottom: 0;
}
}


/* Width fixes */
/* Site notice */
table {
@media all and (max-width: 1100px) {
max-width: 100%;
#siteNotice {
}
font-size: 80%;
@media all and (max-width: 1350px) {
table.darker,
table.wikitable {
display: block;
overflow: auto;
}
}
}
}


/* Media player fix */
/* User welcome */
.wikitable .mediaContainer {
margin-top: 2px;
}
.video-js {
overflow: hidden;
display: block !important;
}
.vjs-time-tooltip {
display: none !important;
}
#file > .video-js {
display: inline-block !important;
}
.thumb .video-js {
margin-left: auto;
margin-right: auto;
}
 
/* Skin preferences */
#mw-htmlform-skin .mw-htmlform-flatlist-item:nth-of-type(2) {
display: none;
}
 
/** User welcome **/
.mp-welcome-logged-in {
.mp-welcome-logged-in {
width: 260px;
width: 270px;
margin-top: -13px;
margin-top: -13px;
}
.mp-welcome-image {
width: 74px;
margin-bottom: -5px;
}
}
.mp-welcome-points {
.mp-welcome-points {
Line 409: Line 205:
}
}


/* SocialProfile */
/* Social profile */
.pagetitle {
.pagetitle {
display: block !important;
display: block !important;
}
.ns-2.action-view .pagetitle, .ns-200.action-view .pagetitle, .ns-202.action-view .pagetitle,
.ns-2.action-view .subtitle, .ns-200.action-view .subtitle, .ns-202.action-view .subtitle,
.ns-2.action-view #siteSub, .ns-200.action-view #siteSub, .ns-202.action-view #siteSub,
.ns-2.action-view #contentSub, .ns-200.action-view #contentSub, .ns-202.action-view #contentSub {
display: none !important;
}
}
.mw-special-UpdateProfile input[type="text"],
.mw-special-UpdateProfile input[type="text"],
Line 448: Line 238:
background-color: transparent;
background-color: transparent;
}
}
.profile-info-container .mw-parser-output {
.profile-info-container p {
margin-left: 10px;
margin: 0 0 8px 10px;
}
.profile-info-container .mw-parser-output p:first-child,
.profile-info-container .mw-parser-output ul:first-child {
margin-top: 0;
}
}
.user-home-item-gift {
.user-home-item-gift {
Line 488: Line 274:
padding: 2px 6px;
padding: 2px 6px;
background: #F8F5F5;
background: #F8F5F5;
color: black;
color: #000;
}
}
.page-nav a:hover {
.page-nav a:hover {
Line 495: Line 281:
}
}
.g-give-all {
.g-give-all {
background: white;
background: #fff;
}
.gamerid {
font-size: 14px;
}
}


/* Meet the Community */
/* Meet the community */
.random-users-avatars {
.random-users-avatars {
padding: 0px 0px 0px 10px;
padding: 0px 0px 0px 10px;
Line 521: Line 304:
}
}


/*** Custom Wallpaper ***/
/* Echo extension */
.destiny {  
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
background: url(/images/2/23/Travelers_rest_desktop.jpg) no-repeat center top !important;
font-size: 12px;
}
}
.destiny a {
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
color: #1AAAE7;
margin-bottom: 10px;
}
}
.destiny a:visited {  
.mw-echo-ui-crossWikiUnreadFilterWidget-group {
        color: #1AAAE7;  
display: none;
}
}
.citadel {  
.oo-ui-popupWidget-body-padded {
background: url(/images/f/f4/Citadel_desktop.jpg) no-repeat center top !important;
margin-top: 8px;
}
}
.citadel a {
.oo-ui-popupWidget-head {
color: #060;
overflow: hidden;
}
.citadel a:visited {
        color: #060;
}
.exclusion {
background: url(/images/7/77/Exclusion_zone_desktop.jpg) no-repeat center top !important;
}
.exclusion a {
color: #F30;
}
.exclusion a:visited {
        color: #F30;
}
.hellmouth {
background: url(/images/e/ed/Hellmouth_desktop.jpg) no-repeat center top !important;
}
.hellmouth a {
color: #1AAAE7;
}
.hellmouth a:visited {
        color: #1AAAE7;
}
.mars {
background: url(/images/c/c0/Mars_desktop.jpg) no-repeat center top !important;
}
.mars a {
color: #C30;
}
.mars a:visited {
        color: #C30;
}
.garden {
background: url(/images/c/c9/Garden_desktop.jpg) no-repeat center top !important;
}
.garden a {
color: #ff1a1a;
}
.garden a:visited {
        color: #ff1a1a;
}
.reef {
background: url(/images/0/0d/Destiny_Reef_queen.jpg) no-repeat center top !important;
}
.reef a {
color: #cc3399;
}
.reef a:visited {
        color: #cc3399;
}
.director {
background: url(/images/2/22/Destiny_2_Director_post-campaign.png) no-repeat center top !important;
}
.diretor a {
color: #F90;
}
.director a:visited {
        color: #F90;
}
.opacity70 {
background: url(/images/c/ca/70opacity.png) repeat;
}
.ttk {
background: url(/images/e/e3/ConceptArt_Space_Battle_01-1170x731.jpg) no-repeat center top !important;
}
.ttk a {
color: #1AAAE7;
}
}
.ttk a:visited {  
.mw-echo-ui-overlay {
        color: #1AAAE7;  
z-index: 100;
}
}

Latest revision as of 11:07, March 22, 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;
}

#main-wrap {
	padding-bottom: 33px;
}
.easywrap {
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
	overflow: hidden;
}

.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;
}

/* Echo extension */
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
	font-size: 12px;
}
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
	margin-bottom: 10px;
}
.mw-echo-ui-crossWikiUnreadFilterWidget-group {
	display: none;
}
.oo-ui-popupWidget-body-padded {
	margin-top: 8px;
}
.oo-ui-popupWidget-head {
	overflow: hidden;
}
.mw-echo-ui-overlay {
	z-index: 100;
}