Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2020-07-30 21:39:01 +0300
committerHumberto Rocha <humrochagf@gmail.com>2020-07-30 21:39:01 +0300
commit4ac4e538409a4e0b360dd4ea82e16298adbd026d (patch)
treedb8d3ba64b5d626f26e93292ed78f5dc87759566
parentead3a620b109d1f788869be1441342de7cbbe057 (diff)
Fix code blocks and add itchio shortcodev1.4.0
-rw-r--r--assets/sass/_code.scss8
-rw-r--r--assets/sass/_global.scss6
-rw-r--r--layouts/shortcodes/itchio.html1
3 files changed, 14 insertions, 1 deletions
diff --git a/assets/sass/_code.scss b/assets/sass/_code.scss
index f0dcc6d..c1034be 100644
--- a/assets/sass/_code.scss
+++ b/assets/sass/_code.scss
@@ -5,6 +5,13 @@ p code {
background-color: #f3f3f3;
}
+pre {
+ overflow: auto;
+ padding: 5px 10px 6px;
+ color:#f8f8f2;
+ background-color:#272822;
+}
+
.highlight {
margin-bottom: 20px;
@@ -28,6 +35,7 @@ p code {
code {
display: inline-block;
+ padding-right: 10px;
min-width: 100%;
}
}
diff --git a/assets/sass/_global.scss b/assets/sass/_global.scss
index 3044869..0919388 100644
--- a/assets/sass/_global.scss
+++ b/assets/sass/_global.scss
@@ -37,7 +37,7 @@ main {
padding-bottom: 20px;
}
- p img, .videogif, .itchio, twitter-widget {
+ p img, .videogif, .itchio, .twitter-tweet {
width: 100%;
margin-left: 0;
margin-right: 0;
@@ -49,6 +49,10 @@ main {
margin-top: 20px;
margin-bottom: 20px;
}
+
+ iframe {
+ padding-bottom: 0;
+ }
}
}
diff --git a/layouts/shortcodes/itchio.html b/layouts/shortcodes/itchio.html
new file mode 100644
index 0000000..57b5a41
--- /dev/null
+++ b/layouts/shortcodes/itchio.html
@@ -0,0 +1 @@
+<iframe class="itchio" src="https://itch.io/embed/{{ .Get 0 }}?linkback=true" width="552" height="167" frameborder="0"></iframe>