blob: 45a530567744f43998abb5b6916ca3a213f84ec8 (
plain)
- @import 'h5bp/helpers';
- @import 'compass/css3';
- .topbar {
- background-color: #336699;
- }
- //.topbar ul {
- // display: block;
- // margin: 3em 0;
- //}
- .topbar ul {
- position: relative;
- top: 1.5em;
- }
- .topbar ul li a,
- .topbar ul li .selflink {
- @include inline-block;
- width: 12em;
- line-height: 4em;
- background-color: #6699cc;
- color: white;
- &:hover {
- background-color: lightblue;
- color: #336699;
- }
- }
- // FIXME: change topbar inline-block-list padding instead
- .topbar ul li {
- padding-left: .2em;
- padding-right: .2em;
- }
- #content {
- width: 96%;
- max-width: none;
- margin: 2%;
- }
- .inlinepage {
- border: 0;
- padding: 0;
- margin: 0 0 1em 0;
- background-color: none;
- }
- .inlinepage .header a {
- font-weight: normal;
- color: white;
- background-color: lightblue;
- display: block;
- padding: 0.5em;
- }
- //set to annull style.css
- .inlinecontent {
- margin-top: 0;
- }
- .inlinecontent p {
- margin-bottom: 0;
- margin-top: 0;
- }
- .inlinefooter,
- .inlineheader .author,
- .sidebar,
- .farbar {
- @include h5bp-hidden;
- }
- //Responsive design
- @media screen and (max-width: 480px) {
- #content {
- width: 100%;
- margin: 0;
- }
- .columns {
- @include column-count(1);
- }
- .inlinepage {
- margin: 0;
- }
- }
- @media screen and (min-width: 480px) and (max-width: 700px) {
- .columns {
- @include column-count(2);
- }
- }
- @media screen and (min-width: 701px) {
- .columns {
- @include column-count(3);
- }
- }
|