2012-11-27 18:30:26 -05:00
|
|
|
/**
|
|
|
|
* Generic mixins
|
|
|
|
*/
|
|
|
|
@mixin box-shadow($shadow) {
|
2012-11-24 04:57:22 -05:00
|
|
|
-webkit-box-shadow: $shadow;
|
|
|
|
-moz-box-shadow: $shadow;
|
|
|
|
-ms-box-shadow: $shadow;
|
|
|
|
-o-box-shadow: $shadow;
|
|
|
|
box-shadow: $shadow;
|
2012-11-23 11:51:38 -05:00
|
|
|
}
|
|
|
|
|
2012-11-23 11:26:26 -05:00
|
|
|
@mixin border-radius($radius) {
|
|
|
|
-webkit-border-radius: $radius;
|
2012-11-23 11:51:38 -05:00
|
|
|
-moz-border-radius: $radius;
|
|
|
|
-ms-border-radius: $radius;
|
|
|
|
-o-border-radius: $radius;
|
2012-11-23 11:26:26 -05:00
|
|
|
border-radius: $radius;
|
|
|
|
}
|
|
|
|
|
2013-08-08 10:29:31 -04:00
|
|
|
@mixin border-radius-left($radius) {
|
|
|
|
@include border-radius($radius 0 0 $radius)
|
|
|
|
}
|
|
|
|
|
2012-11-24 04:57:22 -05:00
|
|
|
@mixin linear-gradient($from, $to) {
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from($from), to($to));
|
|
|
|
background-image: -webkit-linear-gradient($from, $to);
|
|
|
|
background-image: -moz-linear-gradient($from, $to);
|
2013-11-02 18:19:35 -04:00
|
|
|
background-image: -ms-linear-gradient($from, $to);
|
2012-11-24 04:57:22 -05:00
|
|
|
background-image: -o-linear-gradient($from, $to);
|
|
|
|
}
|
|
|
|
|
2013-02-22 11:50:17 -05:00
|
|
|
@mixin transition($transition) {
|
|
|
|
-webkit-transition: $transition;
|
|
|
|
-moz-transition: $transition;
|
|
|
|
-ms-transition: $transition;
|
|
|
|
-o-transition: $transition;
|
|
|
|
transition: $transition;
|
|
|
|
}
|
|
|
|
|
2012-11-27 18:30:26 -05:00
|
|
|
/**
|
|
|
|
* Prefilled mixins
|
|
|
|
* Mixins with fixed values
|
|
|
|
*/
|
2012-11-23 11:26:26 -05:00
|
|
|
@mixin bg-light-gray-gradient {
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #f1f1f1;
|
2012-11-23 11:26:26 -05:00
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1));
|
|
|
|
background-image: -webkit-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
|
|
|
background-image: -moz-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
2013-11-02 18:19:35 -04:00
|
|
|
background-image: -ms-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
2012-11-23 11:26:26 -05:00
|
|
|
background-image: -o-linear-gradient(#f5f5f5 6.6%, #e1e1e1);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin bg-gray-gradient {
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #eee;
|
2012-11-23 11:26:26 -05:00
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
|
|
|
|
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
|
2013-11-02 18:19:35 -04:00
|
|
|
background-image: -ms-linear-gradient(#eee 6.6%, #dfdfdf);
|
2012-11-23 11:26:26 -05:00
|
|
|
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin bg-dark-gray-gradient {
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #eee;
|
2012-11-23 11:26:26 -05:00
|
|
|
background-image: -webkit-linear-gradient(#e9e9e9, #d7d7d7);
|
|
|
|
background-image: -moz-linear-gradient(#e9e9e9, #d7d7d7);
|
2013-11-02 18:19:35 -04:00
|
|
|
background-image: -ms-linear-gradient(#e9e9e9, #d7d7d7);
|
2012-11-23 11:26:26 -05:00
|
|
|
background-image: -o-linear-gradient(#e9e9e9, #d7d7d7);
|
|
|
|
}
|
2012-11-27 18:30:26 -05:00
|
|
|
|
|
|
|
@mixin shade {
|
|
|
|
@include box-shadow(0 0 3px #ddd);
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin solid-shade {
|
|
|
|
@include box-shadow(0 0 0 3px #f1f1f1);
|
2012-12-12 05:30:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin header-font {
|
|
|
|
color: $style_color;
|
|
|
|
text-shadow: 0 1px 1px #FFF;
|
2013-07-13 12:39:49 -04:00
|
|
|
font-size: 16px;
|
2013-12-30 18:12:02 -05:00
|
|
|
line-height: 44px;
|
2012-12-12 05:30:19 -05:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
2013-03-04 14:34:26 -05:00
|
|
|
|
|
|
|
@mixin md-typography {
|
2013-12-30 20:15:58 -05:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2013-07-29 14:24:38 -04:00
|
|
|
*:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2013-03-04 14:34:26 -05:00
|
|
|
code { padding: 0 4px; }
|
2013-11-14 13:14:07 -05:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-top: 45px;
|
|
|
|
font-size: 2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
margin-top: 40px;
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 35px;
|
2014-01-31 11:46:52 -05:00
|
|
|
font-size: 1.5em;
|
2013-11-14 13:14:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 30px;
|
2014-01-31 11:46:52 -05:00
|
|
|
font-size: 1.2em;
|
2013-11-14 13:14:07 -05:00
|
|
|
}
|
2013-08-26 06:50:13 -04:00
|
|
|
|
2014-02-04 02:48:33 -05:00
|
|
|
// Larger 30px left margin is required for the header link icon.
|
|
|
|
// Use on all markdown including those without header links for uniformity.
|
|
|
|
margin: 20px 20px 20px 30px;
|
|
|
|
|
2013-08-26 06:50:13 -04:00
|
|
|
blockquote p {
|
|
|
|
color: #888;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2013-09-24 05:08:28 -04:00
|
|
|
|
|
|
|
table {
|
|
|
|
@extend .table;
|
|
|
|
@extend .table-bordered;
|
|
|
|
th {
|
|
|
|
background: #EEE;
|
|
|
|
}
|
|
|
|
}
|
2013-11-14 13:14:07 -05:00
|
|
|
|
2014-01-27 11:18:18 -05:00
|
|
|
p > code {
|
2013-11-14 13:14:07 -05:00
|
|
|
font-size: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2013-03-04 14:34:26 -05:00
|
|
|
}
|
2013-07-13 03:13:36 -04:00
|
|
|
|
|
|
|
@mixin page-title {
|
2013-12-29 11:18:36 -05:00
|
|
|
color: #333;
|
2013-07-13 03:13:36 -04:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|