Difference between revisions of "MediaWiki:Refreshed.css"

(Undo revision 109683 by Lachlan (talk))
Tags: Blanking Undo
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
input[type=submit] {
 
  font-family:'Roboto', sans-serif;
 
  font-size:13px;
 
  text-transform:uppercase;
 
  font-weight:bold;
 
  background:none;
 
  border:none;
 
  border-radius:2px;
 
  height:32px;
 
  margin:0 8px;
 
  padding:0 8px;
 
  outline:none;
 
}
 
input[type=submit]:hover,
 
input[type=submit]:focus {
 
  background-color:#dddddd;
 
}
 
input[type=submit]:active {
 
  background-color:#cccccc;
 
}
 
/* HISTORY PAGE FORMATTING */
 
#pagehistory li {
 
  border-color:transparent; /* overwrites CSS built into mediawiki */
 
}
 
#mw-history-search input[type=submit] {
 
  float:right;
 
}
 
select, input:not([type]), input[type=number] {
 
  border-radius:2px;
 
  background:#fff;
 
  font-family:'Roboto', sans-serif;
 
}
 
input:not([type]), input[type=number] {
 
  background:none;
 
  border:none;
 
  border-radius:0;
 
  border-bottom:1px solid rgba(0,0,0,0.42);
 
  padding-bottom:4px;
 
  font-size:14px;
 
}
 
input:not([type=submit]):focus {
 
  border-bottom:2px solid var(--primary);
 
  outline:none;
 
  box-shadow:none;
 
}
 
.header-dropdown-item:not(#pt-notifications) a {
 
  color:black !important;
 
  font-family:'Roboto', sans-serif;
 
}
 
.avatar-no-socialprofile.wikiglyph-user-sleep,
 
.avatar-no-socialprofile.wikiglyph-user-smile,
 
.wikiglyph-magnifying-glass {
 
line-height: 64px;
 
}
 
.fixed-toolbox {
 
  top:64px;
 
}
 
#header-wrapper .search-form {
 
    line-height:64px;
 
}
 
#fade-overlay {
 
  background-color:rgba(0,0,0,0.5) !important;
 
}
 
#site-info-main a.main,
 
.header-button {
 
  padding:0 !important;
 
}
 
section .search {
 
  height:100%;
 
}
 
#sidebar li:active {
 
background-color:#eee;
 
margin:0;
 
}
 
/* TABLET CSS */
 
@media (min-width:601px) and (max-width:800px) {
 
  /* Remove the sidebar on edit pages when the screen is small */
 
  .action-edit #sidebar-wrapper,
 
  .action-submit #sidebar-wrapper {
 
      display:none;
 
  }
 
  .action-edit #content-wrapper,
 
  .action-submit #content-wrapper {
 
      margin-left:0;
 
  }
 
  .action-edit .standard-toolbox,
 
  .action-submit .standard-toolbox {
 
      left:0;
 
  }
 
}
 
@media (min-width:601px) and (max-width:1000px) {
 
  #header-wrapper .search-form {
 
      background-color:var(--primary);
 
      padding:0;
 
      z-index:1;
 
      top:0;
 
  }
 
}
 
/** Preferences formatting **/
 
.mw-special-Preferences .selected {
 
    font-weight: bold;
 
    pointer-events: none;
 
    cursor: default;
 
    color: black;
 
}
 
/* Category links */
 
#catlinks {
 
    margin-top:1em !important;
 
    border-radius:2px;
 
    padding:0 0.5em 0 0.5em;
 
    background-color:#fff;
 
}
 
.editOptions {
 
  background: none;
 
  border: none;
 
}
 
h1 {border-bottom:none; margin-bottom:0 !important;}
 
h2 {border-bottom:none;}
 
h2, h3, h4, h5, h6 {
 
    font-family:'Roboto', sans-serif;
 
}
 
