MediaWiki

Common.css

From DelDOT CADD Wiki

Revision as of 09:44, 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 */
.noautonum .tocnumber { display: none; }

.cFloat {
 position: fixed;
 right: 0;
 top: 6em;
 opacity:1.0;
 /*This keeps it above the Circles.*/
 z-index: 1;
 max-width: 700px;
}

@media (min-width:1200px) {
 .cFloat .toc:not(:hover) {
  opacity: 0.65;
  
 }
 .cFloat .toc: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>