MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Further tweaks)
(Removed vector specific changes to own CSS)
Line 6: Line 6:
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
   display: none;
   display: none;
}
.text-bottomline {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #a2a9b1;
}
#disclaimer-box {
  border: 1px solid #eaecf0;
  padding: 1em;
  background-color: #f8f9fa;
}
}



Revision as of 19:42, 22 December 2021

/* CSS placed here will be applied to all skins */

/* Hide the title on the main page */
.action-view.page-Main_Page #siteSub, .action-submit.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub, .action-submit.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
  display: none;
}

/* Add styling for kbd HTML tag */
kbd {
  box-sizing: border-box;
  text-align: center;
  color: #555;
  cursor: pointer;
  margin: 0 8px;
  padding: 0 5px;
  border-color: #f2f2f2;
  border-style: solid;
  text-shadow: 0 0.5px 1px #777, 0 2px 6px #f2f2f2;
  border-width: 1px;
  border-radius: 5px;
  background: -webkit-linear-gradient(top, #f9f9f9 0%, #D2D2D2 80%, #c0c0c0 100%);
  font-family: sans-serif;
  display: inline-block;
  transition: box-shadow 0.3s ease, transform 0.15s ease;
  box-shadow: 0 0 1px #888,0 1px 0 #fff, 0 6px 0 #C0C0C0, 0 8px 17px rgba(#444, 0.4), 2px 1px 4px rgba(#444, 0.25), -2px 1px 4px rgba(#444, 0.25), 0 9px 16px rgba(#444, 0.1);
}

kbd:hover, kbd:focus {
    box-shadow: 0 0 1px #888,0 1px 0 #fff, 0 4px 0 #C0C0C0, 0 2px 35px rgba(#444, 0.3), 2px 2px 4px rgba(#444, 0.25), -2px 2px 4px rgba(#444, 0.25), 0 7px 4px rgba(#444, 0.1);
    transform: translateY(2px);
}

kbd:active {
    box-shadow: 0 0 1px #888,0 1px 0 #fff, 0 0 0 #C0C0C0, 0 0px 30px rgba(#444, 0.15), 2px 2px 4px rgba(#444, 0.25), -2px 2px 4px rgba(#444, 0.25), 0 0px 4px rgba(#444, 0.25);
    transform: translateY(4px); 
}