123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- // Body Base
- body {
- font-family: $font-family-default;
- letter-spacing: -0.03rem;
- font-weight: 400;
- }
- // Headings
- h1, h2, h3, h4, h5, h6 {
- font-family: $font-family-header;
- font-weight: 400;
- text-rendering: optimizeLegibility;
- line-height: 150%;
- letter-spacing: -0px;
- }
- h1 {
- text-align: center;
- letter-spacing: -3px;
- }
- h2 {
- letter-spacing: -2px;
- }
- h3 {
- letter-spacing: -1px;
- }
- // Blockquote
- blockquote {
- border-left: 10px solid $rule-color;
- p {
- font-size: 1.1rem;
- color: #999;
- }
- cite {
- display: block;
- text-align: right;
- color: #666;
- font-size: 1.2rem;
- }
- }
- // NOTES!!!!
- blockquote {
- position: relative;
- }
- blockquote blockquote {
- position: static;
- }
- blockquote > blockquote > blockquote {
- margin: 0;
- p {
- padding: 15px;
- display: block;
- font-size: 1rem;
- margin-top: 0rem;
- margin-bottom: 0rem;
- color: #666;
- &:first-child {
- &:before {
- position: absolute;
- top: 2px;
- color: $white;
- font-family: FontAwesome;
- content: '';
- left: 10px;
- }
- &:after {
- position: absolute;
- top: 2px;
- color: $white;
- left: 2rem;
- font-weight: bold;
- content: 'Info';
- }
- }
- }
- > p {
- // Yellow
- margin-left: -71px;
- border-top: 30px solid #F0B37E;
- background: #FFF2DB;
- }
- > blockquote > p {
- // Red
- margin-left: -94px;
- border-top: 30px solid rgba(#D9534F, 0.8);
- background: #FAE2E2;
- &:first-child:after {
- content: 'Warning';
- }
- }
- > blockquote > blockquote > p {
- // Blue
- margin-left: -118px;
- border-top: 30px solid #6AB0DE;
- background: #E7F2FA;
- &:first-child:after {
- content: 'Note';
- }
- }
- > blockquote > blockquote > blockquote > p {
- // Green
- margin-left: -142px;
- border-top: 30px solid rgba(#5CB85C, 0.8);
- background: #E6F9E6;
- &:first-child:after {
- content: 'Tip';
- }
- }
- }
- // Inline and Code
- code,
- kbd,
- pre,
- samp {
- font-family: $font-family-mono;
- }
- code {
- background: $code-bg;
- color: darken($code-text,10%);
- padding: .2rem .4rem;
- border-radius: 3px;
- }
- pre {
- padding: 1rem;
- margin: 2rem 0;
- background: $pre-bg;
- border: 1px solid $core-border-color;
- border-radius: 2px;
- line-height: 1.15;
- font-size: 1rem;
- code {
- color: $pre-text;
- background: inherit;
- font-size: 1rem;
- }
- }
- // Extras
- hr {
- border-bottom: 4px solid $rule-color;
- }
- // Page Title
- .page-title {
- margin-top: -25px;
- padding: 25px;
- float: left;
- clear: both;
- background: $core-accent;
- color: $white;
- }
- // Anchor links
- #body {
- a.anchor-link { color: #ccc; }
- a.anchor-link:hover { color: $core-accent; }
- }
- // Scrollbar
- .scrollbar-inner > .scroll-element .scroll-element_track { background-color: rgba($white, 0.3); }
- .scrollbar-inner > .scroll-element .scroll-bar { background-color: lighten(#A1C4E5, 5%); }
- .scrollbar-inner > .scroll-element:hover .scroll-bar { background-color: #ccc; }
- .scrollbar-inner > .scroll-element.scroll-draggable .scroll-bar { background-color: #ccc; }
|