hacks-guide-minimal-mistake.../_assets/css/_site.scss

73 lines
1.3 KiB
SCSS
Raw Normal View History

2015-01-20 21:25:57 +01:00
/* ==========================================================================
Site wide styles
========================================================================== */
2015-04-17 12:43:36 +02:00
/*
2015-01-20 21:25:57 +01:00
Selection
========================================================================== */
2015-04-17 12:43:36 +02:00
::-moz-selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
}
::selection {
background-color: lighten($basecolor, 65%);
color: $basecolor;
text-shadow: none;
2013-05-24 16:25:31 +02:00
}
2015-04-17 12:43:36 +02:00
/*
2015-01-20 21:25:57 +01:00
Global classes
========================================================================== */
/* Capitalize */
2013-05-24 16:25:31 +02:00
.all-caps {
text-transform: uppercase;
}
2015-01-20 21:25:57 +01:00
/* Float left */
2013-05-24 16:25:31 +02:00
.pull-left {
float: left;
}
2015-01-20 21:25:57 +01:00
/* Float right */
2013-05-24 16:25:31 +02:00
.pull-right {
float: right;
}
.image-pull-right {
float: right;
margin-top: 0;
2013-05-24 16:25:31 +02:00
}
2015-01-20 21:25:57 +01:00
/* Clearfix */
2013-05-24 16:25:31 +02:00
.clearfix {
*zoom: 1;
&:before,
&:after {
display: table;
content: "";
}
&:after {
clear: both;
}
}
2015-01-20 21:25:57 +01:00
/* Remove bullets and indentation from list */
2013-05-24 16:25:31 +02:00
.unstyled-list {
list-style: none;
margin-left: 0;
padding-left: 0;
li {
list-style-type: none;
}
}
2015-04-17 12:43:36 +02:00
/*
2015-01-20 21:25:57 +01:00
Global transition
========================================================================== */
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
2014-07-31 19:09:32 +02:00
@include transition(all .2s ease);
2015-04-17 12:43:36 +02:00
}