123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- /*First, we start off with specifying what parts of the DOM we want hidden*/
- #leftbar, #rightbar, #footbar {
- display: table-cell;
- vertical-align:top;
- }
- /*Now, on to positioning of the elements*/
- body {
- position: relative;
- margin: 0;
- width: 100%;
- min-height: 100vh;
- max-height: 100%;
- }
- #topkek {
- display: flex;
- position: fixed;
- z-index: 2;
- top: 0;
- width: 100%;
- height: 2rem;
- }
- .toplel {
- display: table-cell;
- }
- #lefttitle {
- flex 1 0 33%;
- }
- #midtitle {
- flex-grow: 1;
- }
- #righttitle {
- flex 1 0 33%;
- }
- #righttitle a, #configbar a {
- display: inline-block;
- }
- #menubutton {
- display: none;
- min-width: 2%;
- max-width: 33%;
- padding-right: .5em;
- }
- #littlemenu {
- display: none;
- position: fixed;
- z-index: 3;
- top: 1.5em;
- right: 0px;
- padding: 0px .5em .5em .5em;
- }
- #littlemenu a {
- display: block;
- }
- #kontainer {
- display: table;
- width: 100%;
- padding-bottom: 2.5em;
- }
- .kontable {
- display "table";
- width: 100%;
- }
- .kontrow {
- display: table-row;
- }
- .kontained {
- display: table-cell;
- }
- #leftbar {
- width: 6em;
- padding-right: .5em;
- padding-top: 1rem;
- }
- #kontent {
- padding: 3em .5em .5em .5em;
- min-height: 50%;
- max-width: 100%;
- margin-top: 0px;
- }
- #rightbar {
- width: 6em;
- padding-left: .5em;
- }
- #footbar {
- position: absolute;
- bottom: 0;
- width: 100%;
- height: 1.5em;
- }
- #stories {
- padding: 0px .5em .5em .5em;
- width: 80%;
- display: table-cell;
- }
- /*Some CSS rules below that I actually want to load on both print and screen views*/
- blockquote {
- font-style: italic;
- }
- .inline {
- display: inline;
- }
- .ib {
- display:inline-block;
- }
- .responsive { /*Close enough to 16:9*/
- max-width: 45rem;
- max-height: 26rem;
- width:100%;
- height:100%;
- }
- iframe.responsive {
- width: 45rem;
- height: 26rem;
- }
- .responsive-text {
- font-family: serif;
- font-size: larger;
- max-width: 45rem;
- }
- .responsive-img {
- max-width: 45rem;
- width:100%
- }
- .square {
- width: 20rem;
- height: 20rem;
- }
- @media(max-width: 45rem) {
- iframe.responsive {
- width: 100%;
- height: 10rem;
- }
- }
|