User:Headquarter8302/common.css: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Created page with "#firstHeading .mw-editsection a { color: white; } body.page-Main_Page #t-cite, body.page-Main_Page #lastmod, body.page-Main_Page #siteSub { display: none !important; } .er...")
 
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
#firstHeading .mw-editsection a {
/* Position coordinates */
color: white;
#coordinates {
}
 
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub {
display: none !important;
}
 
.error {
font-weight: bold;
}
 
/* some headroom for #coordinates to go in without #siteSub */
#mw_contentholder {
padding-top: .4em;
}
 
/* position coordinates */
#coordinates {
position: absolute;
position: absolute;
z-index: 1;
z-index: 1;
border: none;
border: none;
background: none;
background: none;
right: 0;
left: 9px;
top: 0.1em;
top: 5.7em;
float: right;
float: left;
margin: 0;
margin: 0;
padding: 0;
padding: 0;
padding-right: 1.17em;
line-height: 1.5em;
line-height: 1.5em;
text-align: right;
text-align: left;
text-indent: 0;
text-indent: 0;
font-size: 85%;
font-size: 85%;
Line 38: Line 18:
}
}


/* important to keep the text predictably positioned */
/* Fixed Sidebar */
#coordinates img {
/* Killed command */
vertical-align: top;
/* div#mw-panel { position: fixed;
  overflow: auto;
  top: 0px;
  bottom: 0px;
  height: 100%; */
 
/* Make a good editing bar */
.wikiEditor-ui-toolbar {
    background-color: #fff;
    box-shadow: 0 2px 1px 0 rgb(0 0 0 / 10%);
}
 
div[rel="wikiEditor-ui-view-preview"].current,
div[rel="wikiEditor-ui-view-changes"].current {
box-shadow: 0 2px 1px 0 rgb(0 0 0 / 10%);
background-color: #fff;
}
 
/* Dark mode */
 
/*
#p-logo a {
filter: invert(1);
}
 
body, #mw-head, #mw-panel {
background-color: #272626;
}
 
#mw-navigation div#mw-panel {
background-color: rgba(0,0,0,0.5);
filter: invert(1);
}
 
div.vectorTabs li.selected a {
color: cyan;
}
 
div.vectorTabs li a {
color: orange;
background-color: black;
}
 
div.vectorTabs li a[title*="View"] {
background-color: black;
border-radius: 10px 0 0 0;
}
 
div.vectorTabs li a[title*="Discussion"] {
border-radius: 0;
}
 
div.vectorTabs li a {
border-radius: 0 10px 0 0;
}
 
div#content {
background-color: rgba(0,0,0,0.5) !important;
color: white;
}
 
h1, h2, h3, h4, h5, h6, .mw-editsection {
color: white;
}
 
.infobox {
background-color: gray;
color: white;
}
 
.infobox .section {
background-color: #008b8b;
color: black;
}
 
.spoiler-text {
background-color: rgba(0,0,0,0.5);
}
 
.thumbinner {
background-color: black;
color: white;
}
 
.keyboard-key {
background-color: black !important;
}
 
#toc {
background-color: black;
color: white;
}
 
table.ambox {
background-color: #252525;
color: white;
}
}


/* Fix for badges in modern being too high up, see [[phab:T246931]] */
a {
.mw-echo-notifications-badge {
color: cyan;
top: 0 !important;
}
 
.pwiki-gallery tbody tr td table {
background-color: black;
color: white;
}
}
*/


.mw-topboxes {
#mw-panel {
margin-top: -0.4em;
position: fixed;
}
}

Latest revision as of 00:05, 28 October 2021

/* Position coordinates */
#coordinates {  
	position: absolute;
	z-index: 1;
	border: none;
	background: none;
	left: 9px;
	top: 5.7em;
	float: left;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	text-align: left;
	text-indent: 0;
	font-size: 85%;
	text-transform: none;
	white-space: nowrap;
}

/* Fixed Sidebar */
/* Killed command */
/* div#mw-panel { position: fixed;
  overflow: auto;
  top: 0px;
  bottom: 0px;
  height: 100%; */

/* Make a good editing bar */
.wikiEditor-ui-toolbar {
    background-color: #fff;
    box-shadow: 0 2px 1px 0 rgb(0 0 0 / 10%);
}

div[rel="wikiEditor-ui-view-preview"].current,
div[rel="wikiEditor-ui-view-changes"].current {
	box-shadow: 0 2px 1px 0 rgb(0 0 0 / 10%);
	background-color: #fff;
}

/* Dark mode */

/*
#p-logo a {
	filter: invert(1);
}

body, #mw-head, #mw-panel {
	background-color: #272626;
}

#mw-navigation div#mw-panel {
	background-color: rgba(0,0,0,0.5);
	filter: invert(1);
}

div.vectorTabs li.selected a {
	color: cyan;
}

div.vectorTabs li a {
	color: orange;
	background-color: black;
}

div.vectorTabs li a[title*="View"] {
	background-color: black;
	border-radius: 10px 0 0 0;
}

div.vectorTabs li a[title*="Discussion"] {
	border-radius: 0;
}

div.vectorTabs li a {
	border-radius: 0 10px 0 0;
}

div#content {
	background-color: rgba(0,0,0,0.5) !important;
	color: white;
}

h1, h2, h3, h4, h5, h6, .mw-editsection {
	color: white;
}

.infobox {
	background-color: gray;
	color: white;
}

.infobox .section {
	background-color: #008b8b;
	color: black;
}

.spoiler-text {
	background-color: rgba(0,0,0,0.5);
}

.thumbinner {
	background-color: black;
	color: white;
}

.keyboard-key {
	background-color: black !important;
}

#toc {
	background-color: black;
	color: white;
}

table.ambox {
	background-color: #252525;
	color: white;
}

a {
	color: cyan;
}

.pwiki-gallery tbody tr td table {
	background-color: black;
	color: white;
}
*/

#mw-panel {
	position: fixed;
}