summaryrefslogtreecommitdiffstats
path: root/sass
diff options
context:
space:
mode:
Diffstat (limited to 'sass')
-rw-r--r--sass/parts/_article.scss18
-rw-r--r--sass/parts/_syntax.scss18
2 files changed, 18 insertions, 18 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index f4b6e62..73ab149 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -84,24 +84,6 @@ article{
pre{
line-height: 1.5;
}
- figure.code{
- background: $border;
- padding: 5px 15px;
- margin-top: 10px;
- border: 1px solid #ccc;
- border-radius: 5px;
- .line-numbers{
- border-right: 1px solid #ccc;
- color: #000;
- font-family: $monospace;
- padding-right: 15px;
- }
- td.code{
- padding-left: 15px;
- font-size: 13px;
- overflow-x: auto;
- }
- }
}
.meta{
position: absolute;
diff --git a/sass/parts/_syntax.scss b/sass/parts/_syntax.scss
index 18df546..f3e493a 100644
--- a/sass/parts/_syntax.scss
+++ b/sass/parts/_syntax.scss
@@ -44,6 +44,24 @@ $pre-border: darken($base02, 5) !default;
$pre-color: $base1 !default;
figure.code{
+ background: $border;
+ padding: 5px 15px;
+ margin-top: 10px;
+ border: 1px solid #ccc;
+ border-radius: 5px;
+ overflow-x: auto;
+ .line-numbers{
+ border-right: 1px solid #ccc;
+ color: #000;
+ font-family: $monospace;
+ padding-right: 15px;
+ }
+ td.code{
+ padding-left: 15px;
+ font-size: 13px;
+ overflow-x: auto;
+ }
+ /* Style */
.c {
color:$base01 !important;
font-style: italic !important;