Difference between revisions of "Team:BABS UNSW Australia/pseudoknots"

Line 3: Line 3:
 
<html>
 
<html>
 
<style>
 
<style>
 +
html,body,.container
 +
{
 +
    height:100%;
 +
}
 +
.container
 +
{
 +
    display:table;
 +
    width: 100%;
 +
    margin-top: -50px;
 +
    padding-top: 50px;
 +
    -moz-box-sizing: border-box;
 +
    box-sizing: border-box;
 +
}
 +
header
 +
{
 +
    background: green;
 +
    height: 50px;
 +
}
 +
 +
.row
 +
{
 +
    height: 100%;
 +
    display: table-row;
 +
}
 +
.col-md-3.no-float, .col-md-9.no-float {
 +
    float: none; /* thanks baxabbit */
 +
}
 +
.col-md-3
 +
{
 +
    display: table-cell;
 +
    background: pink;
 +
    width: 25%;
 +
}
 +
.col-md-9
 +
{
 +
    display: table-cell;
 +
    background: yellow;
 +
    width: 75%;
 +
}
 +
/* ----------- */
 
.group {
 
.group {
 
     background: yellow;
 
     background: yellow;
Line 159: Line 199:
 
            
 
            
 
<body>
 
<body>
  <nav class="col-xs-3 bs-docs-sidebar">
+
  <nav class="col-xs-3 bs-docs-sidebar no-float">
 
         <ul id="sidebar" class="nav nav-stacked">
 
         <ul id="sidebar" class="nav nav-stacked">
 
             <li>
 
             <li>
Line 176: Line 216:
 
     </div>
 
     </div>
 
</div>
 
</div>
<div class="col-xs-9">
+
<div class="col-xs-9 no-float">
 
<div class="container">
 
<div class="container">
  

Revision as of 05:41, 12 September 2015