Guest User

Untitled

a guest
Mar 20th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="de">
  4. <link rel="stylesheet" href="inc/layout.css">
  5. <script src="inc/javascript.js"></script>
  6. <meta charset = "UTF-8" />
  7. <title>komix.lit</title>
  8. <style>
  9. .pagelist {
  10. background-color: deeppink;
  11. position: relative;
  12. float: right;
  13. width: 20%;
  14. height: 70%;
  15. overflow-y: scroll;
  16. margin-right: 10px;
  17. }
  18.  
  19. .pageimg {
  20. position: relative;
  21. float: left;
  22. width: 100%;
  23. /* min-height: 500px; */
  24. text-align: center;
  25. display: flex;
  26. align-items: center;
  27. }
  28.  
  29. .pageimg img {
  30. margin: 0 auto;
  31. }
  32.  
  33. .pagetext {
  34. position: relative;
  35. float: left;
  36. margin-top: 1%;
  37. width: 100%;
  38. text-align: center;
  39. padding-bottom: 10px;
  40. }
  41.  
  42. .pageframe {
  43. position: absolute;
  44. width: 75%;
  45. margin-left: 10px;
  46. text-align: center;
  47. }
  48.  
  49. .comiclist {
  50. background-color: lightgrey;
  51. padding-left: 5px;
  52. width: 90%;
  53. }
  54.  
  55. .floatbutt-right {
  56. float: right;
  57. }
  58.  
  59. .floatbutt-left {
  60. float: left
  61. }
  62.  
  63. .footer {
  64. position: absolute;
  65. width: 100%;
  66. bottom: 0;
  67. height: 30px;
  68. background-color: lightgrey;
  69. font-size: 12px;
  70. color: grey;
  71. }
  72.  
  73. .footer span {
  74. float: right;
  75. margin-top: 5px;
  76. margin-right: 10px;
  77. }
  78.  
  79. body,
  80. html {
  81. margin: 0;
  82. padding: 0;
  83. height: 100%;
  84. }
  85.  
  86. .spacer {
  87. width: 100%;
  88. height: 95px;
  89. }
  90.  
  91. .content {
  92. width: 100%;
  93. margin-bottom: -30px;
  94. /* Footer */
  95. }
  96.  
  97. <div id="navbar">
  98. <img class="logo" src="inc/logo.png" />
  99. komix.lit
  100. <button id="home" class="navbutt" onClick="location.href='home.php'">Home</button>
  101. <button id="comics" class="navbutt" onClick="location.href='komix.php'">Komix</button>
  102. <button id="login" class="navbutt" onClick="location.href='login.php'">Einloggen</button></div>
  103. <div class="content">
  104. <div class="spacer"></div><div class="pagelist"><ul style="list-style-type: none;"><li><a style='text-decoration: none; color: black;' href='pages.php?id=84'>Seite 1</a></li><li><a style='text-decoration: none; color: black;' href='pages.php?id=86'>Seite 2</a></li><li><a style='text-decoration: none; color: black;' href='pages.php?id=85'>Seite 3</a></li></ul></div><div class='pageframe'><div class='pageimg' style='height: 1024;'>
  105. <img src='komix19_03_18_10_21_31-12.jpg'
  106. alt='seite 1' style='max-width:100%'/> </div><div class='pagetext'>seite 1</div><button class='floatbutt-right' onClick="location.href='pages.php?id=86'">nächste Seite</button></div></div>
  107. <div class="footer">
  108. <span>text</span>
  109. </div>
  110.  
  111. </body>
  112. </html>
Add Comment
Please, Sign In to add comment