Difference between revisions of "Template:Waterloo/CSS/style.css"
m (Centering text in navbar) |
m (New position settings for #contentContainer) |
||
Line 64: | Line 64: | ||
/* Creates the container for the content */ | /* Creates the container for the content */ | ||
#contentContainer { | #contentContainer { | ||
− | + | position: absolute; | |
− | + | left: 0; | |
− | + | right: 0; | |
− | + | padding: 0; | |
− | + | width: 965px; | |
− | + | float: left; | |
+ | background-color: #fff; | ||
} | } | ||
Line 185: | Line 186: | ||
/*---Header & Footer------------------------------------------------------------------------------*/ | /*---Header & Footer------------------------------------------------------------------------------*/ | ||
header { | header { | ||
− | + | position: absolute; | |
− | + | left: 0; | |
− | + | right: 0; | |
− | + | top: 16px; /*-- this matches the height of the top_menu_14 bar --*/ | |
− | + | margin-bottom: 10px; | |
} | } | ||
header > .navbar-nav { | header > .navbar-nav { | ||
− | + | text-align: center; | |
} | } | ||
Line 199: | Line 200: | ||
bottom: 0; | bottom: 0; | ||
width: 100%; | width: 100%; | ||
− | /* | + | height: 60px; /*-- set the fixed height of the footer here --*/ |
− | + | ||
padding: 0; | padding: 0; | ||
margin-top: 10px; | margin-top: 10px; |
Revision as of 03:31, 16 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----------------------------------------------------------------------*/
- globalWrapper, #content, #bodyContent {
margin: 0 auto; padding: 0; height: 100%; width: 100%; border: 0px; background-color: transparent;
}
- top_menu_under {
margin: 0; padding: 0; height: 0; width: 100%; border: 0; background-color: transparent;
}
- top_menu_14 {
margin: 0; padding: 0; width: 100%; border: 0; padding-bottom: 2px;
}
div#top_menu_inside {
margin: 0 auto;
}
/*---Div Properties-------------------------------------------------------------------------------*/
/* Creates a container that will wrap all of the content inside your wiki pages. */
- mainContainer {
position: relative; width: 965px; margin: 0 auto; overflow:hidden; background-color: #fff; font-family: Helvetica, "Trebuchet MS", sans-serif;
}
/* Creates the container for the content */
- contentContainer {
position: absolute; left: 0; right: 0; padding: 0; width: 965px; float: left; background-color: #fff;
}
/*Change the styling of text for everything inside main container*/
- mainContainer p {
font-size: 13px; color: #000000;
}
/*Style of the links - links are different inside the menu */
- contentContainer a {
font-weight: bold; color: #23b593;
}
/* Styling links on hover- links are different inside the menu */
- contentContainer a:hover {
color: #59bf92;
}
/*Change the styling of tables */
- 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*/
- contentContainer td {
padding: 10px; border: 1px solid #565656; border-collapse: collapse; vertical-align: text-top;
}
/*Change the styling of table headers */
- 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;
}
/*---Wireframing----------------------------------------------------------------------------------*/ .fifth-column, .two-fifth-column, .three-fifth-column, .four-fifth-column, .quarter-column, .three-quarter-column, .third-column, .two-third-column, .half-column{
-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 50%; float: left; display: inline-block; vertical-align: top;
} .third-column{
width: 33.3333%;
} .two-third-column{
width: 66.6666%;
} .quarter-column{
width: 25%;
} .three-quarter-column{
width: 75%;
} .fifth-column{
width: 20%;
} .two-fifth-column{
width: 40%;
} .three-fifth-column{
width: 60%;
} .four-fifth-column{
width: 80%;
} .half-column.right {
margin-left: 50%;
}
/*---Header & Footer------------------------------------------------------------------------------*/
header {
position: absolute; left: 0; right: 0; top: 16px; /*-- this matches the height of the top_menu_14 bar --*/ margin-bottom: 10px;
}
header > .navbar-nav {
text-align: center;
}
footer {
bottom: 0; width: 100%; height: 60px; /*-- set the fixed height of the footer here --*/ 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: #9e9e9e;
font-size: 0.75em; line-height: 2em; color: #fff;
}