fix background scrolling
authorRalf Jung <post@ralfj.de>
Mon, 24 Aug 2015 08:27:16 +0000 (10:27 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 24 Aug 2015 08:27:16 +0000 (10:27 +0200)
docs/pycco_custom.css

index 94b70f3bae57509e87734a8c7a6b104c3e2798db..5c97b861416775b29541bfec3bbef7874b548cf8 100644 (file)
@@ -13,6 +13,9 @@
 /*--------------------- Layout ----------------------------*/
 body {
     font-family: 'aller-light', sans-serif;
+    position: relative;
+    display: inline-block;
+    min-height: 100%;
 }
 
 h1, h2, h3, h4, h5, h6 {
@@ -24,6 +27,8 @@ div.docs {
     padding-left: 35px;
 }
 #background {
+    position: absolute;
+    height: 100%;
     left: 640px;
 }
 div.code {