mirror of
https://github.com/arsenetar/arsenetar.github.io.git
synced 2026-03-22 19:51:38 +00:00
Update to Initial Skeleton for Jekyll
Update a bunch of files to get ready for Jekyll.
This commit is contained in:
52
assets/scss/voltaicideas/_pygments.scss
Normal file
52
assets/scss/voltaicideas/_pygments.scss
Normal file
@@ -0,0 +1,52 @@
|
||||
.highlight{
|
||||
font-size: rem-calc(14px);
|
||||
padding: 0;
|
||||
background-color: lighten($secondary-color, 8%);
|
||||
font-family: 'Source Code Pro', 'Consolas', Monaco, monospace;
|
||||
overflow: auto;
|
||||
margin-bottom: rem-calc(16px);
|
||||
pre{
|
||||
tab-size: 4;
|
||||
white-space: pre;
|
||||
font-family: inherit;
|
||||
counter-reset: line-numbering;
|
||||
border: solid 1px #d9d9d9;
|
||||
border-radius: 0;
|
||||
background: #fff;
|
||||
padding: rem-calc(3px);
|
||||
line-height: 23px;
|
||||
overflow-x: auto;
|
||||
word-break: inherit;
|
||||
word-wrap: inherit;
|
||||
a {
|
||||
&::before {
|
||||
content: counter(line-numbering);
|
||||
counter-increment: line-numbering;
|
||||
padding-right: 1em; /* space after numbers */
|
||||
width: 25px;
|
||||
text-align: right;
|
||||
opacity: 0.7;
|
||||
display: inline-block;
|
||||
color: #aaa;
|
||||
background: #eee;
|
||||
margin-right: 16px;
|
||||
padding: 2px 10px;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
&:first-of-type::before {
|
||||
padding-top: 10px;
|
||||
}
|
||||
&:last-of-type::before {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
&:only-of-type::before {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user