h2 {
 
    color:var(--primary);
 
    margin-top:40px;
 
    margin-bottom:15px;
 
    font-size:24px;
 
    line-height:32px;
 
    font-weight:400;
 
}
 
h3, h4, h5, h6 {
 
    font-size:16px;
 
    font-weight:bold !important;
 
    line-height:24px;
 
    color:rgb(33, 33, 33);
 
}
 
#contentwrapper {
 
    background-color: #fafafa;
 
}
 
#contentwrapper p {
 
  font-family:'Roboto', sans-serif;
 
  line-height:1.5;
 
  color:rgba(0, 0, 0, 0.71);
 
}
 
.mw-editsection-bracket {
 
  display:none;
 
}
 
table.wikitable.material-design {
 
  margin:0;
 
  padding-bottom:10px;
 
}
 
.wikitable.material-design tbody {
 
  border:none !important;
 
  background:#fff;
 
  border-radius:2px;
 
}
 
.wikitable.material-design td,
 
.wikitable.material-design th {
 
  border:none;
 
  background:none;
 
}
 
.wikitable.material-design tr {
 
  border-bottom:1px solid rgba(0, 0, 0, 0.16);
 
  height:46px;
 
}
 
.wikitable.material-design th {
 
  font-family:'Roboto', sans-serif;
 
  color:rgba(0, 0, 0, 0.54);
 
  font-size:12px;
 
}
 
.wikitable.material-design td {
 
  font-size:13px;
 
  font-family:'Roboto', sans-serif;
 
  color:rgba(0, 0, 0, 0.87);
 
}
 
#wpSummary {
 
  border:none;
 
  background:none;
 
  border-bottom:2px solid #f0f0f0;
 
  font-family:'Roboto', sans-serif;
 
  margin:0;
 
}
 
.wide-content {
 
  max-width:100%;
 
  overflow-y:auto;
 
}
 
/* LOCATION STUFF (Template:Location) */
 
.location-none {
 
  display:none;
 
}
 
@media screen and (max-width:1599px) {
 
  .location-tiny {
 
    display:none;
 
  }
 
  .location-small {
 
      display:none;
 
  }
 
}
 
@media screen and (max-width:1399px) {
 
  .location-medium {
 
      display:none;
 
  }
 
}
 
@media screen and (max-width:1099px) {
 
  .location-large,
 
  .notlarge {
 
      display:none;
 
  }
 
}
 
table.wikitable.record-holder.boxshadow {
 
  display:table !important; /* overriding code in the refreshed skin that is useful for other tables but not this one */
 
}
 
  
/* Change editbox size depending on screen height */
 
@media screen and (max-width:320px) and (max-height: 480px) {
 
    #editform textarea {
 
        height: 220px;
 
    }
 
}
 
@media screen and (max-width:600px) and (min-height: 481px) and (max-height:619px) {
 
    #editform textarea {
 
        height: 320px;
 
    }
 
}
 
@media screen and (max-width:600px) and (min-height: 620px)  {
 
    #editform textarea {
 
        height: 430px;
 
    }
 
}
 
 
@media (min-width:1001px) {
 
    #footer {
 
      margin:0 1em 0 200px;
 
  }
 
}
 
#echo,
 
#echo li {
 
  padding:0;
 
}
 
.oo-ui-toolbar {
 
  margin:0 !important;
 
}
 
.ve-ui-toolbar-floating > .oo-ui-toolbar-bar {
 
  top:64px !important;
 
}
 
.mw-special-UploadWizard .oo-ui-checkboxMultioptionWidget {
 
  width: initial !important; /* fix for UplaodWizard */
 
}
 
/* COASTERPEDIA EXCLUSIVE STYLES */
 
#header-wrapper img {
 
  width:180px !important;
 
  height:64px !important;
 
}
 
.ve-ui-overlay-global {
 
z-index:10001;
 
}
 
#unitSelectContainer {
 
margin:0.5em;
 
}
 
}
 

Revision as of 17:44, 15 January 2020