MediaWiki:Common.css

From Expounder
Revision as of 10:48, 1 July 2023 by John (talk | contribs) (Created page with ": : .mw-body-content a.external {color: #008000} .mw-body-content a.external:visited {color: #008000} : : : .mw-collapsible span...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* External links are green */
.mw-body-content a.external {color: #008000}
.mw-body-content a.external:visited {color: #008000}

/* Redlinks are muted green */
/*.mw-body-content a.new {color: #008080}
.mw-body-content a.new:visited {color: #008080}*/

/* Collapsible elements. Toggle-link moved to left.
/* Margin around it adjusted. see https://www.mediawiki.org/wiki/Manual:Collapsible_elements */

.mw-collapsible span.mw-collapsible-toggle {
    float:left;
    margin-left:0;
    margin-right:1em;
}

/* JRB Hide icons for links and files */

div#content a.external {
    background:none !important;
    padding: 0px !important;
}

.image {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.image1 {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.document {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.page {
  position: relative;
  display: inline-block;
}

.image .imagecaption {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.image1 .image1caption {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.document .documentcaption {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.image:hover .imagecaption {
  visibility: visible;
}

.image1:hover .image1caption {
  visibility: visible;
}

.document:hover .documentcaption {
  visibility: visible;
}

.mw-editsection { display: none; }

// Hide sidebar (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Remove_the_Sidebar_and_main_logo_at_MediaWiki:Sidebar)

#column-content { margin: 0 0 1em 0; }
#content { margin: 0 0 0 0; }
#p-cactions { left: .1em; }

//#p-logo, .generated-sidebar, #p-lang, #p-tb  { display:none; }
.generated-sidebar, #p-lang, #p-tb  { display:none; }