Line 1: | Line 1: | ||
− | + | <style> | |
/*---Properties-----------------------------------------------------------------------------------*/ | /*---Properties-----------------------------------------------------------------------------------*/ | ||
html, body { | html, body { | ||
Line 904: | Line 904: | ||
width: 50vw; | width: 50vw; | ||
} | } | ||
+ | </style> |
Revision as of 22:40, 5 October 2016
<style> /*---Properties-----------------------------------------------------------------------------------*/ html, body {
margin: 0 auto; padding: 0; padding-top: 44px; width: 100%; height: 100%; background-color: #F0EAD6; font-family: 'Ubuntu', sans-serif;
}
html {
position: relative; min-height: 100%;
}
a, a:link, a:visited {
color: #23b593;
} body{ } /*---General Colour Classes----------------------------------------------------------------------*/ .orangetext {
color: #fbb67a;
} .bluetext {
color: #79bcc7;
} .greentext {
color: #92cc78;
} .charcoaltext {
color: #373b40;
} .tealtext {
color: #23b593;
} .whitetext {
color: #fff;
} .no-border {
border: 0px;
} .no-margin {
margin: 0;
} .no-padding {
padding: 0;
} h1 {
border: 0px;
}
/*---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;
}
- bodyContent a[href ^="https://"] {
padding-right: 0;
}
/*---Changes to Default Bootstrap----------------------------------------------------------------------*/
div.jumbotron {
/*background-color: #373b40;*/ color: #fff;
} .vertical-align {
display: flex; align-items: center;
} /* Setting max width of container to 970 px */ @media (min-width: 1200px) {
div.container { width: 970px; }
} .main-container {
padding-top: 20px; padding-bottom: 20px;
} .main-container .panel-default .panel-heading {
background-color: #373b40; color: #fff;
} .main-container .panel-default .panel-heading a:hover {
color: #23b593;
} @media (max-width: 768px) {
#bodyContent .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #fff; } #bodyContent .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, #bodyContent .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #23b593; }
} .main-container .table {
font-size: 0.8em; margin: auto;
} /*Change the styling of table headers */ .main-container th {
text-align: center !important;
}
/*---Div Properties-------------------------------------------------------------------------------*/ /* Creates a container that will wrap all of the content inside your wiki pages. */
- mainContainer {
position: relative; width: 1000px; margin: 0 auto; margin-top: 50px; overflow: hidden; background-color: #fff;
}
/* Creates the container for the content */
- contentContainer {
padding: 0; width: 100%; max-width: 768px; margin: 0 auto; background-color: #fff;
}
/* Styling links on hover- links are different inside the menu */
- contentContainer a:hover {
color: #59bf92;
}
/*Clear class for all the pages, adds spacing too*/ .clear{
clear:both; height: 10px;
}
/* highlight box for special messages, prevHighlightBox for template content that needs to be removed */ .highlightBox, .prevHighlightBox {
width: 500px; max-width: 85%; 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); -o-box-shadow: 0 0 5px 0 rgba(66,66,66,1); box-shadow: 0 0 5px 0 rgba(66,66,66,1);
} .prevHighlightBox {
background-color: #ef9a9a; width: 100%;
}
figure {
width: 100%; margin: 0 auto; display: block; text-align: center;
} img {
width: 90%; margin: auto; padding: 0.2em; display: inline-block;
} figcaption {
font-size: 0.9em; font-style: italic;
} figcaption.model-caption {
color: #92cc78; font-style: normal; font-size: 1.2em; text-transform: uppercase;
}
/*---Requirements Page----------------------------------------------------------------------------*/
.requirements-text {
font-size: 18px;
}
.elaboration-text {
font-size: 14px; color: #0E3A5A
}
/*Stuff left over from last year?*/
- medals-container {
margin: 0px;
} h1.medals, h2.medals {
border-bottom: 0px;
} h1.medals {
text-align: center; color: #23b593 !important;
}
/*---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); -o-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; -webkit-transition: all 1s !important; -moz-transition: all 1s !important; -ms-transition: all 1s !important; -o-transition: all 1s !important; transition: all 1s !important;
}
nav a {
font-size: 1.2em; padding-right: 1em;
} nav img {
-webkit-transition: all 1s !important; -moz-transition: all 1s !important; -ms-transition: all 1s !important; -o-transition: all 1s !important; 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; height: 1em; font-size: 0.8em; text-align: center; opacity: 0.9;
} 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; margin-left: 0;
} ul.inner-page-links a.scroll-link {
padding: 0.5em 1em !important;
}
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; -o-box-shadow: inset 0 10px 15px -10px #424242; box-shadow: inset 0 10px 15px -10px #424242; background: #2a2e33; line-height: 2em; color: #fff; box-sizing: border-box; text-align: center;
}
footer .footer-company-motto {
color: #8d9093; font-size: 0.9em; margin: 0;
}
footer .footer-company-name {
color: #8d9093; font-size: 1.3em; margin: 0;
} footer .footer-links {
list-style: none; padding: 1.5em 0 0; margin: 0;
}
footer p.footer-links a {
display:inline-block; text-decoration: none; padding-right: 1.2em !important; color: #ffffff; font-size: 0.8em;
}
footer p.footer-links a:hover {
color: #23b593;
}
/* If you don't want the footer to be responsive, remove these media queries */
@media (max-width: 1000px) {
footer .footer-company-motto .footer-company-name .footer-links { font-size: 1.2em; } footer .footer-links a { padding: 25px 0 20px; line-height: 1.8; }
}
/*---Toggle Button for collapsible groups-------------*/ .toggle-arrow {
display: inline-block; height: 25px; width: 25px; /* 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 scroll center; 50% -moz-transform: scaleY(1); -o-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1);
} .collapsed .toggle-arrow {
-moz-transform: scaleY(-1); -o-transform: scaleY(-1); -webkit-transform: scaleY(-1); transform: scaleY(-1); filter: FlipV; -ms-filter: "FlipV";
}
/* disappear on small screen sizes */
/*---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; -ms-transition: opacity .3s 0s, visibility 0s .3s; -o-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 .3s; -moz-transition: opacity .3s 0s, visibility 0s .3s; -ms-transition: opacity .3s 0s, visibility 0s .3s; -o-transition: opacity .3s 0s, visibility 0s .3s; transition: opacity .3s 0s, visibility 0s .3s;
} .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;
}
/* tablet */ @media only screen and (min-device-width: 768px) {
.cd-top { height: 60px; width: 60px; background: rgba(35, 181, 147, 0.8) url(/wiki/images/b/bd/Waterloo_cd-top-arrow.png) no-repeat center 50%; }
} /* phone */ @media only screen and (max-device-width: 768px) {
.cd-top { height: 100px; width: 100px; background: rgba(35, 181, 147, 0.8) url(/wiki/images/b/bd/Waterloo_cd-top-arrow.png) no-repeat center 50%; }
}
/*---Splash images & team page --------------------------------------------------------------------*/ .cover, .small-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');
}
.jumbotron.landing-links {
width: 100%; background-color: inherit; margin-bottom: 0; padding-bottom: 0;
} .jumbotron.landing-links div.container {
width: 100%;
} .small-cover {
display: inline-block; float: left; color: #ccc; font-weight: 500; text-align: center; line-height: 200px; height: 200px; text-shadow: 0 0 10px #000;
} .small-cover a {
display: block; color: #ccc;
} .small-cover a:hover {
color: #23b593;
} .small-cover#desc {
background: #555 url('/wiki/images/2/20/Waterloo_cover_desc.png') no-repeat center center; background-size: cover;
} .small-cover#medal {
background: #555 url('/wiki/images/b/b5/Waterloo_cover_trophy.png') no-repeat center center; background-size: cover;
} .small-cover#team {
background: #555 url('/wiki/images/8/84/Waterloo_cover_team.png') no-repeat center center; background-size: cover;
} .small-cover#att {
background: #555 url('/wiki/images/7/72/Waterloo_cover_att.jpg') no-repeat center center; background-size: cover;
} .small-cover#collab {
background: #555 url('/wiki/images/4/45/Waterloo_cover_collab.jpg') no-repeat center center; background-size: cover;
} .small-cover#lab {
background: #555 url('/wiki/images/5/5e/Waterloo_smallcover_lab.jpg') no-repeat center center; background-size: cover;
} .small-cover#math {
background: #555 url('/wiki/images/c/c9/Waterloo_smallcover_math.jpg') no-repeat center center; background-size: cover;
} .small-cover#policy {
background: #555 url('/wiki/images/a/a7/Waterloo_smallcover_policy.jpg') no-repeat center center; background-size: cover;
}
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: 800px; max-width: 95%;
} .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); -o-box-shadow: 0 0 20px 0 rgba(66,66,66,1); box-shadow: 0 0 20px 0 rgba(66,66,66,1);
}
figure {
position: relative;
} .img-att {
position: absolute; bottom: 10px; right: 10px; height: 30px; width: 30px; line-height: 30px; border-radius: 40px; display: inline-block; background-color: #989; color: #261a28; text-align: center; font-family: georgia, serif; font-style: italic;
} .img-att .img-att-bubble {
position: absolute; right: 10px; bottom: 10px; width: 200px; display: none; background: rgba(255, 255, 255, 0.8); border-radius: 2px; color: #000; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-weight: 300; text-align: left; padding: 1em; font-size: 14px;
-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); -o-box-shadow: 0 0 5px 0 rgba(66,66,66,1); box-shadow: 0 0 5px 0 rgba(66,66,66,1);
} .img-att .img-att-bubble li {
list-style: none; line-height: normal; margin: 5px 0;
} .img-att:hover .img-att-bubble, .img-att-bubble:hover {
display: block;
}
/*---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-size: 1.5em; font-style: normal; font-weight: normal; margin: 0.67em 0;
}
/*---Quote Styling--------------------------------------------------------------------------------*/
q:before, blockquote:before {
content: "\201C" !important; font-family: serif !important; font-size: 5em; font-style: normal; line-height: normal; z-index: -999;
} q, blockquote {
display: block; font-size: 1.2em; font-weight: lighter; font-style: italic; font-family: inherit; padding: 0 0 0 120px; border-left: none !important;
} blockquote p {
text-indent: 3.5em; margin-top: -4em;
} blockquote p.source {
text-indent: 3.5em; margin-top: 0px; font-size: 0.8em;
}
/*---Description links----------------------------------------------------------------------------*/ .desc-links a {
padding: 0 1.5em;
}
/*---Human practices page--------------------------------------------------------------------------*/
.jumbotron.hp-landing {
background-color: inherit; color: #000;
} .jumbotron.hp-landing dl {
text-align: center;
} .jumbotron.hp-landing dt img {
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); -o-box-shadow: 0 0 20px 0 rgba(66,66,66,1); box-shadow: 0 0 20px 0 rgba(66,66,66,1);
}
/*---Example page----------------------------------------------------------------------------------*/
table.split-col {
margin: auto; width: 95%;
} table.split-col td {
width: 50%;
} pre code {
color: #c7254e;
} .landing{
font-family: 'Baloo Bhaina', cursive; background-color: #404855; height: 80vh; padding-top: 5vh;
}
#circle1 { position: relative; right: 400px; width: 50px; height: 50px; -webkit-border-radius: 23px; -moz-border-radius: 23px; border-radius: 23px; background: #F9EC69; } #circle2 { position: relative; right: 450px; width: 50px; height: 49px; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; background: #F9EC69; } #circle3 { position: relative; right: 290px; width: 51px; height: 50px; -webkit-border-radius: 26px; -moz-border-radius: 26px; border-radius: 26px; background: #F9EC69; } #circle4 { position: relative; left: 519px; width: 51px; height: 50px; -webkit-border-radius: 26px; -moz-border-radius: 26px; border-radius: 26px; background: #F9EC69; } #circle5 { position: relative; left: 300px; width: 51px; height: 50px; -webkit-border-radius: 26px; -moz-border-radius: 26px; border-radius: 26px; background: #F9EC69; } #circle6 { position: relative; left: 400px; width: 51px; height: 50px; -webkit-border-radius: 26px; -moz-border-radius: 26px; border-radius: 26px; background: #F9EC69; }
.landing #caption{
position: relative; top: 35px; padding-left: 15px; color: #F5636D; font-size: 64px; font-style: underline;
} .landing .btn-danger{
margin-top: 3vh; transition: ease; transition-duration: 0.4s; border-color: #F5636D; color: white; background-color: #F5636D;
} .landing .btn-danger:hover{
transition: ease; transition-duration: 0.4s; border-color: #F5636D; color: #F5636D; background-color: rgba(0,0,0,0.2);
} .project-logo{
display: flex; flex: column;
}
.jumbotron .project-logo svg{ height: ; }
.wcontent-box{
margin: 7.5vh 12.5vw; box-shadow: 3px 7px 5px #888888; position:relative; height: auto; width: 75vw;
} .wcontent-title{
background-color: #404855; color: #F5636D; font-size: 22px;
/* color: white; */
padding: 15px;
/* border-top-style: solid;
border-top-width: 3px; border-top-color: dodgerblue; */
} .wcontent{
background-color: white; color: #141823; padding: 20px;
}
.wcontent-protocol{
margin: 7.5vh 5vw; box-shadow: 3px 7px 5px #888888; position:relative; height: auto; width: 30vw;
} .initial-bar{
background-color:rgba(27,24,24, 0.4); box-shadow: 0px 2px 3px #2a2e2f; line-height: 40px !important ;
} .navbar{
display: inline-block;
} .navbar-nav > li > a{
color: white; padding-top: 18px; transition-duration: 0.1s; transition-timing-function: linear;
} .initial-bar .navbar-nav > li > a:hover{
background-color: rgba(0,0,0,0); border-top-style: solid; border-top-color: white; padding-top: 15px;
} .initial-bar .navbar-nav > li > a:focus {
background-color: rgba(0,0,0,0); border-top-style: solid; border-top-color: indianred; padding-top: 15px; color:indianred;
} .protocol-page .wcontent-box{
width: 50vw;
} </style>