Update to site

This commit is contained in:
Paulus Schoutsen 2014-12-21 12:17:37 -08:00
parent 3345fa5897
commit b0bdfe2fe9
244 changed files with 11618 additions and 12 deletions

View file

@ -0,0 +1,60 @@
.pull-left {float: left;}
.pull-right {float: right;}
.clearfix {
*zoom: 1;
&::before,
&::after {
display: table;
content: "";
line-height: 0;
}
&::after {
clear: both;
}
}
ul, ol {
&.unstyled {
list-style-type: none;
margin: 0;
}
&.inline {
@extend .unstyled;
list-style-type: none;
> li {display: inline;}
}
&.divided {
@extend .unstyled;
> li {
border-top: 1px solid lighten($site-background, 5%);
border-bottom: 1px solid darken($site-background, 5%);
padding: 0.5em 0;
&:first-child {
border-top: none;
padding-top: 0;
}
&:last-child {border-bottom: none;}
}
}
}
.btn {
@include gradient-vertical;
@include box-shadow(0 0 3px rgba(0, 0, 0, 0.25));
border-radius: 3px;
color: $button-text;
display: inline-block;
padding: 7px 15px;
text-decoration: none;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25);
&:hover {
text-decoration: underline;
}
&:visited {
color: $button-text;
}
}

View file

@ -0,0 +1,76 @@
/*
* A modified version of @kevva solution https://github.com/csswizardry/inuit.css/issues/170#issuecomment-14859371
* Letter spacing hack to remove the necessity of using empty HTML comments between columns.
*
*/
@if $use-gridfix == true {
.grid {
letter-spacing: -1rem;
}
/* Opera hack */
.opera:-o-prefocus,
.grid {
word-spacing: -1rem;
}
.grid__item {
letter-spacing: normal;
word-spacing: normal;
}
}
/*
* An implementation of flexbox which can be applied to the grid items
*
*/
@media only screen and (min-width: $lap-start){
.flex {
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: start;
-moz-box-pack: start;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-box-align: start;
-moz-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
}
.flex__item {
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-box-flex: 0;
-moz-box-flex: 0;
-webkit-flex: 0 1 auto;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
}