Difference between revisions of "Template:Hamburg/CSS/notebook"

Line 2: Line 2:
 
<style>
 
<style>
 
#notebook {
 
#notebook {
     width: calc(100% + 48px);
+
     display: table-cell;
 
     height: 100%;
 
     height: 100%;
 
     min-height: 90vh;
 
     min-height: 90vh;
     position: absolute;
+
     position: relative;
     left: -48px;
+
     left: 80px;
 
}
 
}
  
Line 26: Line 26:
 
     background-repeat: repeat-y;
 
     background-repeat: repeat-y;
 
     height: calc(100% - 39px);
 
     height: calc(100% - 39px);
 +
    position: absolute;
 
}
 
}
  
Line 32: Line 33:
 
     position: relative;
 
     position: relative;
 
     width: 100%;
 
     width: 100%;
     min-height: 2500px;
+
     display: table;
 
+
    overflow: hidden;
 
+
 
}
 
}
  
Line 49: Line 49:
 
#notebook-content {
 
#notebook-content {
 
     width: 100%;
 
     width: 100%;
    top: 20px;
 
    position: relative;
 
    margin: 50px 0;
 
 
}
 
}
  
Line 87: Line 84:
  
 
#notebook-navigation {
 
#notebook-navigation {
     position: absolute;
+
     position: relative;
    width: 170px;
+
    left: -140px;
+
 
     z-index: 145;
 
     z-index: 145;
     top: 200px;
+
     margin-right: -200px;
 
}
 
}
  
Line 190: Line 185:
 
     box-shadow: none;
 
     box-shadow: none;
 
}
 
}
 +
  
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 03:01, 19 December 2018