MediaWiki

Difference between revisions of "Common.css"

From DelDOT CADD Wiki

Line 4: Line 4:


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

Revision as of 10:07, 1 October 2021

/* 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;
  height:70px;
}
.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;
}