Difference between revisions of "Template:BABS UNSW Australia"

 
(49 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
+
 
    display:none;}
+
#top-section {
+
    border: none;
+
    height: 0px;}
+
#content {
+
    border: none;
+
    padding: 0px 0px 0px 0px;
+
}
+
#globalWrapper {
+
    font-size: 100%;
+
}
+
  
 
#content {
 
#content {
    width:100%;
 
  
/*
+
  padding-bottom:140px !important;
  * Globals
+
*/
+
  
/* Links */
 
a,
 
a:focus,
 
a:hover {
 
  color: #fff;
 
 
}
 
}
 
+
.page-header {
/* Custom default button */
+
  padding-bottom:0px !important;
.btn-default,
+
.btn-default:hover,
+
.btn-default:focus {
+
  color: #333;
+
  text-shadow: none; /* Prevent inheritence from `body` */
+
  background-color: #fff;
+
  border: 1px solid #fff;
+
 
}
 
}
  
 +
.page-header img {
 +
  max-height:60% !important;
  
/*
+
}
* Base structure
+
*/
+
  
html,
 
 
body {
 
body {
  height: 100%;
+
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  background-color: #333;
+
    font-size: 14px;
}
+
    line-height: 1.42857143;
body {
+
    color: #333;
  color: #fff;
+
    background-color: #fff;
  text-align: center;
+
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
+
 
}
 
}
  
/* Extra markup and styles for table-esque vertical and horizontal centering */
+
.page-header {
.site-wrapper {
+
 
  display: table;
+
  margin-top: 50px !important;
  width: 100%;
+
 
  height: 100%; /* For at least Firefox */
+
  min-height: 100%;
+
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
+
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
+
}
+
.site-wrapper-inner {
+
  display: table-cell;
+
  vertical-align: top;
+
}
+
.cover-container {
+
  margin-right: auto;
+
  margin-left: auto;
+
 
}
 
}
  
/* Padding for spacing */
+
.col-xs-9 {
.inner {
+
    margin-bottom: 40px;
  padding: 30px;
+
 
}
 
}
 +
/* Fix top panel Bootstrap issues. Patch by iGEM Stockholm 2015. Include this stylesheet in your header, after Bootstrap, to restore the original style to the top menu.*/
 +
top_menu_14, #top_menu_under, #top_menu_inside {
 +
box-sizing: initial;
 +
line-height: initial;
 +
}
 +
top_menu_inside {
 +
margin-left: 20px;
 +
}
 +
bars_box, #menu_BarsBox, h5 {
 +
-webkit-box-sizing: initial; box-sizing: initial; line-height: normal;
 +
}
 +
menu_BarsBox > h5 {
 +
color: rgb(0, 0, 0);
 +
font-family: arial, sans-serif;
 +
font-size: 12px;
 +
line-height: normal;
 +
margin-bottom: 0px;
 +
margin-top: 0px;
 +
font-weight: bold;
 +
}
 +
.accordion-content li {
 +
line-height: 18px;
 +
-webkit-box-sizing: initial;
 +
box-sizing: initial;
 +
}
 +
.accordion-header, .active-header, .accordion-header_noaction {
 +
-webkit-box-sizing: initial;
 +
box-sizing: initial;
 +
color: rgb(101, 100, 89);
 +
font-family: Arial, Gadget, sans-serif;
 +
font-size: 13.92px; font-weight: bold;
 +
line-height:
 +
normal;
 +
margin: 0;
 +
}
  
  
/*
+
#contentsub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
* Header
+
  display:none;
*/
+
}
.masthead-brand {
+
#top-section {
  margin-top: 10px;
+
  border:none;
  margin-bottom: 10px;
+
  height:0px;
 
}
 
}
  
.masthead-nav > li {
+
#content {
  display: inline-block;
+
  border:none;
 +
  padding: 0px 0px 0px 0px;
 
}
 
}
.masthead-nav > li + li {
+
#globalWrapper {
  margin-left: 20px;
+
  font-size: 100%;
 
}
 
}
.masthead-nav > li > a {
+
#content {
  padding-right: 0;
+
  width:100%;
  padding-left: 0;
+
  font-size: 16px;
+
  font-weight: bold;
+
  color: #fff; /* IE8 proofing */
+
  color: rgba(255,255,255,.75);
+
  border-bottom: 2px solid transparent;
+
}
+
.masthead-nav > li > a:hover,
+
.masthead-nav > li > a:focus {
+
  background-color: transparent;
+
  border-bottom-color: #a9a9a9;
+
  border-bottom-color: rgba(255,255,255,.25);
+
}
+
.masthead-nav > .active > a,
+
.masthead-nav > .active > a:hover,
+
.masthead-nav > .active > a:focus {
+
  color: #fff;
+
  border-bottom-color: #fff;
+
 
}
 
}
  
@media (min-width: 768px) {
+
figcaption {
  .masthead-brand {
+
    margin: 10px 0 0 0;
     float: left;
+
    font-variant: normal;
  }
+
     font-family: Arial;
  .masthead-nav {
+
    font-weight: lighter;
     float: right;
+
     color: #bb3333;
  }
+
    text-align:center;
 
}
 
}
  
 
+
img {
/*
+
max-width:100%;
* Cover
+
*/
+
 
+
.cover {
+
  padding: 0 20px;
+
}
+
.cover .btn-lg {
+
  padding: 10px 20px;
+
  font-weight: bold;
+
 
}
 
}
  
 +
body {
  
/*
+
        background-color: transparent;
* Footer
+
        top: 50px;
*/
+
  
.mastfoot {
 
  color: #999; /* IE8 proofing */
 
  color: rgba(255,255,255,.5);
 
 
}
 
}
  
 
/*
 
* Affix and center
 
*/
 
 
@media (min-width: 768px) {
 
  /* Pull out the header and footer */
 
  .masthead {
 
    position: fixed;
 
    top: 0;
 
  }
 
  .mastfoot {
 
    position: fixed;
 
    bottom: 0;
 
  }
 
  /* Start the vertical centering */
 
  .site-wrapper-inner {
 
    vertical-align: middle;
 
  }
 
  /* Handle the widths */
 
  .masthead,
 
  .mastfoot,
 
  .cover-container {
 
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
 
  }
 
}
 
 
@media (min-width: 992px) {
 
  .masthead,
 
  .mastfoot,
 
  .cover-container {
 
    width: 700px;
 
  }
 
}
 
 
</style>
 
</style>
 
+
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/babspagecss&action=raw&ctype=text/css" />
 
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/Bootstrap-CSS&action=raw&ctype=text/css" />
 
<link rel="stylesheet" type="text/css" href="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/Bootstrap-CSS&action=raw&ctype=text/css" />
 
<!-- JS -->
 
<!-- JS -->
<script type="text/javascript" src="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/Bootstrap-JS&action=raw&ctype=text/css" type="text/javascript"></script>
+
<script type="text/javascript" src="https://2015.igem.org/wiki/index.php?title=Template:BABS_UNSW_Australia/Bootstrap-JS&action=raw&ctype=text/javascript" type="text/javascript"></script>
 +
 
 
</html>
 
</html>

Latest revision as of 14:40, 17 September 2015