Difference between revisions of "Template:Waterloo/CSS/style.css"

m
m (New footer styling)
Line 171: Line 171:
 
}
 
}
  
footer > ul > li > a {
+
.footer-basic-centered{
  color: #fff;
+
background-color: #292c2f;
 +
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
 +
box-sizing: border-box;
 +
width: 100%;
 +
text-align: center;
 +
font: normal 18px sans-serif;
 +
 
 +
padding: 45px;
 +
margin-top: 80px;
 
}
 
}
  
footer > ul > li > a:hover {
+
.footer-basic-centered .footer-company-motto{
  color: #eee;
+
color: #8d9093;
 +
font-size: 24px;
 +
margin: 0;
 +
}
 +
 
 +
.footer-basic-centered .footer-company-name{
 +
color: #8f9296;
 +
font-size: 14px;
 +
margin: 0;
 +
}
 +
 
 +
.footer-basic-centered .footer-links{
 +
list-style: none;
 +
font-weight: bold;
 +
color:  #ffffff;
 +
padding: 35px 0 23px;
 +
margin: 0;
 +
}
 +
 
 +
.footer-basic-centered .footer-links a{
 +
display:inline-block;
 +
text-decoration: none;
 +
color: inherit;
 +
}
 +
 
 +
/* If you don't want the footer to be responsive, remove these media queries */
 +
 
 +
@media (max-width: 600px) {
 +
 
 +
.footer-basic-centered{
 +
padding: 35px;
 +
}
 +
 
 +
.footer-basic-centered .footer-company-motto{
 +
font-size: 18px;
 +
}
 +
 
 +
.footer-basic-centered .footer-company-name{
 +
font-size: 12px;
 +
}
 +
 
 +
.footer-basic-centered .footer-links{
 +
font-size: 14px;
 +
padding: 25px 0 20px;
 +
}
 +
 
 +
.footer-basic-centered .footer-links a{
 +
line-height: 1.8;
 +
}
 
}
 
}

Revision as of 07:31, 27 June 2015

/*---Properties-----------------------------------------------------------------------------------*/ html, body {

 margin: 0 auto;
 padding: 0;
 width: 100%;
 height: 100%;
 background-color: #fff;

}

html {

 position: relative;
 min-height: 100%;

}

h1, h2, h3, h4, h5, h6, p {

   color: #565656;
   font-family: Helvetica, "Trebuchet MS", sans-serif;
   border-bottom: none;

}

/*---Changes to Default Wiki----------------------------------------------------------------------*/

  1. globalWrapper, #content, #bodyContent {
   margin: 0 auto;
   padding: 0;
   height: 100%;
   width: 100%;
   border: 0px;
   background-color: transparent;

}

  1. top_menu_under {
   margin: 0;
   padding: 0;
   height: 0;
   width: 100%;
   border: 0;
   background-color: transparent;

}

  1. top_menu_14 {
   margin: 0;
   padding: 0;
   width: 100%;
   border: 0;
   padding-bottom: 2px;
   background-color: #373B40; 

}

div#top_menu_inside {

   margin: 0 auto;

}


/*---Div Properties-------------------------------------------------------------------------------*/ /* Creates a container that will wrap all of the content inside your wiki pages. */

  1. mainContainer {
 position: relative;
 width: 965px;
 margin: 0 auto;
 margin-top: 150px; /*-- matches fixed header height --*/
 overflow: hidden;
 background-color: #fff; 
 font-family: Helvetica, "Trebuchet MS", sans-serif;

}

/* Creates the container for the content */

  1. contentContainer {
 padding: 0;
 width: 100%;
 float: left;
 background-color: #fff;

}

/*Change the styling of text for everything inside main container*/

  1. mainContainer p {
   font-size: 13px;
   color: #000000;

}

/*Style of the links - links are different inside the menu */

  1. contentContainer a {
   font-weight: bold;
   color: #23b593;

}

/* Styling links on hover- links are different inside the menu */

  1. contentContainer a:hover {
   color: #59bf92;

}

/*Change the styling of tables */

  1. contentContainer table {
   border: 1px solid #565656;
   border-collapse: collapse;
   width: 90%
   margin: auto;
   margin-bottom: 15px;
   margin-top: 15px;
   margin-right: 10px;
   margin-left: 10px;

}

/*Change the styling of table cells*/

  1. contentContainer td {
   padding: 10px;
   border: 1px solid #565656;
   border-collapse: collapse;
   vertical-align: text-top;

}

/*Change the styling of table headers */

  1. contentContainer th {
   background-color: #E8E8E9;
   padding: 10px;
   border: 1px solid #565656;
   border-collapse: collapse;
   vertical-align: text-top;

}


/*Clear class for all the pages, adds spacing too*/ .clear{

   clear:both;
   height: 10px;

}

/* highlight box for special messages */ .highlightBox {

   width:500px; 
   margin:auto; 
   background-color: #E8E8E9; 
   margin-bottom: 15px;
   margin-top: 15px;
   padding: 15px;
   padding-top: 5px;

}


/*---Header & Footer------------------------------------------------------------------------------*/ header {

 position: absolute;
 left: 0;
 right: 0;
 top: 16px; /*-- this matches the height of the top_menu_14 bar --*/
 -webkit-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
    -moz-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
     -ms-box-shadow: 0 0 10px 0 rgba(66,66,66,1);
         box-shadow: 0 0 10px 0 rgba(66,66,66,1);

}

header > .navbar-nav {

 text-align: center;

}

footer {

 bottom: 0;
 width: 100%;
 padding: 0;
 margin-top: 10px;
 -webkit-box-shadow: inset 0 10px 15px -10px #424242;
    -moz-box-shadow: inset 0 10px 15px -10px #424242;
     -ms-box-shadow: inset 0 10px 15px -10px #424242;
         box-shadow: inset 0 10px 15px -10px #424242;
 background: #2a2e33;
 font-size: 0.75em;
 line-height: 2em;
 color: #fff;

}

.footer-basic-centered{ background-color: #292c2f; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12); box-sizing: border-box; width: 100%; text-align: center; font: normal 18px sans-serif;

padding: 45px; margin-top: 80px; }

.footer-basic-centered .footer-company-motto{ color: #8d9093; font-size: 24px; margin: 0; }

.footer-basic-centered .footer-company-name{ color: #8f9296; font-size: 14px; margin: 0; }

.footer-basic-centered .footer-links{ list-style: none; font-weight: bold; color: #ffffff; padding: 35px 0 23px; margin: 0; }

.footer-basic-centered .footer-links a{ display:inline-block; text-decoration: none; color: inherit; }

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 600px) {

.footer-basic-centered{ padding: 35px; }

.footer-basic-centered .footer-company-motto{ font-size: 18px; }

.footer-basic-centered .footer-company-name{ font-size: 12px; }

.footer-basic-centered .footer-links{ font-size: 14px; padding: 25px 0 20px; }

.footer-basic-centered .footer-links a{ line-height: 1.8; } }