jekyll-lenciel-theme 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/home.html +22 -0
- data/_sass/_base.scss +5 -0
- data/_sass/_partials.scss +8 -0
- data/_sass/base/_layout.scss +192 -0
- data/_sass/base/_solarized.scss +46 -0
- data/_sass/base/_theme.scss +86 -0
- data/_sass/base/_typography.scss +162 -0
- data/_sass/base/_utilities.scss +28 -0
- data/_sass/custom/_article.scss +88 -0
- data/_sass/custom/_background.scss +3 -0
- data/_sass/custom/_colors.scss +48 -0
- data/_sass/custom/_fonts.scss +16 -0
- data/_sass/custom/_footer.scss +68 -0
- data/_sass/custom/_footnotes.scss +4 -0
- data/_sass/custom/_header.scss +11 -0
- data/_sass/custom/_icomoon.scss +204 -0
- data/_sass/custom/_layout.scss +21 -0
- data/_sass/custom/_navigation.scss +50 -0
- data/_sass/custom/_styles.scss +81 -0
- data/_sass/custom/_tablestyle.scss +37 -0
- data/_sass/partials/_archive.scss +72 -0
- data/_sass/partials/_blog.scss +157 -0
- data/_sass/partials/_footer.scss +19 -0
- data/_sass/partials/_header.scss +18 -0
- data/_sass/partials/_navigation.scss +137 -0
- data/_sass/partials/_sharing.scss +8 -0
- data/_sass/partials/_sidebar.scss +5 -0
- data/_sass/partials/_syntax.scss +278 -0
- data/_sass/partials/sidebar/_base.scss +106 -0
- data/_sass/partials/sidebar/_delicious.scss +4 -0
- data/_sass/partials/sidebar/_googleplus.scss +26 -0
- data/_sass/partials/sidebar/_pinboard.scss +12 -0
- data/_sass/partials/sidebar/_twitter.scss +34 -0
- data/_sass/screen.scss +10 -0
- data/blog/archives/index.html +18 -0
- data/fonts/0XxGQsSc1g4rdRdjJKZrNAzyDMXhdD8sAj6OAJTFsBI.woff2 +0 -0
- data/fonts/7dSh6BcuqDLzS2qAASIeuoX0hVgzZQUfRDuZrPvH3D8.woff2 +0 -0
- data/fonts/BJVWev7_auVaQ__OU8Qih1KPGs1ZzpMvnHX-7fPOuAc.woff2 +0 -0
- data/fonts/CWlc_g68BGYDSGdpJvpktgLUuEpTyoUstqEm5AMlJo4.woff2 +0 -0
- data/fonts/DVKQJxMmC9WF_oplMzlQqYX0hVgzZQUfRDuZrPvH3D8.woff2 +0 -0
- data/fonts/GpWpM_6S4VQLPNAQ3iWvVYX0hVgzZQUfRDuZrPvH3D8.woff2 +0 -0
- data/fonts/IcoMoon.eot +0 -0
- data/fonts/IcoMoon.svg +69 -0
- data/fonts/IcoMoon.ttf +0 -0
- data/fonts/IcoMoon.woff +0 -0
- data/fonts/PIPMHY90P7jtyjpXuZ2cLJBw1xU1rKptJj_0jans920.woff2 +0 -0
- data/fonts/PTSans-Bold.woff +0 -0
- data/fonts/PTSans-BoldItalic.woff +0 -0
- data/fonts/PTSans-Italic.woff +0 -0
- data/fonts/PTSans-Regular.woff +0 -0
- data/fonts/PatuaOne-Regular.woff +0 -0
- data/fonts/YDAoLskQQ5MOAgvHUQCcLWjF_m7mVnhXExjNED3rUtY.woff2 +0 -0
- data/fonts/YDAoLskQQ5MOAgvHUQCcLaa0P60JZGaCMFbL3N9v4H0.woff2 +0 -0
- data/fonts/YanoneKaffeesatz-Regular.woff +0 -0
- data/fonts/fhNmDCnjccoUYyU4ZASaLVKPGs1ZzpMvnHX-7fPOuAc.woff2 +0 -0
- data/fonts/g46X4VH_KHOWAAa-HpnGPgsYbbCjybiHxArTLjt7FRU.woff2 +0 -0
- data/fonts/hpORcvLZtemlH8gI-1S-7gsYbbCjybiHxArTLjt7FRU.woff2 +0 -0
- data/fonts/kTYfCWJhlldPf5LnG4ZnHAsYbbCjybiHxArTLjt7FRU.woff2 +0 -0
- data/fonts/lILlYDvubYemzYzN7GbLkA7aC6SjiAOpAWOKfJDfVRY.woff2 +0 -0
- data/fonts/lILlYDvubYemzYzN7GbLkBampu5_7CjHW5spxoeN3Vs.woff2 +0 -0
- data/fonts/lILlYDvubYemzYzN7GbLkBdwxCXfZpKo5kWAx_74bHs.woff2 +0 -0
- data/fonts/lILlYDvubYemzYzN7GbLkIjoYw3YTyktCCer_ilOlhE.woff2 +0 -0
- data/fonts/oysROHFTu1eTZ74Hcf8V-VKPGs1ZzpMvnHX-7fPOuAc.woff2 +0 -0
- data/fonts/yAXhog6uK3bd3OwBILv_SJBw1xU1rKptJj_0jans920.woff2 +0 -0
- data/images/bird_32_gray.png +0 -0
- data/images/bird_32_gray_fail.png +0 -0
- data/images/code_bg.png +0 -0
- data/images/construction.png +0 -0
- data/images/divider.png +0 -0
- data/images/dotted-border.png +0 -0
- data/images/email.png +0 -0
- data/images/gradback.png +0 -0
- data/images/gradhead.png +0 -0
- data/images/gradhover.png +0 -0
- data/images/line-tile.png +0 -0
- data/images/noise.png +0 -0
- data/images/rss.png +0 -0
- data/images/search.png +0 -0
- data/images/sorry.gif +0 -0
- data/javascripts/ender.js +45 -0
- data/javascripts/github.js +32 -0
- data/javascripts/libs/jXHR.js +85 -0
- data/javascripts/libs/jquery.min.js +5 -0
- data/javascripts/libs/modernizr.custom.55630.js +4 -0
- data/javascripts/libs/swfobject-dynamic.js +298 -0
- data/javascripts/modernizr-2.0.js +5 -0
- data/javascripts/octopress.js +151 -0
- data/javascripts/pinboard.js +56 -0
- data/javascripts/twitter.js +78 -0
- metadata +90 -1
@@ -0,0 +1,157 @@
|
|
1
|
+
article {
|
2
|
+
padding-top: 1em;
|
3
|
+
a {
|
4
|
+
color: #d0648a;
|
5
|
+
font-weight: bold;
|
6
|
+
text-decoration: none;
|
7
|
+
text-shadow: 1px 1px #efefef,2px 2px #ccc;
|
8
|
+
word-wrap: break-word;
|
9
|
+
-webkit-transition-duration: 0.5s;
|
10
|
+
-moz-transition-duration: 0.5s;
|
11
|
+
-ms-transition-duration: 0.5s;
|
12
|
+
-o-transition-duration: 0.5s;
|
13
|
+
transition-duration: 0.5s;
|
14
|
+
}
|
15
|
+
header {
|
16
|
+
position: relative;
|
17
|
+
padding-top: 2em;
|
18
|
+
padding-bottom: 1em;
|
19
|
+
margin-bottom: 1em;
|
20
|
+
background: $img-border bottom left repeat-x;
|
21
|
+
h1 {
|
22
|
+
margin: 0;
|
23
|
+
text-shadow: 1px 1px #efefef,2px 2px #828887;
|
24
|
+
a { text-decoration: none;
|
25
|
+
&:hover { text-decoration: none; } }
|
26
|
+
}
|
27
|
+
p {
|
28
|
+
font-size: .9em;
|
29
|
+
color: $text-color-light;
|
30
|
+
margin: 0;
|
31
|
+
&.meta {
|
32
|
+
@extend .sans;
|
33
|
+
text-transform: uppercase;
|
34
|
+
position: absolute; top: 0;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
@media only screen and (min-width: 768px) {
|
38
|
+
margin-bottom: 1.5em;
|
39
|
+
padding-bottom: 1em;
|
40
|
+
background: $img-border bottom left repeat-x;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
h2 {
|
44
|
+
text-shadow: 1px 1px #efefef,2px 2px #828887;
|
45
|
+
padding-top: 0.8em;
|
46
|
+
border-top: 3px dashed #828887;
|
47
|
+
}
|
48
|
+
.entry-content & h2:first-child, header + h2 { padding-top: 0; }
|
49
|
+
h2:first-child, header + h2 { background: none; }
|
50
|
+
.feature {
|
51
|
+
padding-top: .5em;
|
52
|
+
margin-bottom: 1em;
|
53
|
+
padding-bottom: 1em;
|
54
|
+
background: $img-border bottom left repeat-x;
|
55
|
+
font-size: 2.0em; font-style: italic;
|
56
|
+
line-height: 1.3em;
|
57
|
+
}
|
58
|
+
img, video, .flash-video {
|
59
|
+
@extend .flex-content;
|
60
|
+
@extend .basic-alignment;
|
61
|
+
@include shadow-box;
|
62
|
+
}
|
63
|
+
video, .flash-video { margin: 0 auto 1.5em; }
|
64
|
+
video { display: block; width: 100%; }
|
65
|
+
.flash-video {
|
66
|
+
> div {
|
67
|
+
position: relative;
|
68
|
+
display: block;
|
69
|
+
padding-bottom: 56.25%;
|
70
|
+
padding-top: 1px;
|
71
|
+
height: 0;
|
72
|
+
overflow: hidden;
|
73
|
+
iframe, object, embed {
|
74
|
+
position: absolute;
|
75
|
+
top: 0;
|
76
|
+
left: 0;
|
77
|
+
width: 100%;
|
78
|
+
height: 100%;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
> footer {
|
83
|
+
padding-bottom: 2.5em;
|
84
|
+
margin-top: 2em;
|
85
|
+
@extend .sans;
|
86
|
+
p.meta {
|
87
|
+
margin-bottom: .8em;
|
88
|
+
font-size: .85em;
|
89
|
+
clear: both;
|
90
|
+
overflow: hidden;
|
91
|
+
}
|
92
|
+
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
93
|
+
@extend .separator;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
}
|
98
|
+
article + article {
|
99
|
+
.blog-index & {
|
100
|
+
border-top: 3px dashed #828887;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
#content .blog-index {
|
104
|
+
padding: { top: 0; bottom: 0; }
|
105
|
+
article { padding-top: 2em; }
|
106
|
+
article header { background: none; padding-bottom: 0; }
|
107
|
+
article h1 {
|
108
|
+
font-size: 2.2em;
|
109
|
+
text-shadow: 1px 1px #efefef,2px 2px #828887;
|
110
|
+
a { text-decoration: none;
|
111
|
+
color: inherit;
|
112
|
+
&:hover { text-decoration: none; color: $link-color-hover;} }
|
113
|
+
}
|
114
|
+
a[rel=full-article] {
|
115
|
+
background: darken($main-bg, 5);
|
116
|
+
display: inline-block;
|
117
|
+
padding: .4em .8em;
|
118
|
+
margin-right: .5em;
|
119
|
+
text-decoration: none;
|
120
|
+
color: mix($text-color, $text-color-light);
|
121
|
+
@extend .serif;
|
122
|
+
@include transition(background-color .5s);
|
123
|
+
&:hover {
|
124
|
+
background: $link-color-hover;
|
125
|
+
text-shadow: none;
|
126
|
+
color: $main-bg;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
footer {
|
130
|
+
@extend .sans;
|
131
|
+
margin-top: 1em;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
|
135
|
+
.separator {
|
136
|
+
content: "\2022 ";
|
137
|
+
padding: 0 .4em 0 .2em;
|
138
|
+
display: inline-block;
|
139
|
+
}
|
140
|
+
|
141
|
+
#content div.pagination {
|
142
|
+
text-align: center;
|
143
|
+
font-size: .95em;
|
144
|
+
position: relative;
|
145
|
+
border-top: 3px dashed #828887;
|
146
|
+
padding: {top: 1.5em; bottom: 1.5em;}
|
147
|
+
a {
|
148
|
+
text-decoration: none;
|
149
|
+
color: $text-color-light;
|
150
|
+
&.prev { position: absolute; left: 0; }
|
151
|
+
&.next { position: absolute; right: 0; }
|
152
|
+
&:hover { color: $link-color-hover; }
|
153
|
+
&[href*=archive] {
|
154
|
+
&:before, &:after { content: '\2014'; padding: 0 .3em; }
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
body > footer {
|
2
|
+
@extend .sans;
|
3
|
+
font-size: .8em;
|
4
|
+
color: $footer-color;
|
5
|
+
text-shadow: lighten($footer-bg, 5) 0 1px;
|
6
|
+
background-color: $footer-bg;
|
7
|
+
@include background($footer-bg-front, $footer-bg-back);
|
8
|
+
border-top: 1px solid $footer-border-top;
|
9
|
+
position: relative;
|
10
|
+
padding-top: 1em;
|
11
|
+
padding-bottom: 1em;
|
12
|
+
margin-bottom: 3em;
|
13
|
+
@include border-bottom-radius(.4em);
|
14
|
+
z-index: 1;
|
15
|
+
a {
|
16
|
+
@include link-colors($footer-link-color, $footer-link-color-hover, $visited: $footer-link-color);
|
17
|
+
}
|
18
|
+
p:last-child { margin-bottom: 0; }
|
19
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
body > header {
|
2
|
+
background: $header-bg;
|
3
|
+
h1 {
|
4
|
+
display: inline-block;
|
5
|
+
margin: 0;
|
6
|
+
a, a:visited, a:hover {
|
7
|
+
color: $title_color;
|
8
|
+
text-decoration: none;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
h2 {
|
12
|
+
margin: .2em 0 0;
|
13
|
+
@extend .sans;
|
14
|
+
font-size: 1em;
|
15
|
+
color: $subtitle-color;
|
16
|
+
font-weight: normal;
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
body > nav {
|
2
|
+
position: relative;
|
3
|
+
background-color: $nav-bg;
|
4
|
+
@include background($nav-bg-front, $nav-bg-back);
|
5
|
+
border: {
|
6
|
+
top: 1px solid $nav-border-top;
|
7
|
+
bottom: 1px solid $nav-border-bottom; }
|
8
|
+
padding-top: .35em;
|
9
|
+
padding-bottom: .35em;
|
10
|
+
form {
|
11
|
+
@include background-clip(padding-box);
|
12
|
+
margin: 0; padding: 0;
|
13
|
+
.search {
|
14
|
+
padding: .3em .5em 0;
|
15
|
+
font-size: .85em;
|
16
|
+
font-family: $sans;
|
17
|
+
line-height: 1.1em;
|
18
|
+
width: 95%;
|
19
|
+
@include border-radius(.5em);
|
20
|
+
@include background-clip(padding-box);
|
21
|
+
@include box-shadow(lighten($nav-bg, 2) 0 1px);
|
22
|
+
background-color: lighten($nav-bg, 15);
|
23
|
+
border: 1px solid $nav-border;
|
24
|
+
color: #888;
|
25
|
+
&:focus {
|
26
|
+
color: #444;
|
27
|
+
border-color: #80b1df;
|
28
|
+
@include box-shadow(#80b1df 0 0 4px, #80b1df 0 0 3px inset);
|
29
|
+
background-color: #fff;
|
30
|
+
outline: none;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
fieldset[role=search]{ float: right; width: 48%; }
|
35
|
+
fieldset.mobile-nav{ float: left; width: 48%;
|
36
|
+
select{ width: 100%; font-size: .8em; border: 1px solid #888;}
|
37
|
+
}
|
38
|
+
ul { display: none; }
|
39
|
+
@media only screen and (min-width: 550px) {
|
40
|
+
font-size: .9em;
|
41
|
+
ul {
|
42
|
+
@include horizontal-list(0);
|
43
|
+
float: left;
|
44
|
+
display: block;
|
45
|
+
padding-top: .15em;
|
46
|
+
}
|
47
|
+
ul.subscription {
|
48
|
+
margin-left: .8em;
|
49
|
+
float: right;
|
50
|
+
li:last-child a { padding-right: 0; }
|
51
|
+
}
|
52
|
+
ul li {
|
53
|
+
margin: 0;
|
54
|
+
}
|
55
|
+
a {
|
56
|
+
@include link-colors($nav-color, $nav-color-hover, $visited: $nav-color);
|
57
|
+
font-family: $sans;
|
58
|
+
text-shadow: lighten($nav-bg, 12) 0 1px;
|
59
|
+
float: left;
|
60
|
+
text-decoration: none;
|
61
|
+
font-size: 1.1em;
|
62
|
+
padding: .1em 0;
|
63
|
+
line-height: 1.5em;
|
64
|
+
}
|
65
|
+
li + li {
|
66
|
+
border-left: 1px solid $nav-border-left;
|
67
|
+
margin-left: .8em;
|
68
|
+
a {
|
69
|
+
padding-left: .8em;
|
70
|
+
border-left: 1px solid $nav-border-right;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
form {
|
74
|
+
float: right;
|
75
|
+
text-align: left;
|
76
|
+
padding-left: .8em;
|
77
|
+
width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium + 20px;
|
78
|
+
.search {
|
79
|
+
width: 93%;
|
80
|
+
font-size: .95em;
|
81
|
+
line-height: 1.2em;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
ul[data-subscription$=email] + form {
|
85
|
+
width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 58px;
|
86
|
+
.search { width: 91%; }
|
87
|
+
}
|
88
|
+
fieldset.mobile-nav { display: none; }
|
89
|
+
fieldset[role=search]{ width: 99%; }
|
90
|
+
}
|
91
|
+
@media only screen and (min-width: 992px) {
|
92
|
+
form {
|
93
|
+
width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 + 10px;
|
94
|
+
}
|
95
|
+
ul[data-subscription$=email] + form {
|
96
|
+
width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 58px;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
.no-placeholder {
|
101
|
+
body > nav .search {
|
102
|
+
background: lighten($nav-bg, 15) image-url('search.png') .3em .25em no-repeat;
|
103
|
+
text-indent: 1.3em;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
@mixin mask-subscription-nav($feed: 'rss.png'){
|
107
|
+
position: relative; top: 0px;
|
108
|
+
text-indent: -999999em;
|
109
|
+
background-color: $nav-border-right;
|
110
|
+
border: 0;
|
111
|
+
padding: 0;
|
112
|
+
&,&:after { @include mask-image($feed); }
|
113
|
+
&:after {
|
114
|
+
content: "";
|
115
|
+
position: absolute; top: -1px; left: 0;
|
116
|
+
background-color: lighten($nav-color, 25);
|
117
|
+
}
|
118
|
+
&:hover:after { background-color: lighten($nav-color, 20); }
|
119
|
+
}
|
120
|
+
.maskImage {
|
121
|
+
body > nav {
|
122
|
+
@media only screen and (min-width: 550px) {
|
123
|
+
ul[data-subscription$=email] + form {
|
124
|
+
width: $sidebar-width-medium - $pad-medium*2 - $sidebar-pad-medium - 32px;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
@media only screen and (min-width: 992px) {
|
128
|
+
ul[data-subscription$=email] + form {
|
129
|
+
width: $sidebar-width-wide - $pad-wide - $sidebar-pad-wide*2 - 32px;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
ul.subscription { position: relative; top: .2em; li, a { border: 0; padding: 0; }}
|
134
|
+
a[rel=subscribe-rss]{ @include mask-subscription-nav('rss.png'); }
|
135
|
+
a[rel=subscribe-email]{ @include mask-subscription-nav('email.png'); }
|
136
|
+
}
|
137
|
+
|
@@ -0,0 +1,278 @@
|
|
1
|
+
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
|
2
|
+
table td.code { width: 100%; }
|
3
|
+
border: 1px solid $pre-border !important;
|
4
|
+
}
|
5
|
+
.highlight .line-numbers, html .gist .gist-file .gist-syntax .highlight .line_numbers {
|
6
|
+
text-align: right;
|
7
|
+
font-size: 13px;
|
8
|
+
line-height: 1.45em;
|
9
|
+
@if $solarized == light {
|
10
|
+
background: lighten($base03, 1) $noise-bg !important;
|
11
|
+
border-right: 1px solid darken($base02, 2) !important;
|
12
|
+
@include box-shadow(lighten($base03, 2) -1px 0 inset);
|
13
|
+
text-shadow: lighten($base02, 2) 0 -1px;
|
14
|
+
} @else {
|
15
|
+
background: $base02 $noise-bg !important;
|
16
|
+
border-right: 1px solid darken($base03, 2) !important;
|
17
|
+
@include box-shadow(lighten($base02, 2) -1px 0 inset);
|
18
|
+
text-shadow: darken($base02, 10) 0 -1px;
|
19
|
+
}
|
20
|
+
span { color: $base01 !important; }
|
21
|
+
padding: .8em !important;
|
22
|
+
@include border-radius(0);
|
23
|
+
}
|
24
|
+
|
25
|
+
.line-data {
|
26
|
+
font-size: 13px;
|
27
|
+
}
|
28
|
+
|
29
|
+
figure.code, .gist-file, pre {
|
30
|
+
@include box-shadow(rgba(#000, .06) 0 0 10px);
|
31
|
+
.highlight pre { @include box-shadow(none); }
|
32
|
+
}
|
33
|
+
|
34
|
+
.gist .highlight, figure.code .highlight {
|
35
|
+
@include selection(adjust-color($base03, $lightness: 23%, $saturation: -65%), $text-shadow: $base03 0 1px);
|
36
|
+
}
|
37
|
+
html .gist .gist-file {
|
38
|
+
margin-bottom: 1.8em;
|
39
|
+
position: relative;
|
40
|
+
border: none;
|
41
|
+
padding-top: image-height("code_bg.png") !important;
|
42
|
+
.highlight {
|
43
|
+
margin-bottom: 0;
|
44
|
+
}
|
45
|
+
.gist-syntax {
|
46
|
+
background: #01222d !important;
|
47
|
+
color: #d5dee2 !important;
|
48
|
+
padding: 0 2em;
|
49
|
+
border-bottom: 0 !important;
|
50
|
+
.gist-highlight {
|
51
|
+
background: $base03 !important;
|
52
|
+
}
|
53
|
+
.highlight pre {
|
54
|
+
@extend .pre-code;
|
55
|
+
padding: 0;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
.gist-meta {
|
59
|
+
padding: .6em 0.8em;
|
60
|
+
font-size: .7em !important;
|
61
|
+
@if $solarized == light {
|
62
|
+
color: $base01;
|
63
|
+
border: 1px solid lighten($base02, 2) !important;
|
64
|
+
background: lighten($base03, 2) $noise-bg;
|
65
|
+
border: 1px solid $pre-border !important;
|
66
|
+
border-top: 1px solid lighten($base03, 2) !important;
|
67
|
+
} @else {
|
68
|
+
background: #01222d $noise-bg;
|
69
|
+
text-shadow: none !important;
|
70
|
+
color: #d5dee2;
|
71
|
+
}
|
72
|
+
@extend .sans;
|
73
|
+
line-height: 1.5em;
|
74
|
+
a {
|
75
|
+
color: mix($base1, $base01) !important;
|
76
|
+
@include hover-link;
|
77
|
+
&:hover { color: $base1 !important; }
|
78
|
+
}
|
79
|
+
a[href*='#file'] {
|
80
|
+
position: absolute; top: 0; left:0; right:0px;
|
81
|
+
color: #474747 !important;
|
82
|
+
@extend .code-title;
|
83
|
+
&:hover { color: $link-color !important; }
|
84
|
+
}
|
85
|
+
a[href*=raw]{
|
86
|
+
@extend .download-source;
|
87
|
+
top: .4em;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
pre {
|
92
|
+
background: $pre-bg $noise-bg;
|
93
|
+
@include border-radius(.4em);
|
94
|
+
@extend .mono;
|
95
|
+
border: 1px solid $pre-border;
|
96
|
+
line-height: 1.45em;
|
97
|
+
font-size: 13px;
|
98
|
+
margin-bottom: 2.1em;
|
99
|
+
padding: .8em 1em;
|
100
|
+
color: $pre-color;
|
101
|
+
overflow: auto;
|
102
|
+
}
|
103
|
+
h3.filename {
|
104
|
+
@extend .code-title;
|
105
|
+
+ pre { @include border-top-radius(0px); }
|
106
|
+
}
|
107
|
+
|
108
|
+
p, li {
|
109
|
+
code {
|
110
|
+
@extend .mono;
|
111
|
+
word-wrap: break-word;
|
112
|
+
white-space: pre;
|
113
|
+
display: inline-block;
|
114
|
+
background: #B6DDEF;
|
115
|
+
font-size: 90%;
|
116
|
+
line-height: 1.5em;
|
117
|
+
color: #555;
|
118
|
+
border: 1px dashed #0181EB;
|
119
|
+
@include border-radius(.4em);
|
120
|
+
padding: 0 .3em;
|
121
|
+
margin: -1px 0;
|
122
|
+
}
|
123
|
+
pre code { font-size: 1em !important; background: none; border: none; }
|
124
|
+
}
|
125
|
+
|
126
|
+
.pre-code {
|
127
|
+
font-family: $mono !important;
|
128
|
+
overflow: scroll;
|
129
|
+
overflow-y: hidden;
|
130
|
+
display: block;
|
131
|
+
padding: .8em;
|
132
|
+
overflow-x: auto;
|
133
|
+
line-height: 1.45em;
|
134
|
+
background: $base03 $noise-bg !important;
|
135
|
+
color: $base1 !important;
|
136
|
+
span { color: $base1 !important; }
|
137
|
+
span { font-style: normal !important; font-weight: normal !important; }
|
138
|
+
|
139
|
+
.c { color: $base01 !important; font-style: italic !important; } /* Comment */
|
140
|
+
.cm { color: $base01 !important; font-style: italic !important; } /* Comment.Multiline */
|
141
|
+
.cp { color: $base01 !important; font-style: italic !important; } /* Comment.Preproc */
|
142
|
+
.c1 { color: $base01 !important; font-style: italic !important; } /* Comment.Single */
|
143
|
+
.cs { color: $base01 !important; font-weight: bold !important; font-style: italic !important; } /* Comment.Special */
|
144
|
+
.err { color: $solar-red !important; background: none !important; } /* Error */
|
145
|
+
.k { color: $solar-orange !important; } /* Keyword */
|
146
|
+
.o { color: $base1 !important; font-weight: bold !important; } /* Operator */
|
147
|
+
.p { color: $base1 !important; } /* Operator */
|
148
|
+
.ow { color: $solar-cyan !important; font-weight: bold !important; } /* Operator.Word */
|
149
|
+
.gd { color: $base1 !important; background-color: mix($solar-red, $base03, 25%) !important; display: inline-block; } /* Generic.Deleted */
|
150
|
+
.gd .x { color: $base1 !important; background-color: mix($solar-red, $base03, 35%) !important; display: inline-block; } /* Generic.Deleted.Specific */
|
151
|
+
.ge { color: $base1 !important; font-style: italic !important; } /* Generic.Emph */
|
152
|
+
//.gr { color: #aa0000 } /* Generic.Error */
|
153
|
+
.gh { color: $base01 !important; } /* Generic.Heading */
|
154
|
+
.gi { color: $base1 !important; background-color: mix($solar-green, $base03, 20%) !important; display: inline-block; } /* Generic.Inserted */
|
155
|
+
.gi .x { color: $base1 !important; background-color: mix($solar-green, $base03, 40%) !important; display: inline-block; } /* Generic.Inserted.Specific */
|
156
|
+
//.go { color: #888888 } /* Generic.Output */
|
157
|
+
//.gp { color: #555555 } /* Generic.Prompt */
|
158
|
+
.gs { color: $base1 !important; font-weight: bold !important; } /* Generic.Strong */
|
159
|
+
.gu { color: $solar-violet !important; } /* Generic.Subheading */
|
160
|
+
//.gt { color: #aa0000 } /* Generic.Traceback */
|
161
|
+
.kc { color: $solar-green !important; font-weight: bold !important; } /* Keyword.Constant */
|
162
|
+
.kd { color: $solar-blue !important; } /* Keyword.Declaration */
|
163
|
+
.kp { color: $solar-orange !important; font-weight: bold !important; } /* Keyword.Pseudo */
|
164
|
+
.kr { color: $solar-magenta !important; font-weight: bold !important; } /* Keyword.Reserved */
|
165
|
+
.kt { color: $solar-cyan !important; } /* Keyword.Type */
|
166
|
+
.n { color: $solar-blue !important; }
|
167
|
+
.na { color: $solar-blue !important; } /* Name.Attribute */
|
168
|
+
.nb { color: $solar-green !important; } /* Name.Builtin */
|
169
|
+
.nc { color: $solar-magenta !important;} /* Name.Class */
|
170
|
+
.no { color: $solar-yellow !important; } /* Name.Constant */
|
171
|
+
//.ni { color: #800080 } /* Name.Entity */
|
172
|
+
.nl { color: $solar-green !important; }
|
173
|
+
.ne { color: $solar-blue !important; font-weight: bold !important; } /* Name.Exception */
|
174
|
+
.nf { color: $solar-blue !important; font-weight: bold !important; } /* Name.Function */
|
175
|
+
.nn { color: $solar-yellow !important; } /* Name.Namespace */
|
176
|
+
.nt { color: $solar-blue !important; font-weight: bold !important; } /* Name.Tag */
|
177
|
+
.nx { color: $solar-yellow !Important; }
|
178
|
+
//.bp { color: #999999 } /* Name.Builtin.Pseudo */
|
179
|
+
//.vc { color: #008080 } /* Name.Variable.Class */
|
180
|
+
.vg { color: $solar-blue !important; } /* Name.Variable.Global */
|
181
|
+
.vi { color: $solar-blue !important; } /* Name.Variable.Instance */
|
182
|
+
.nv { color: $solar-blue !important; } /* Name.Variable */
|
183
|
+
//.w { color: #bbbbbb } /* Text.Whitespace */
|
184
|
+
.mf { color: $solar-cyan !important; } /* Literal.Number.Float */
|
185
|
+
.m { color: $solar-cyan !important; } /* Literal.Number */
|
186
|
+
.mh { color: $solar-cyan !important; } /* Literal.Number.Hex */
|
187
|
+
.mi { color: $solar-cyan !important; } /* Literal.Number.Integer */
|
188
|
+
//.mo { color: #009999 } /* Literal.Number.Oct */
|
189
|
+
.s { color: $solar-cyan !important; } /* Literal.String */
|
190
|
+
//.sb { color: #d14 } /* Literal.String.Backtick */
|
191
|
+
//.sc { color: #d14 } /* Literal.String.Char */
|
192
|
+
.sd { color: $solar-cyan !important; } /* Literal.String.Doc */
|
193
|
+
.s2 { color: $solar-cyan !important; } /* Literal.String.Double */
|
194
|
+
.se { color: $solar-red !important; } /* Literal.String.Escape */
|
195
|
+
//.sh { color: #d14 } /* Literal.String.Heredoc */
|
196
|
+
.si { color: $solar-blue !important; } /* Literal.String.Interpol */
|
197
|
+
//.sx { color: #d14 } /* Literal.String.Other */
|
198
|
+
.sr { color: $solar-cyan !important; } /* Literal.String.Regex */
|
199
|
+
.s1 { color: $solar-cyan !important; } /* Literal.String.Single */
|
200
|
+
//.ss { color: #990073 } /* Literal.String.Symbol */
|
201
|
+
//.il { color: #009999 } /* Literal.Number.Integer.Long */
|
202
|
+
div { .gd, .gd .x, .gi, .gi .x { display: inline-block; width: 100%; }}
|
203
|
+
}
|
204
|
+
|
205
|
+
.highlight, .gist-highlight {
|
206
|
+
pre { background: none; @include border-radius(0px); border: none; padding: 0; margin-bottom: 0; }
|
207
|
+
margin-bottom: 1.8em;
|
208
|
+
background: $base03;
|
209
|
+
overflow-y: hidden;
|
210
|
+
overflow-x: auto;
|
211
|
+
}
|
212
|
+
|
213
|
+
$solar-scroll-bg: rgba(#fff, .15);
|
214
|
+
$solar-scroll-thumb: rgba(#fff, .2);
|
215
|
+
@if $solarized == light {
|
216
|
+
$solar-scroll-bg: rgba(#000, .15);
|
217
|
+
$solar-scroll-thumb: rgba(#000, .15);
|
218
|
+
}
|
219
|
+
|
220
|
+
pre, .highlight, .gist-highlight {
|
221
|
+
&::-webkit-scrollbar { height: .5em; background: $solar-scroll-bg; }
|
222
|
+
&::-webkit-scrollbar-thumb:horizontal { background: $solar-scroll-thumb; -webkit-border-radius: 4px; border-radius: 4px }
|
223
|
+
}
|
224
|
+
|
225
|
+
.highlight code {
|
226
|
+
@extend .pre-code; background: #000;
|
227
|
+
}
|
228
|
+
figure.code {
|
229
|
+
background: none;
|
230
|
+
padding: 0;
|
231
|
+
border: 0;
|
232
|
+
margin-bottom: 1.5em;
|
233
|
+
pre { margin-bottom: 0; }
|
234
|
+
figcaption {
|
235
|
+
position: relative;
|
236
|
+
@extend .code-title;
|
237
|
+
a { @extend .download-source; }
|
238
|
+
}
|
239
|
+
.highlight {
|
240
|
+
margin-bottom: 0;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
|
244
|
+
.code-title {
|
245
|
+
text-align: center;
|
246
|
+
font-size: 13px;
|
247
|
+
line-height: 2em;
|
248
|
+
text-shadow: #cbcccc 0 1px 0;
|
249
|
+
color: #474747;
|
250
|
+
font-weight: normal;
|
251
|
+
margin-bottom: 0;
|
252
|
+
@include border-top-radius(5px);
|
253
|
+
font-family: "Helvetica Neue", Arial, "Lucida Grande", "Lucida Sans Unicode", Lucida, sans-serif;
|
254
|
+
background: #aaaaaa image-url("code_bg.png") top repeat-x;
|
255
|
+
border: 1px solid #565656;
|
256
|
+
border-top-color: #cbcbcb;
|
257
|
+
border-left-color: #a5a5a5;
|
258
|
+
border-right-color: #a5a5a5;
|
259
|
+
border-bottom: 0;
|
260
|
+
}
|
261
|
+
|
262
|
+
.download-source {
|
263
|
+
position: absolute; right: .8em;
|
264
|
+
@include hover-link;
|
265
|
+
color: #666 !important;
|
266
|
+
z-index: 1;
|
267
|
+
font-size: 13px;
|
268
|
+
text-shadow: #cbcccc 0 1px 0;
|
269
|
+
padding-left: 3em;
|
270
|
+
}
|
271
|
+
|
272
|
+
.gist-file {
|
273
|
+
font-size:.8em !important;
|
274
|
+
}
|
275
|
+
|
276
|
+
table.lines{
|
277
|
+
width: 100%;
|
278
|
+
}
|