Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | |||
+ | @media screen and (-webkit-min-device-pixel-ratio:0) { | ||
+ | /* Chrome- and Safari-specific CSS here*/ | ||
+ | .mw-body-content { | ||
+ | font-size: .9rem; | ||
+ | } | ||
+ | } | ||
/* hide comments and references h2 */ | /* hide comments and references h2 */ | ||
− | /* remove unnecessary br */ | + | /* remove unnecessary br and SMW spinner */ |
− | .cdependent, .fileupload-container br { | + | .cdependent, .fileupload-container br, |
+ | #mw-indicator-smw-entity-examiner { | ||
display: none; | display: none; | ||
} | } | ||
+ | |||
+ | /* UL **/ | ||
+ | .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { | ||
+ | margin: 0.3em 0 0.5rem 1.6em; | ||
+ | } | ||
+ | |||
/** CARDS */ | /** CARDS */ | ||
Line 184: | Line 198: | ||
color: #999; | color: #999; | ||
margin-right: .25rem; | margin-right: .25rem; | ||
+ | } | ||
+ | .page-Special_RunQuery_Award_Query .pf-runquery-formcontent { | ||
+ | display: none; | ||
} | } | ||
Line 221: | Line 238: | ||
clear: both; | clear: both; | ||
} | } | ||
− | input.dtsb-input { | + | **/ |
+ | .dataTables_filter { | ||
+ | float: right; | ||
+ | margin-left: 1rem; | ||
+ | } | ||
+ | input.dtsb-input, input.dtsb-value { | ||
font-size: 1em; | font-size: 1em; | ||
} | } | ||
− | **/ | + | |
+ | /* ConfirmAccount */ | ||
+ | .mw-special-RequestAccount fieldset { | ||
+ | margin: 0; | ||
+ | border: 0; | ||
+ | } | ||
+ | .mw-special-RequestAccount fieldset legend { | ||
+ | display: none; | ||
+ | } | ||
+ | .mw-special-RequestAccount fieldset, .mw-special-RequestAccount table { | ||
+ | padding: 0 !important; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .mw-special-RequestAccount table tr td:first-of-type { | ||
+ | width: 120px; | ||
+ | } | ||
+ | .mw-special-RequestAccount table tr td input, .mw-special-RequestAccount #wpCaptchaWord { | ||
+ | padding: 8px 0; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .mw-special-RequestAccount textarea { | ||
+ | border: 1px solid #888; | ||
+ | background-color: #fff !important; | ||
+ | } | ||
+ | .mw-special-RequestAccount fieldset:last-of-type { | ||
+ | background: #e8e8e8; | ||
+ | border: 1px solid #888; | ||
+ | margin: .5rem 0 1.5rem 0; | ||
+ | } | ||
+ | .mw-special-RequestAccount fieldset:last-of-type p { | ||
+ | padding: .25rem 1rem; | ||
+ | } | ||
+ | .mw-special-RequestAccount #wpToS { | ||
+ | width: 32px; | ||
+ | height: 32px; | ||
+ | margin: 0 1rem 1rem 0; | ||
+ | float: left; | ||
+ | } | ||
+ | .mw-special-RequestAccount #wpUsername { | ||
+ | margin-bottom: 2px; | ||
+ | } | ||
+ | .mw-special-RequestAccount input[value="Request account"] { | ||
+ | appearance: button !important; | ||
+ | display: block; | ||
+ | background: #3a6bbd; | ||
+ | padding: 8px 16px; | ||
+ | border: 1px solid transparent; | ||
+ | color: #fff; | ||
+ | font-weight: bold; | ||
+ | font-size: 1rem; | ||
+ | border-radius: 2px; | ||
+ | } | ||
+ | .hint .smwtticon.info { | ||
+ | background-size: 1rem 1rem; | ||
+ | } | ||
+ | .hint .smwtticon { | ||
+ | padding: 16px 24px 0 0; | ||
+ | vertical-align: -.2rem; | ||
+ | filter: grayscale(1); | ||
+ | } | ||
+ | |||
+ | /* Introduction */ | ||
+ | .introductory p:nth-of-type(2n) { | ||
+ | padding: 1rem 3rem; | ||
+ | } | ||
+ | .holdslogo img.img-fluid { | ||
+ | max-width: 640px; | ||
+ | } | ||
+ | @media screen and ( max-width: 768px ) { | ||
+ | .introductory p:nth-of-type(2n) { | ||
+ | padding: 1rem 1.5rem; | ||
+ | } | ||
+ | .introbuttons a, .introbuttons a span { | ||
+ | width: 100%; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | /* SLIDESHOW */ | ||
+ | .srf-gallery-slideshow .rslides_tabs li { | ||
+ | margin: 0 .35rem; | ||
+ | } | ||
+ | .thumb > div { | ||
+ | margin: 6px auto; | ||
+ | } | ||
+ | |||
+ | /* VECTOR SKIN */ | ||
+ | #pfForm .createboxInput { | ||
+ | min-height: 34px; | ||
+ | } | ||
+ | #pfForm .select2-selection { | ||
+ | min-height: 40px; | ||
+ | border-radius: 3px; | ||
+ | margin: 0 !important; | ||
+ | display: flex; | ||
+ | align-items: center; | ||
+ | } | ||
+ | #pfForm label.checkboxLabel { | ||
+ | display: flex; | ||
+ | align-items: center; | ||
+ | } | ||
+ | #pfForm label.checkboxLabel .createboxInput { | ||
+ | min-height: 24px !important; | ||
+ | } | ||
+ | .select2-container--default .select2-selection--single { | ||
+ | border-color: #bbb !important; | ||
+ | } | ||
+ | .select2-container--default .select2-selection--single .select2-selection__arrow { | ||
+ | height: 36px; | ||
+ | } | ||
+ | span.select-sfs { | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | span.select-sfs-single::after { | ||
+ | display: none !important; | ||
+ | } | ||
+ | span.select-sfs select { | ||
+ | background-image: none !important; | ||
+ | border: 1px solid #bbb !important; | ||
+ | border-radius: 3px !important; | ||
+ | -webkit-appearance: button; | ||
+ | -moz-appearance: button; | ||
+ | appearance: button; | ||
+ | } | ||
+ | .inputSpan select { | ||
+ | padding: 8px !important; | ||
+ | min-height: 40px; | ||
+ | } | ||
+ | .select2-container--default .select2-selection--multiple .select2-selection__choice { | ||
+ | margin-top: 2px !important; | ||
+ | margin-bottom: 2px; | ||
+ | border-radius: 3px; | ||
+ | } | ||
+ | ul.gallery { | ||
+ | margin: 0 !important; | ||
+ | } | ||
+ | .fileupload-container label { | ||
+ | display: none; | ||
+ | } | ||
+ | .page-Main_Page #firstHeading { | ||
+ | display: none; | ||
+ | } | ||
+ | .page-Main_Page .card .oo-ui-fieldLayout-header { | ||
+ | display: none !important; | ||
+ | } | ||
+ | |||
+ | .page-Hollywood_in_Pixels_Wiki_Projects_by_Film .toc { | ||
+ | float: right; | ||
+ | } |
Latest revision as of 10:35, January 4, 2022
/* CSS placed here will be applied to all skins */
@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Chrome- and Safari-specific CSS here*/
.mw-body-content {
font-size: .9rem;
}
}
/* hide comments and references h2 */
/* remove unnecessary br and SMW spinner */
.cdependent, .fileupload-container br,
#mw-indicator-smw-entity-examiner {
display: none;
}
/* UL **/
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
margin: 0.3em 0 0.5rem 1.6em;
}
/** CARDS */
@media screen and (min-width: 540px) and (max-width: 1024px) {
.card-columns {
columns: 2 !important;
}
.card-group > .card, .card-deck .card {
flex: 1 0 50% !important;
}
}
@media screen and (min-width: 1024px) {
.card-columns {
columns: 3 !important;
}
.card-group > .card, .card-deck .card {
flex: 1 0 30% !important;
}
}
/** FORM CREATE */
[name="createbox"] p,
.pfFormInputWrapper {
margin: 0 !important;
}
/** INFOBOX */
.infobox {
border: 1px solid #dfdfdf;
border-radius: 3px;
background-color: #f8f9fa;
clear: right;
color: black;
float: right;
font-size: .92em;
line-height: 1.4em;
margin: 0.5em 0 2em 1em;
max-width: 400px;
padding-bottom: 1em;
}
.infobox-image img {
height: auto;
width: 100% !important;
}
.infobox-image-caption {
color: darkcyan;
font-size: 0.97em;
padding: 0 1em;
text-align: center;
}
@media screen and ( max-width: 720px ) {
.infobox {
max-width: unset;
width: 100% !important;
}
}
.infobox-header {
background: #f0f0f0;
border: 1px solid #ddd;
font-weight: bold;
font-size: 1.2em;
margin: .2em;
margin-top: .75em;
text-align: center;
}
.infobox-header:first-of-type {
margin-top: .2em;
}
.infobox > div > div > div:first-of-type {
color: #444;
font-style: italic;
font-size: .9em;
line-height: 1.3em;
padding-top: 10px;
text-align: right;
width: 90px;
}
.infobox > div > div > div:last-of-type {
padding-left: 16px;
vertical-align: text-top;
}
/** TILES */
.tile-halves {
display:flex;
flex-flow:row wrap;
border: 1px solid rgba(0,0,0,.15);
background: #ffffff;
/* box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0,0,0,.5); */
}
.tile-top.tile-image {
display:flex;
align-items:center;
background-color:#949eaa;
overflow:hidden;
padding:0;
height:11vw;
max-height:11em;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.tile-top.tile-image a {
width:100%
}
.tile-top.tile-image img {
width:100%;
height:auto;
transition:0.4s ease-out
}
.mainpage-recent-updates .tile-halves {
flex:1;
align-content:flex-start;
}
.mainpage-recent-updates .tile-halves:hover .tile-top img,
.block-right .tile-halves:hover .tile-top img {
transform:scale(1.04)
}
.mainpage-recent-updates .tile-halves:last-child {
}
body.wgl-readermode .mainpage-recent-updates .tile-image {
max-height:10.5em
}
.mainpage-recent-updates .tile-bottom.link-button a {
text-align:left;
}
.mainpage-recent-updates h2 {
margin:-0.5em 0 0.3em
}
.mainpage-recent-updates p:not(.byline) {
/* font-size:0.9em; */
line-height:1.45em;
color:#444e5a
}
.mainpage-recent-updates .jagex-promotion .byline {
color:#855cd8
}
@media only screen and (max-width:767px) {
.mainpage-recent-updates .tile-row, .tile-row {
flex-flow: column wrap !important;
}
.mainpage-recent-updates .tile-halves {
margin-bottom: 1rem;
width: 100%;
}
.dataTables_wrapper .top {
flex-direction: column;
}
}
#pfForm .select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #f0f0f0;
border: 0;
border-radius: 2px;
padding: 4px 16px 4px 8px;
}
#pfForm .select2-container .select2-selection--single .select2-selection__rendered {
display: flex;
font-size: 1rem;
background: #f0f0f0 !important;
border-radius: 2px;
padding: 2px 16px 2px 8px;
margin-left: 4px;
}
#pfForm .select2-selection {
padding: 4px 0 !important;
}
#pfForm .select2-container--default .select2-selection--single .select2-selection__clear {
color: #999;
margin-right: .25rem;
}
.page-Special_RunQuery_Award_Query .pf-runquery-formcontent {
display: none;
}
/* DataTables */
.dataTables_wrapper .top {
display: flex;
width: 100%;
justify-content: space-between;
align-items: baseline;
}
.pagination * {
border: 0;
}
table.dataTable > thead .sorting::before, table.dataTable > thead .sorting::after,
table.dataTable > thead .sorting_asc::before, table.dataTable > thead .sorting_asc::after,
table.dataTable > thead .sorting_desc::before, table.dataTable > thead .sorting_desc::after,
table.dataTable > thead .sorting_asc_disabled::before, table.dataTable > thead .sorting_asc_disabled::after,
table.dataTable > thead .sorting_desc_disabled::before, table.dataTable > thead .sorting_desc_disabled::after {
bottom: 0.5rem;
}
.smwtable-clean tr > th {
padding: 8px 20px 8px 0 !important;
}
thead input {
width: 100%;
}
div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow {
margin: .5em 0;
}
div.dtsp-topRow.dtsp-bordered, div.dtsp-topRow.dtsp-bordered:hover {
border: 0;
}
/**
div.dtsb-searchBuilder div.dtsb-group {
float: left !important;
clear: both;
}
**/
.dataTables_filter {
float: right;
margin-left: 1rem;
}
input.dtsb-input, input.dtsb-value {
font-size: 1em;
}
/* ConfirmAccount */
.mw-special-RequestAccount fieldset {
margin: 0;
border: 0;
}
.mw-special-RequestAccount fieldset legend {
display: none;
}
.mw-special-RequestAccount fieldset, .mw-special-RequestAccount table {
padding: 0 !important;
width: 100%;
}
.mw-special-RequestAccount table tr td:first-of-type {
width: 120px;
}
.mw-special-RequestAccount table tr td input, .mw-special-RequestAccount #wpCaptchaWord {
padding: 8px 0;
width: 100%;
}
.mw-special-RequestAccount textarea {
border: 1px solid #888;
background-color: #fff !important;
}
.mw-special-RequestAccount fieldset:last-of-type {
background: #e8e8e8;
border: 1px solid #888;
margin: .5rem 0 1.5rem 0;
}
.mw-special-RequestAccount fieldset:last-of-type p {
padding: .25rem 1rem;
}
.mw-special-RequestAccount #wpToS {
width: 32px;
height: 32px;
margin: 0 1rem 1rem 0;
float: left;
}
.mw-special-RequestAccount #wpUsername {
margin-bottom: 2px;
}
.mw-special-RequestAccount input[value="Request account"] {
appearance: button !important;
display: block;
background: #3a6bbd;
padding: 8px 16px;
border: 1px solid transparent;
color: #fff;
font-weight: bold;
font-size: 1rem;
border-radius: 2px;
}
.hint .smwtticon.info {
background-size: 1rem 1rem;
}
.hint .smwtticon {
padding: 16px 24px 0 0;
vertical-align: -.2rem;
filter: grayscale(1);
}
/* Introduction */
.introductory p:nth-of-type(2n) {
padding: 1rem 3rem;
}
.holdslogo img.img-fluid {
max-width: 640px;
}
@media screen and ( max-width: 768px ) {
.introductory p:nth-of-type(2n) {
padding: 1rem 1.5rem;
}
.introbuttons a, .introbuttons a span {
width: 100%;
}
}
/* SLIDESHOW */
.srf-gallery-slideshow .rslides_tabs li {
margin: 0 .35rem;
}
.thumb > div {
margin: 6px auto;
}
/* VECTOR SKIN */
#pfForm .createboxInput {
min-height: 34px;
}
#pfForm .select2-selection {
min-height: 40px;
border-radius: 3px;
margin: 0 !important;
display: flex;
align-items: center;
}
#pfForm label.checkboxLabel {
display: flex;
align-items: center;
}
#pfForm label.checkboxLabel .createboxInput {
min-height: 24px !important;
}
.select2-container--default .select2-selection--single {
border-color: #bbb !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 36px;
}
span.select-sfs {
margin-bottom: 0;
}
span.select-sfs-single::after {
display: none !important;
}
span.select-sfs select {
background-image: none !important;
border: 1px solid #bbb !important;
border-radius: 3px !important;
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
}
.inputSpan select {
padding: 8px !important;
min-height: 40px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
margin-top: 2px !important;
margin-bottom: 2px;
border-radius: 3px;
}
ul.gallery {
margin: 0 !important;
}
.fileupload-container label {
display: none;
}
.page-Main_Page #firstHeading {
display: none;
}
.page-Main_Page .card .oo-ui-fieldLayout-header {
display: none !important;
}
.page-Hollywood_in_Pixels_Wiki_Projects_by_Film .toc {
float: right;
}