2015-03-01 23:00:19 -05:00
|
|
|
/*
|
|
|
|
* Embedded Code
|
|
|
|
*
|
|
|
|
* Style for embedded code examples
|
|
|
|
*/
|
|
|
|
|
2015-02-28 15:06:30 -05:00
|
|
|
.cp_embed_iframe {
|
2015-02-28 11:11:13 -05:00
|
|
|
overflow: hidden;
|
2015-03-05 09:21:56 -05:00
|
|
|
|
|
|
|
@media handheld and (max-width: $phone-breakpoint),
|
|
|
|
screen and (max-device-width: $phone-breakpoint),
|
|
|
|
screen and (max-width: $tablet-breakpoint) {
|
|
|
|
width: 240px !important;
|
|
|
|
}
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Code Snippets
|
|
|
|
*
|
|
|
|
* These Code snippets are transformed by prettify and the code
|
|
|
|
* below represents a custom theme that works with their formatting.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.prettyprint {
|
2015-12-11 21:49:31 -05:00
|
|
|
background: $lightgrey;
|
2015-03-01 23:00:19 -05:00
|
|
|
font-family: $mono-font;
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $darkgrey;
|
2015-12-01 03:02:48 -05:00
|
|
|
width: auto;
|
|
|
|
overflow: auto;
|
2015-03-01 23:00:19 -05:00
|
|
|
position: relative;
|
|
|
|
padding: 0px;
|
2015-12-15 01:43:38 -05:00
|
|
|
font-size: 13px;
|
2015-12-11 21:49:31 -05:00
|
|
|
// font-weight: 600;
|
2015-03-01 23:00:19 -05:00
|
|
|
line-height: 24px;
|
2015-03-02 00:34:32 -05:00
|
|
|
margin-bottom: $unit * 3;
|
2015-12-11 21:49:31 -05:00
|
|
|
// box-shadow: 0px 2px 5px rgba($coal, .3);
|
2015-12-27 05:54:48 -05:00
|
|
|
border-radius: 4px;
|
2015-03-03 02:14:05 -05:00
|
|
|
padding: ($unit * 2) ($unit * 4);
|
|
|
|
|
2015-03-11 20:56:08 -04:00
|
|
|
&.linenums,
|
|
|
|
&[class^="linenums:"],
|
|
|
|
&[class*=" linenums:"] {
|
2015-03-03 02:14:05 -05:00
|
|
|
padding: 0px;
|
|
|
|
}
|
2015-03-01 23:00:19 -05:00
|
|
|
|
2015-03-05 10:21:58 -05:00
|
|
|
&.is-showcase {
|
|
|
|
border: 4px solid $regal;
|
|
|
|
}
|
|
|
|
|
2015-04-22 09:59:02 -04:00
|
|
|
code {
|
|
|
|
background: none;
|
2015-12-15 01:43:38 -05:00
|
|
|
font-size: 13px;
|
2015-05-19 11:48:26 -04:00
|
|
|
padding: 0px;
|
2015-04-22 09:59:02 -04:00
|
|
|
}
|
|
|
|
|
2015-03-01 23:00:19 -05:00
|
|
|
ol {
|
2015-12-11 21:49:31 -05:00
|
|
|
background: $lightgrey;
|
2015-03-01 23:00:19 -05:00
|
|
|
padding: ($unit * 2) ($unit * 4) ($unit * 2) ($unit * 7);
|
|
|
|
margin: 0px;
|
|
|
|
overflow: auto;
|
2015-12-11 21:49:31 -05:00
|
|
|
// font-weight: 600;
|
2015-12-15 01:43:38 -05:00
|
|
|
font-size: 13px;
|
2015-03-01 23:00:19 -05:00
|
|
|
|
|
|
|
li {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $bismark;
|
2015-03-01 23:00:19 -05:00
|
|
|
background: none;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
line-height: normal;
|
|
|
|
list-style-type: decimal;
|
2015-03-03 01:57:42 -05:00
|
|
|
font-size: 12px;
|
2015-03-01 23:00:19 -05:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
background: none;
|
2015-12-15 01:43:38 -05:00
|
|
|
font-size: 13px;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Screen Colors
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-03-16 00:34:38 -04:00
|
|
|
.pnk,
|
|
|
|
.blk {
|
2015-12-11 21:49:31 -05:00
|
|
|
border-radius: 4px;
|
2015-03-16 00:34:38 -04:00
|
|
|
padding: 2px 4px;
|
|
|
|
}
|
|
|
|
.pnk {
|
2015-12-14 17:42:22 -05:00
|
|
|
background: $fog;
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $darkgrey;
|
2015-03-16 00:34:38 -04:00
|
|
|
}
|
|
|
|
.blk {
|
2015-12-14 17:42:22 -05:00
|
|
|
background: $storm;
|
2015-03-16 00:34:38 -04:00
|
|
|
}
|
|
|
|
.otl {
|
2015-12-11 21:49:31 -05:00
|
|
|
outline: 1px solid rgba(darkgrey, .56);
|
2015-03-16 00:34:38 -04:00
|
|
|
}
|
2015-03-01 23:00:19 -05:00
|
|
|
.kwd {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $pink;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.typ,
|
|
|
|
.tag {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $pink;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.str,
|
|
|
|
.atv {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.atn {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.com {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.lit {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.pun {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $bismark;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.pln {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $darkgrey;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.dec {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Print Colors
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media print {
|
2015-12-11 21:49:31 -05:00
|
|
|
background: $lightgrey;
|
2015-03-05 01:54:30 -05:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
ol {
|
2015-12-11 21:49:31 -05:00
|
|
|
background: $lightgrey;
|
2015-03-05 01:54:30 -05:00
|
|
|
}
|
2015-03-01 23:00:19 -05:00
|
|
|
|
|
|
|
.kwd {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $pink;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.typ,
|
|
|
|
.tag {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $pink;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.str,
|
|
|
|
.atv {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.atn {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.com {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.lit {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.pun {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $bismark;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.pln {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $darkgrey;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
.dec {
|
2015-12-11 21:49:31 -05:00
|
|
|
color: $olive;
|
2015-03-01 23:00:19 -05:00
|
|
|
}
|
|
|
|
}
|
2015-12-11 21:49:31 -05:00
|
|
|
}
|