Actions

MediaWiki

MediaWiki:Erudite.css

An Avatar.Global Resource

Revision as of 13:26, 16 March 2025 by Michael (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Set a background image for the top banner */
#top-wrap {
  background-image: url(images/mybanner.jpg);
}

/* Set the colour of the top menu */
#menu {
  background-color: rgba(130, 90, 160, 0.7);
}

/* Set font for body text */
body {
  font-family: Helvetica, sans-serif;
}

/* Set font for headings and navigation 
h1, h2, h3, h4, h5, h6, .entry-meta, #menu, #footer-wrap {
  color:555;
}
*/

span.navmenu {font-size:8pt;}

h2 {
display:inline-block;
margin-block-end:1em;
margin-bottom:18px;
border-bottom:1px solid black;
padding-bottom:4px;
font-weight:600;
}

h2 {margin-bottom:12px;}
h3 {font-weight:bold;}

ul {margin-left:36px;margin-bottom:18px;}
blockquote.definition {border:none;}

/* NAV MENU */

nav {
  &.primary-navigation {
    margin: 0 auto;
    display: block;
  
    padding: 120px 0 0 0;  
    text-align: center;
    font-size: 16px;

    ul li {
      list-style: none;
      margin: 0 auto;
      border-left: 2px solid #3ca0e7;
      display: inline-block;
      padding: 0 30px;
      position: relative;
      text-decoration: none;
      text-align: center;
      font-family: arvo;
    }

    li a {
      color: black;
    }

    li a:hover {
      color: #3ca0e7;
    }

    li:hover {
      cursor: pointer;
    }

    ul li ul {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      padding-left: 0;
      left: 0;
      display: none;
      background: white;
    }

    ul li:hover > ul,
    ul li ul:hover {
      visibility: visible;
      opacity: 1;
      display: block;
      min-width: 250px;
      text-align: left;
      padding-top: 20px;
      box-shadow: 0px 3px 5px -1px #ccc;
    }

    ul li ul li {
      clear: both;
      width: 100%;
      text-align: left;
      margin-bottom: 20px;
      border-style: none;
    }

    ul li ul li a:hover {
      padding-left: 10px;
      border-left: 2px solid #3ca0e7;
      transition: all 0.3s ease;
    }
  }
}

a {

    text-decoration: none;

    &:hover {
        color: #3CA0E7;
    }
 
}

 ul li ul li a { transition: all 0.5s ease; }