MediaWiki:Common.css: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
 
(260 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 */


/* Patroller highlights */
/* Navbox style
.mw-userlink[title="User:CabalRedGuard"],
      Edit here: https://www.destinypedia.com/MediaWiki:Gadget-NavboxStyle.css
.mw-userlink[title="User:CIA391"],
  Staff highlights
.mw-userlink[title="User:Guahanboy 98"],
      Edit here: https://www.destinypedia.com/MediaWiki:Gadget-StaffHighlights.css
.mw-userlink[title="User:Hawki"],
  Custom wallpapers
.mw-userlink[title="User:KFC just"],
      Edit here: https://www.destinypedia.com/MediaWiki:Gadget-Wallpapers.css */
.mw-userlink[title="User:Observance"],
.mw-userlink[title="User:OmgHAX!"],
.mw-userlink[title="User:MorningWalker"],
.mw-userlink[title="User:Spartacus"],
a.whopatrol, #whopatrollers a {
color: #b78c25 !important;
}


/* Administrator highlights */
/* General */
.mw-userlink[title="User:Arcmind-1"],
.mw-userlink[title="User:Primus Draug'oth"],
a.whoadmin, #whoadmins a {
color: #048204 !important;
}


/* Bureaucrat highlights */
h1 { font-size: 2.00em; }
.mw-userlink[title="User:Dante the Ghost"],
h2 { font-size: 1.75em; }
.mw-userlink[title="User:Shazamikaze"],
h3 { font-size: 1.45em; }
a.whocrat, #whocrats a {
h4 { font-size: 1.32em; }
color: #9370DB !important;
h5 { font-size: 1.15em; }
}
h6 { font-size: 1.00em; }


/* Developer highlights */
.fakeh2 {
.mw-userlink[title="User:Porplemontage"],
font-size: 1.75em;
a.whodev, #whodevs a {
border-bottom: 1px solid #a2a9b1;
color: #F26500 !important;
padding-top: 0.5em;
padding-bottom: 0.17em;
margin-bottom: 0.6em;
}
}
 
.fakeh3 {
/* Bot highlights */
font-size: 1.45em;
.mw-userlink[title="User:PorpleBot"],
font-weight: bold;
.mw-userlink[title="User:Spartabot"],
padding-top: 0.5em;
a.whobot {
padding-bottom: 0.17em;
color: #FF8C00 !important;
margin-bottom: 0.3em;
}
}
/* General */


#bodyContent {
#bodyContent {
position: relative;
background: transparent !important;
background: transparent !important;
}
#main-wrap {
padding-bottom: 33px;
}
.easywrap {
width: 100%;
table-layout: fixed;
word-wrap: break-word;
overflow: hidden;
}
.spoiler {
width: 70%;
padding: 0.2em;
margin: 10px;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
}
}


Line 71: Line 40:
}
}


pre {  
.mw-parser-output > .col-begin {
overflow: auto;
margin-top: 0.3em;
}
}


#disambig {
.featurelist .mw-collapsible {
border-top: 3px double #cccccc;
margin-right: 10px;
border-bottom: 3px double #cccccc;
}
}
 
.featurelist h3 {
#WhosOnlineDiv {
padding-top: 0;
margin-bottom: -5px;
padding-bottom: 0.5em;
}
}
#whosonline a:visited {
.featurelist .mw-collapsible-content {
color: #0000FF;
margin-top: -0.5em;
margin-bottom: 0.5em;
}
.featurelist td > p {
display: none;
}
}


/* References */
/* Site subtitle */
ol.references {
p.subtitle, #siteSub {
margin-top: 0;
display: block;
font-size: 90%;
font-size: 90%;
font-style: italic;
margin: 0;
}
}
.references-small {
 
font-size: 80%;
/* Infoboxes */
}
.infobox {
ol.references > li:target {
float: right;
background-color: #ddeeff;
clear: right;
}
font-size: 90%;
sup.reference:target {
margin: 0 0 1em 1em;
background-color: #ddeeff;
padding: 2px;
}
}
.references {
.infoboxheading {
font-size: 92%;
font-size: 130%;
}
}


/* Checkered background for transparent images. See also http://www.mediawiki.org/wiki/Special:Code/MediaWiki/20065 */
.random-users-avatars img {
#file img {
background: #fff;
background: url(/images/Checker-16x16.png) repeat;
}
 
html .thumbimage, .random-users-avatars img {
background: white;
}
}


Line 118: Line 87:
}
}


.cleared {
/* Main page */
clear: both;
body.page-Main_Page.action-view #bodyContent {
}
margin-top: 18px;
 
.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 */
.page-Special_UpdateProfile_preferences .site-button,
body.page-Main_Page.action-view h1.firstHeading {
.page-Special_UploadAvatar .site-button {
display: none;
margin-top: 10px;
}
}
body.page-Main_Page.action-view #bodyContent {
.page-Special_UpdateProfile_preferences input[type="checkbox"] {
margin-top: 18px;
margin: 2px 5px 0 0;
}
}
 
.profile-update {
/* Remove the title (h1 element) for Special:UpdateProfile and Special:UploadAvatar */
margin-bottom: 5px;
body.page-Special_UpdateProfile_custom h1,
body.page-Special_UploadAvatar h1 {
display: none;
}
}


.profile-tab-bar {
.profile-tab-bar {
margin-top: 26px;
margin-top: 26px;
}
/* Era icons */
#title-eraicons {
display: none !important;
visibility: hidden !important;
}
#title-linktabs {
position: absolute;
right: 0;
top: -46px;
}
#title-linktabs img {
padding: 0 1px;
}
}


