Difference between revisions of "Template:Waterloo/CSS/style.css"
m |
m |
||
Line 18: | Line 18: | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
border-bottom: none; | border-bottom: none; | ||
+ | } | ||
+ | h1 { | ||
+ | font-size: 2em; | ||
} | } | ||
h2 { | h2 { | ||
+ | font-size: 1.5em; | ||
border-bottom: 1px solid #373B40; | border-bottom: 1px solid #373B40; | ||
+ | } | ||
+ | h3 { | ||
+ | font-size: 1.2em; | ||
+ | } | ||
+ | h4, p, a { | ||
+ | font-size: 1em; | ||
+ | } | ||
+ | h5 { | ||
+ | font-size: 0.8em; | ||
+ | } | ||
+ | h6 { | ||
+ | font-size: 0.6em; | ||
} | } | ||
Line 65: | Line 81: | ||
overflow: hidden; | overflow: hidden; | ||
background-color: #fff; | background-color: #fff; | ||
− | |||
} | } | ||
Line 78: | Line 93: | ||
/*Change the styling of text for everything inside main container*/ | /*Change the styling of text for everything inside main container*/ | ||
#mainContainer p { | #mainContainer p { | ||
− | + | ||
− | + | ||
} | } | ||
/*Style of the links - links are different inside the menu */ | /*Style of the links - links are different inside the menu */ | ||
− | # | + | #mainContainer a { |
font-weight: bold; | font-weight: bold; | ||
color: #23b593; | color: #23b593; | ||
Line 138: | Line 152: | ||
padding: 15px; | padding: 15px; | ||
padding-top: 5px; | padding-top: 5px; | ||
− | + | ||
-webkit-box-shadow: 0 0 5px 0 rgba(66,66,66,1); | -webkit-box-shadow: 0 0 5px 0 rgba(66,66,66,1); | ||
-moz-box-shadow: 0 0 5px 0 rgba(66,66,66,1); | -moz-box-shadow: 0 0 5px 0 rgba(66,66,66,1); | ||
Line 207: | Line 221: | ||
padding-left: 0px; | padding-left: 0px; | ||
padding-right: 0px; | padding-right: 0px; | ||
− | + | ||
opacity: 0.9; | opacity: 0.9; | ||
} | } | ||
Line 252: | Line 266: | ||
footer .footer-company-motto { | footer .footer-company-motto { | ||
color: #8d9093; | color: #8d9093; | ||
− | font-size: | + | font-size: 2em; |
margin: 0; | margin: 0; | ||
} | } | ||
Line 258: | Line 272: | ||
footer .footer-company-name { | footer .footer-company-name { | ||
color: #8f9296; | color: #8f9296; | ||
− | font-size: | + | font-size: 1.5em; |
margin: 0; | margin: 0; | ||
} | } | ||
footer .footer-links { | footer .footer-links { | ||
list-style: none; | list-style: none; | ||
− | |||
− | |||
margin: 0; | margin: 0; | ||
} | } | ||
Line 271: | Line 283: | ||
display:inline-block; | display:inline-block; | ||
text-decoration: none; | text-decoration: none; | ||
− | color: | + | padding: 35px 0 23px; |
+ | color: #ffffff; | ||
} | } | ||
/* If you don't want the footer to be responsive, remove these media queries */ | /* If you don't want the footer to be responsive, remove these media queries */ | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
− | + | footer { | |
− | + | padding: 3em; | |
− | + | } | |
− | + | footer .footer-company-motto { | |
− | + | font-size: 1.5em; | |
− | + | } | |
− | + | footer .footer-company-name { | |
− | + | font-size: 1em; | |
− | + | } | |
− | + | footer .footer-links { | |
− | + | font-size: 1em; | |
− | + | } | |
− | + | ||
− | + | footer .footer-links a { | |
− | + | padding: 25px 0 20px; | |
− | + | line-height: 1.8; | |
+ | } | ||
} | } | ||
/*---Scroll to Top button ---------------------------*/ | /*---Scroll to Top button ---------------------------*/ | ||
.cd-top { | .cd-top { | ||
− | + | display: inline-block; | |
− | + | height: 40px; | |
− | + | width: 40px; | |
− | + | position: fixed; | |
− | + | bottom: 40px; | |
− | + | right: 10px; | |
− | + | box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); | |
− | + | /* image replacement properties */ | |
− | + | overflow: hidden; | |
− | + | text-indent: 100%; | |
− | + | white-space: nowrap; | |
− | + | background: rgba(35, 181, 147, 0.8) url(/wiki/images/b/bd/Waterloo_cd-top-arrow.png) no-repeat center 50%; | |
− | + | visibility: hidden; | |
− | + | opacity: 0; | |
− | + | -webkit-transition: opacity .3s 0s, visibility 0s .3s; | |
− | + | -moz-transition: opacity .3s 0s, visibility 0s .3s; | |
− | + | transition: opacity .3s 0s, visibility 0s .3s; | |
} | } | ||
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover { | .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover { | ||
− | + | -webkit-transition: opacity .3s 0s, visibility 0s 0s; | |
− | + | -moz-transition: opacity .3s 0s, visibility 0s 0s; | |
− | + | transition: opacity .3s 0s, visibility 0s 0s; | |
} | } | ||
.cd-top.cd-is-visible { | .cd-top.cd-is-visible { | ||
− | + | /* the button becomes visible */ | |
− | + | visibility: visible; | |
− | + | opacity: 1; | |
} | } | ||
.cd-top.cd-fade-out { | .cd-top.cd-fade-out { | ||
− | + | /* if the user keeps scrolling down, the button is out of focus and becomes less visible */ | |
− | + | opacity: .5; | |
} | } | ||
.no-touch .cd-top:hover { | .no-touch .cd-top:hover { | ||
− | + | background-color: rgb(35, 181, 147); | |
− | + | opacity: 1; | |
} | } | ||
Line 406: | Line 419: | ||
width: 60%; | width: 60%; | ||
display: inline-block; | display: inline-block; | ||
− | |||
vertical-align: middle; | vertical-align: middle; | ||
} | } |
Revision as of 05:39, 25 August 2015
/*---Properties-----------------------------------------------------------------------------------*/ html, body {
margin: 0 auto; padding: 0; padding-top: 44px; width: 100%; height: 100%; background-color: #fff;
}
html {
position: relative; min-height: 100%;
}
h1, h2, h3, h4, h5, h6, p, a {
color: #373B40; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; border-bottom: none;
} h1 {
font-size: 2em;
} h2 {
font-size: 1.5em; border-bottom: 1px solid #373B40;
} h3 {
font-size: 1.2em;
} h4, p, a {
font-size: 1em;
} h5 {
font-size: 0.8em;
} h6 {
font-size: 0.6em;
}
/*---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; 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. */
- mainContainer {
position: relative; width: 965px; margin: 0 auto; margin-top: 150px; /*-- matches fixed header height --*/ overflow: hidden; background-color: #fff;
}
/* Creates the container for the content */
- contentContainer {
padding: 0; width: 100%; float: left; background-color: #fff;
}
/*Change the styling of text for everything inside main container*/
- mainContainer p {
}
/*Style of the links - links are different inside the menu */
- mainContainer 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;
-webkit-box-shadow: 0 0 5px 0 rgba(66,66,66,1); -moz-box-shadow: 0 0 5px 0 rgba(66,66,66,1); -ms-box-shadow: 0 0 5px 0 rgba(66,66,66,1); box-shadow: 0 0 5px 0 rgba(66,66,66,1);
}
/*---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;
}
/* Styling for upper nav */
nav {
margin-top: 16px !important; transition: all 1s !important; -webkit-transition: all 1s; /* Safari */ -moz-transition: all 1s; -o-transition: all 1s;
}
nav img {
transition: all 1s !important; height: 100%;
}
nav.main-nav {
z-index: 2000;
}
nav.shrink a.navbar-brand {
height: 60px !important;
}
nav.shrink {
min-height: 40px;
}
nav.shrink li a {
padding-top: 20px !important; padding-bottom: 20px !important; min-height: 100% !important;
}
nav.shrink li li a {
padding-top: 0px !important; padding-bottom: 0px !important; min-height: 100% !important;
}
/* Styling for lower nav */
nav.navbar-lower {
margin-top: 76px !important; padding-left: 0px; padding-right: 0px;
opacity: 0.9;
}
nav.navbar-lower div div {
text-align: center;
}
nav.navbar-lower li {
float: none; display: inline-block;
}
nav.hide-lower {
opacity: 0; display: none;
}
ul.inner-page-links{
width: 100% !important; display: inline-block;
}
footer {
bottom: 0; width: 100%; padding: 0;
-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;
box-sizing: border-box; text-align: center;
}
footer .footer-company-motto {
color: #8d9093; font-size: 2em; margin: 0;
}
footer .footer-company-name {
color: #8f9296; font-size: 1.5em; margin: 0;
} footer .footer-links {
list-style: none; margin: 0;
}
footer .footer-links a {
display:inline-block; text-decoration: none; padding: 35px 0 23px; color: #ffffff;
} /* If you don't want the footer to be responsive, remove these media queries */
@media (max-width: 600px) {
footer { padding: 3em; }
footer .footer-company-motto { font-size: 1.5em; }
footer .footer-company-name { font-size: 1em; }
footer .footer-links { font-size: 1em; }
footer .footer-links a { padding: 25px 0 20px; line-height: 1.8; }
}
/*---Scroll to Top button ---------------------------*/ .cd-top {
display: inline-block; height: 40px; width: 40px; position: fixed; bottom: 40px; right: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* image replacement properties */ overflow: hidden; text-indent: 100%; white-space: nowrap; background: rgba(35, 181, 147, 0.8) url(/wiki/images/b/bd/Waterloo_cd-top-arrow.png) no-repeat center 50%; visibility: hidden; opacity: 0; -webkit-transition: opacity .3s 0s, visibility 0s .3s; -moz-transition: opacity .3s 0s, visibility 0s .3s; transition: opacity .3s 0s, visibility 0s .3s;
} .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
-webkit-transition: opacity .3s 0s, visibility 0s 0s; -moz-transition: opacity .3s 0s, visibility 0s 0s; transition: opacity .3s 0s, visibility 0s 0s;
} .cd-top.cd-is-visible {
/* the button becomes visible */ visibility: visible; opacity: 1;
} .cd-top.cd-fade-out {
/* if the user keeps scrolling down, the button is out of focus and becomes less visible */ opacity: .5;
} .no-touch .cd-top:hover {
background-color: rgb(35, 181, 147); opacity: 1;
}
/*---Splash images & team page --------------------------------------------------------------------*/ .cover {
position: relative; height: 20em; background: rgba(0, 0, 0, 0.5); width: 100% color: #fff; margin: auto; text-align: center; line-height: 20em;
}
.cover::after {
content : ""; display: block; position: absolute; top: 0; left: 0; background-size: cover; width: 100%; height: 100%; z-index: -1; opacity: 0.8;
}
.cover#lab::after {
background-image: url('/wiki/images/c/c9/Waterloo_lab_cover.JPG');
} .cover#math::after {
background-image: url('/wiki/images/e/e8/Waterloo_math_cover.jpg');
} .cover#policy::after {
background-image: url('/wiki/images/2/22/Waterloo_policy_cover.jpg');
} .cover#advisors::after {
background-image: url('/wiki/images/c/cc/Waterloo_advisors_cover.jpg');
} .cover#leads::after {
background-image: url('/wiki/images/1/1e/Waterloo_cover_leads.jpg');
}
a.cover-text, a.cover-text:hover, a.cover-text:visited, a.cover-text:active {
color: #ccc; font-size: 2em; text-shadow: 0 0 10px #000; text-decoration: none;
} .cover-desc {
color: #999; margin-top: -9em; text-shadow: 0 0 10px #000; text-decoration: none;
} .accordion-inner {
margin-top: 10px; margin-left: auto; margin-right: auto; width: 50%;
} .accordion-inner dl dt {
min-width: 150px; width: 30%; display: inline-block; text-align: center; vertical-align: middle;
} .accordion-inner dl dd {
width: 60%; display: inline-block; vertical-align: middle;
} .accordion-inner dl dt img {
max-width: 100px; display: inline-block; border-radius: 50%; -webkit-box-shadow: 0 0 20px 0 rgba(66,66,66,1); -moz-box-shadow: 0 0 20px 0 rgba(66,66,66,1); -ms-box-shadow: 0 0 20px 0 rgba(66,66,66,1); box-shadow: 0 0 20px 0 rgba(66,66,66,1);
}
/*---Sponsor images-------------------------------------------------------------------------------*/
ul.sponsors {
list-style: none; width: 100%; margin-left: auto; margin-right: auto;
} ul.sponsors li a {
margin-left: auto; margin-right: auto;
} .glyphicon {
font-size: medium;
}
/*---Attributions---------------------------------------------------------------------------------*/
dl.attributions dt {
font-weight: 100;
}