Advertisement
wclendining

WIDELAYOUTstep3CSS

Apr 6th, 2015
571
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.52 KB | None | 0 0
  1.       /* ============================ */
  2.       /* Section 1: Document defaults */
  3.       /* ============================ */
  4.       @import url(http://fonts.googleapis.com/css?family=Lato:400,700,900);
  5.       @import url(http://fonts.googleapis.com/css?family=Bangers);
  6.       body {
  7.          margin: 0;
  8.          font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
  9.          font-size: 10pt;
  10.          background: linear-gradient(white, #1a2d38);
  11.       }
  12.  
  13.       /* =============================== */
  14.       /* Section 2: Header element rules */
  15.       /* =============================== */
  16.       header p.TagLine {margin-bottom: 1em; font-style: italic; text-align: center; font-size: 1.8vw}
  17.       #global {background-color: #121E26;text-align: right;overflow: auto;}
  18.       #global a, #global a:link, #global a:active, #global a:visited {color: #E7F1F6;text-decoration: none; }
  19.       #global a:hover {color: white; text-decoration: underline; }  
  20.       #searchform {display: inline; float: right; }
  21.       /* Making the cardinal navigation list horizontal, and drop-down */
  22.       #cardinal {background-color: #1a2d38; display: block; /*float: left;*/ margin: 0 auto; width: 100%; height: 40px; font-size: 90%;}
  23.       #cardinal ul, ul { list-style: none; margin: 0; padding: 0; }
  24.       #cardinal li {float: left; position: relative;}
  25.       #cardinal ul ul {display: none;position: absolute;top: 40px;left: 1em;float: left;width: 180px;opacity: 0.95;z-index: 99999;}
  26.       #cardinal a {color: #aaa; display: block; line-height: 40px; padding: 0 10px; text-decoration: none; font-weight: normal;}
  27.       #cardinal ul li:hover > ul { display: block;}
  28.       #cardinal li:hover > a,
  29.       #cardinal ul ul :hover > a {background-color: #333; color: #fff;}
  30.       #cardinal ul ul a {background-color: #333; line-height: 1em; padding: auto 10px; width: 160px; height: 40px;}
  31.       #cardinal ul li.current_page_item > a,
  32.       #cardinal ul li.current-menu-ancestor > a,
  33.       #cardinal ul li.current-menu-item > a,
  34.       #cardinal ul li.current-menu-parent > a {color: #fff;}   
  35.  
  36.       /* =============================== */
  37.       /* Section 4: Footer element rules */
  38.       /* =============================== */
  39.       footer {
  40.          font-size: 85%;
  41.           }
  42.       footer a, footer a:link, footer a:active, footer a:visited, footer a:hover {color: black; text-decoration: none;}
  43.       footer a:hover {color: white; text-decoration: underline;}
  44.  
  45.       .BottomRow {background-color: #1a2d38; color: white;text-align: center;padding: 1em 0;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement