MediaWiki

Common.css

From DelDOT CADD Wiki

Revision as of 10:09, 1 October 2021 by DKleinot (talk | contribs)

Note: After saving, 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 */

/* Table of Contents modifications */

.toctogglecheckbox:not(:checked) ~ ul {
  display: block;
  height:70vh;
  overflow: scroll;
}
.toctogglecheckbox::checked ~ ul {
  display: block;
  .cFloat{
    height:10px;
  }
}
.noautonum .tocnumber { display: none; }

.cFloat {
 position: fixed;
 right: 0;
 top: 7.5em;
 background-color: white;

 /*This keeps it above the Circles.*/
 z-index: 1;
 max-width: 700px;
}

.cFloat:not(:hover) {
 opacity: 0.65;
 }
.cFloat:hover {
 opacity: 1.0;
}



/* Change the body font-family for entire site. */
body {
   font-family: calibri light;
}


/* Don't like the black top bar? Copy this into your Foreground.css and change the colors 
.top-bar, 
.top-bar-section ul, 
.top-bar-section ul li.active > a, 
.top-bar-section li a:not(.button), 
.top-bar-section .has-form {
    background: ##3366ff;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #3366ff;
}
*/


/* CSS for Links -----------------------------------------*/

/* A link that has not been visited */
a:link {
    color: blue;
}
/* A link that has been visited */
a:visited {
    color: blue;
}
/* A link that is hovered on */
a:hover {
    color: red;
}
/* A link that is selected */
a:active {
    color: green;
}

/* -----------------------------------------------------*/

<div style="text-align: center;">   [[#top|[Back to Top]]]</div>

nav.top-bar,
.top-bar.expanded .title-area {
    background: #536878;
}

#navwrapper {
    background: #536878;
}

ul#top-bar-left li,
ul#top-bar-left li a
 {
    background: #536878;
}

ul#top-bar-right li,
ul#top-bar-right li a {
    background: #536878;
}

ul#top-bar-left li:hover,
ul#top-bar-left li a:hover,
ul#top-bar-right li:hover:not(.has-form),
ul#top-bar-right li a:hover {
    background: #708090;
    color: #333;
}
.page-Main_Page #firstHeading {
    display: none;
}