Line 172: Line 111:
}
}


/* Navboxes */
/* Notice boxes */
.navbox-title,
.noticebox + .noticebox {
.navbox-title a,
margin-top: -5px !important;
.navbox-title span {
color: white !important;
}
.navbox-title.light,
.navbox-title.light a,
.navbox-title.light span {
color: black !important;
}
.navbox {
margin: 15px auto 2px !important;
}
.navbox .navbox {
margin: 0 auto !important;
}
.navbox + div + p + .navbox,
.navbox + p + .navbox,
.navbox + .navbox {
margin-top: 0 !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;
}
 
/* Edit box */
.wikiEditor-ui textarea#wpTextbox1 {
height: 474px;
line-height: 1.4em;
}
.mw-summary-preview {
margin-bottom: 0.5em;
}
.oo-ui-textInputWidget textarea,
.oo-ui-textInputWidget input {
padding-bottom: 0.5em;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-right: -3px;
}
 
/* Video widget */
.videoWidget + p {
margin: 0;
}
}


Line 251: Line 124:
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 */
/* Adjust inputbox button padding in Firefox */
.editOptions .g-recaptcha {
.bodySearchWrap .mw-ui-button, .createboxButton {
margin-bottom: 10px;
padding-top: 6px !important;
}
padding-bottom: 6px !important;
.mw-ui-vform {
width: 302px;
}
}
/* Adjust inputbox button padding in Firefox */
@-moz-document url-prefix() {  
@-moz-document url-prefix() {  
.bodySearchWrap .mw-ui-button, .createboxButton {
.bodySearchWrap .mw-ui-button, .createboxButton {
padding-top: 4px;
padding-top: 6px !important;
padding-bottom: 5px;
padding-bottom: 5px !important;
}
}
}
/* Hide help links in top-right */
.mw-indicators {
display:none;
}
}


/* 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 293: Line 155:
.page-Destiny_2_Lore .selected {
.page-Destiny_2_Lore .selected {
padding-bottom: 1px;
padding-bottom: 1px;
}
/* Reference tooltips */
.referencetooltip li {
background: #F2F3F4;
        border-color: #999999;
}
.referencetooltip li+li {
        border-top-color: #999999;
}
.referencetooltip.RTflipped li+li {
        border-bottom-color: #999999;
}
.RTTarget {
        border-color: #999999;
}
}


Line 321: Line 168:
}
}


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


/** User welcome **/
/* Site notice */
@media all and (max-width: 1100px) {
#siteNotice {
font-size: 80%;
}
}
 
/* 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 340: Line 195:
}
}


/* SocialProfile */
/* Social profile */
.ns-2.action-view .pagetitle, .ns-200.action-view .pagetitle, .ns-202.action-view .pagetitle,
.pagetitle {
.ns-2.action-view .subtitle, .ns-200.action-view .subtitle, .ns-202.action-view .subtitle,
display: block !important;
.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 {
.mw-special-UpdateProfile input[type="text"],
display: none !important;
.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;
}
}
.action-edit .pagetitle,
.mw-special-EditProfile textarea {
.action-submit .pagetitle,
width: 95%;
.action-delete .pagetitle,
.action-history .pagetitle,
.mw-special-EditProfile .pagetitle,
.mw-special-UpdateProfile .pagetitle,
.mw-special-UploadAvatar .pagetitle {
display: block !important;
}
}
.user-section-heading {
.user-section-heading {
clear: both;
clear: both;
}
.user-section-title {
letter-spacing: normal;
}
}
#profile-toggle-button {
#profile-toggle-button {
Line 368: Line 227:
table, div#profile-top, .profile-info {
table, div#profile-top, .profile-info {
background-color: transparent;
background-color: transparent;
}
.profile-info-container p {
margin: 0 0 8px 10px;
}
.user-home-item-gift {
margin: 2px 25px;
}
}
.user-board-message {
.user-board-message {
background: #fff;
background: #fff;
border: 1px solid #C9D6E0;
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 {
.user-board-message-body {
Line 392: Line 264:
padding: 2px 6px;
padding: 2px 6px;
background: #F8F5F5;
background: #F8F5F5;
color: black;
color: #000;
}
}
.page-nav a:hover {
.page-nav a:hover {
Line 399: Line 271:
}
}
.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;
}
}
.random-users-avatars h2 {
.random-users-avatars h2 {
border-bottom: none;
border-bottom: none;
Line 415: Line 283:
padding: 7px 0px 8px 0px;
padding: 7px 0px 8px 0px;
}
}
.random-users-avatars img {
.random-users-avatars img {
border: 1px solid #DCDCDC;
border: 1px solid #DCDCDC;
Line 425: Line 292:
}
}


/*** Custom Wallpaper ***/
/*
.destiny {
To limit the size of the preview warningbox
background: url(/images/2/23/Travelers_rest_desktop.jpg) no-repeat center top !important;
when many template errors/warnings are displayed
}
*/
.destiny a {
.warningbox, .mw-warning-box {
color: #1AAAE7;
max-height: 300px;
}
overflow-y: auto;
.destiny a:visited {
        color: #1AAAE7;
}
.citadel {
background: url(/images/f/f4/Citadel_desktop.jpg) no-repeat center top !important;
}
.citadel a {
color: #060;
}
.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 {
        color: #1AAAE7;  
}
}

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