Skip to content

Instantly share code, notes, and snippets.

@nimitmaru
Created February 12, 2014 20:26
Show Gist options
  • Save nimitmaru/8963852 to your computer and use it in GitHub Desktop.
Save nimitmaru/8963852 to your computer and use it in GitHub Desktop.
@import "normalize";
@import "modern-business";
body {
padding-top: 60px;
}
@mixin clearfix() {
&:after {
content:" ";
display: table;
}
&:after {
clear:both;
}
}
.img-responsive {
width: 100%;
}
.container {
max-width: 1170px;
margin: 0 auto;
/* border: 1px solid red;*/
/* overflow: auto;*/
@include clearfix();
}
.navbar {
height: 60px;
box-sizing: border-box;
padding: 0px 0;
color: #333;
font: normal 14px arial,sans-serif;
a {
color: #ccc;
text-decoration: none;
}
a:hover {
color: yellow;
text-decoration: underline;
}
}
.row {
@include clearfix();
}
.navbar-inverse {
color: #ccc;
background-color: #333;
}
.navbar-header {
float: left;
padding-top: 15px;
}
.navbar-fixed-top {
position: fixed;
top: 0;
left: 0;
width: 100%;
}
ul.nav {
margin: 0;
list-style-type: none;
float: right;
li {
display: block;
float: left;
height: 60px;
box-sizing: border-box;
padding: 15px 10px;
}
li:hover {
background: #ccc;
color: #000;
a {
color: #000;
}
}
}
$grid-columns: 12;
$gutter-width: .8;
@for $i from 1 through $grid-columns {
.col-lg-#{$i} {
color: #000;
padding: 0 percentage($gutter-width/($grid-columns*2));
width: percentage(($i/$grid-columns)-($gutter-width/$grid-columns));
float:left;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment