MediaWiki:Styling.css: Difference between revisions

remove monospace font for the editor, as it breaks the indentation on the 2017 wikitext editor
imported>Smallketchup82
No edit summary
(remove monospace font for the editor, as it breaks the indentation on the 2017 wikitext editor)
 
(40 intermediate revisions by 3 users not shown)
Line 50: Line 50:
}
}


body {
/* This portion of Styling.css was cut and pasted into Dark.css */
background-color: rgb(29, 32, 33)
}


.mw-body {
.portable-infobox {
background-color: rgb(24, 26, 27);
    border-radius: 5px;
}
    overflow: hidden;
 
position: relative;
.vector-menu-portal .vector-menu-content li a {
box-shadow: black 2px 2px 10px;
color: rgb(102, 177, 250);
right: 5px;
}
background: #1b1e1f;
 
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 {
background-image: linear-gradient(rgba(51, 55, 57, 0) 0px, rgb(51, 55, 57) 100%);
}
 
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
color: rgb(211, 207, 202);
text-decoration-color: currentcolor;
}
 
.vector-menu-tabs .selected {
background-color: rgb(24, 26, 27);
background-image: none;
}
 
.vector-menu-tabs li {
background-image: linear-gradient(to top, rgb(9, 79, 129) 0px, rgb(32, 35, 37) 1px, rgb(24, 26, 27) 100%);
}
}


.vector-menu-portal h3 {
.portable-infobox .pi-border-color {
background-image: linear-gradient(to right, rgba(53, 57, 59, 0) 0px, rgb(53, 57, 59) 33%, rgb(53, 57, 59) 66%, rgba(53, 57, 59, 0) 100%);
border-color: #484e51;
color: rgb(176, 169, 159);
border-color: currentcolor;
}
}


#mw-page-base {
.portable-infobox .pi-secondary-background {
background-color: rgb(26, 28, 30);
background-color: #222526;
background-image: linear-gradient(rgb(24, 26, 27) 50%, rgb(29, 32, 33) 100%);
}
}


#mw-content-text {
.pi-section-navigation .pi-section-tab.pi-section-active, .pi-section-navigation .pi-section-tab.current, .pi-media-collection .pi-tab-link.current {
padding: 10px;
background: #222526;
border: 2px solid #103e89;
border-radius: 10px;
background: #22252D;
overflow:hidden;
color: #FFFFFF;
}
}


h1, h2, h3, h4, h5, h6 {
.pi-section-navigation .pi-section-tab, .pi-media-collection .pi-tab-link {
color: rgb(255, 255, 255);
border-color: #353a3c;
}
}


.portable-infobox {
.portable-infobox .pi-header, .portable-infobox .pi-title {
    width: auto;
text-align: center;
    border-radius: 5px;
    overflow: hidden;
position: relative;
box-shadow: 2px 2px black;
right: 5px;
}
.pi-border-color {
background: #191a1f;
}
}


/*CSSUnderline*/
.portable-infobox .pi-title {
.UnderlineStyle .noexternal {
font-family: "Rocket Rinder";
transition: all 1s !important;
letter-spacing: 1px;
margin-bottom: 5px;
}
.UnderlineStyle .noexternal .header1 a{
position: relative;
display: inline;
}
}


.UnderlineStyle .noexternal .header1 span:after {
.pi-data-value {
content: '';
margin: auto;
position: absolute;
left: 50%;
bottom: -2px;
width: 0px;
height: 2px;
background-color: white;
transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
top: 100%;
}
.UnderlineStyle:hover .header1 span:after {
width: 100%;
left: 0;
}
.Underlineactive .header1 span:after {
width: 100% !important;
left: 0 !important;
top: 50% !important;
}
.Underlinective .noexternal{
margin-bottom: 0px !important;
}
}


/*Lines 77-89: Infobox panel colors (e.g. Planetary Infobox)*/
/*Lines 77-89: Infobox panel colors (e.g. Planetary Infobox)*/
Line 164: Line 103:
box-shadow: inset 0 -2px 0 0 #1E5EBF;
box-shadow: inset 0 -2px 0 0 #1E5EBF;
}
}
/*Re-style the preformatted elements for total cost and material cost to match the rest of the infobox*/
/*Re-style the preformatted elements for total cost and material cost to match the rest of the infobox*/
[data-source="total_cost"] > pre {
[data-source="total_cost"] > pre {