aboutsummaryrefslogtreecommitdiffstats
path: root/foundation-default-colours
diff options
context:
space:
mode:
authorKenton Hamaluik <kenton@hamaluik.com>2014-01-26 20:47:02 -0700
committerKenton Hamaluik <kenton@hamaluik.com>2014-01-26 20:47:02 -0700
commitf73be382f127766875cbd75fab16e8421997d52d (patch)
treee664e32abaf2a4a91712e5457481a96e8dac81df /foundation-default-colours
parent1bc386fdee2c1cb8eba254d787b779ce55a55b14 (diff)
downloadpelican-themes-f73be382f127766875cbd75fab16e8421997d52d.zip
pelican-themes-f73be382f127766875cbd75fab16e8421997d52d.tar.gz
pelican-themes-f73be382f127766875cbd75fab16e8421997d52d.tar.bz2
Made it so code listings have horizontal scrollbars instead of getting super wide and messig with the design
Diffstat (limited to 'foundation-default-colours')
-rw-r--r--foundation-default-colours/static/css/custom.css28
-rw-r--r--foundation-default-colours/static/css/pygment/monokai.css2
2 files changed, 26 insertions, 4 deletions
diff --git a/foundation-default-colours/static/css/custom.css b/foundation-default-colours/static/css/custom.css
index 37912ba..49d8dd3 100644
--- a/foundation-default-colours/static/css/custom.css
+++ b/foundation-default-colours/static/css/custom.css
@@ -50,9 +50,6 @@
.highlighttable {
background: #272822;
border: 1px solid #8f908a;
- /* uncomment to center the code blocks */
- /*margin-left: auto;
- margin-right: auto;*/
width: 100%;
}
@@ -114,4 +111,29 @@ p {
.archive-entry {
border-top: 1px dotted;
+}
+
+table.highlighttable {
+ table-layout: fixed;
+ white-space: nowrap;
+ width:100%;
+}
+
+.linenos {
+ width: 2.25rem;
+ text-align: right;
+ margin: 0;
+ padding: 0;
+ vertical-align: top;
+}
+
+.highlight{
+ width: 100%;
+ height: auto;
+ overflow: auto;
+}
+
+.linenodiv {
+ margin: 0.55rem 0.5rem 0 0;
+ padding: 0;
} \ No newline at end of file
diff --git a/foundation-default-colours/static/css/pygment/monokai.css b/foundation-default-colours/static/css/pygment/monokai.css
index 3dba387..6ad9714 100644
--- a/foundation-default-colours/static/css/pygment/monokai.css
+++ b/foundation-default-colours/static/css/pygment/monokai.css
@@ -57,4 +57,4 @@
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
-.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
+.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ \ No newline at end of file