Skip to content

Instantly share code, notes, and snippets.

@nimitmaru
Created February 12, 2014 20:58
Show Gist options
  • Save nimitmaru/8964360 to your computer and use it in GitHub Desktop.
Save nimitmaru/8964360 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;
}
}
.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: .1;
@for $i from 1 through $grid-columns {
.col-lg-#{$i}, .col-sm-#{$i} {
color: #000;
padding: 0 percentage($gutter-width/($grid-columns*2));
width: percentage(($i/$grid-columns)-($gutter-width/$grid-columns));
float:left;
}
}
.row {
/* @include clearfix();*/
&:first-child {
padding-left: 0;
}
&:last-child {
padding-right: 0;
}
}
ol.breadcrumb {
background: #eee;
padding: 6px 8px;
border-radius: 3px;
display: block;
overflow: auto;
/* &:last-child:after {
content: " "
}
*/
}
ol.breadcrumb > li {
list-style-type: none;
float: left;
margin-left: 5px;
color: #666;
a {
color: #7AA0D7;
text-decoration: none;
display: inline-block;
}
a:hover {
text-decoration: underline;
}
&:after {
content: " / ";
}
}
form .form-control {
padding: 6px 8px;
color: #333;
border: 1px solid #ccc;
border-radius: 3px;
}
textarea {
width: 95%;
}
input:focus, textarea:focus {
box-shadow: 0px 0px 15px 5px #AEC8E6;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment