Advertisement
jercydee

Navigation Page #001 by striveattemptfail

May 29th, 2015
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. <!--
  2. CUSTOM PAGE 004: NAV #001
  3. THEME BY: Jercy @ striveattemptfail.tumblr.com
  4.  
  5. Go ahead and use this as a base but just lemme know or credit me pl0x~
  6. -->
  7.  
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11.  
  12. <title>{Title}</title>
  13. <link rel="shortcut icon" href="{Favicon}">
  14. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  15.  
  16. <head>
  17. <style type="text/css">
  18.  
  19. body { font-size: 14px; margin: 0; padding: 0;
  20. font-family: Helvetica; /* changes main font */
  21. background-color: #fff; /* changes background colour */
  22. color: #000; /* changes font colour */
  23. }
  24.  
  25. #main { width: 650px; margin-left: auto; margin-right: auto; }
  26.  
  27. /* HEADER *//* CODE BY STRIVEATTEMPTFAIL */
  28. #header { margin-top: 25px; padding-bottom: 5px; text-align: right;
  29. border-bottom: 3px solid #000; /* changes header border colour */
  30. }
  31.  
  32. #header a { width: 125px; text-align: center; text-decoration: none; display: inline-block; margin-top: 7px; margin-left: 10px; padding: 4px 0px; transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out;
  33. background-color: #000; /* changes header link background colour */
  34. color: #ccc; /* changes header link text colour */
  35. }
  36.  
  37. #header a:hover { letter-spacing: 1px;
  38. background-color: #ccc; /* changes header link on hover background colour */
  39. color: #000; /* changes header link on hover text colour */
  40. }
  41.  
  42. #header h1 { font-size: 35px; margin-top: 0px; margin-bottom: 5px;
  43. font-family: Georgia, serif; /* changes page title font */
  44. }
  45.  
  46. /* LINKS */
  47. #main2 { width: 645px; margin-top: 20px; margin-left: auto; margin-right: auto; position: absolute; }
  48.  
  49. #main2 .container { width: 280px; padding: 10px; margin: 0px 10px 10px 10px;
  50. background-color: #ccc; /* changes container background colour */
  51. }
  52.  
  53. #main2 .header { padding-bottom: 5px; text-align: center; margin-bottom: 5px;
  54. border-bottom: 2px solid #000; /* changes container's header border colour */
  55. }
  56.  
  57. #main2 .header .h1 { font-size: 20px; margin: 0px;
  58. font-family: Georgia, serif; /* changes container header */
  59. }
  60.  
  61. #main2 .container .links a { text-align: center; text-decoration: none; width: 260px; padding: 5px; margin-top: 5px; display: block; transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out;
  62. background-color: #fff; /* link background colour */
  63. color: #000; /* link text colour */
  64. border-left: 5px solid #000; /* link left border colour */
  65. border-right: 5px solid #000; /* link right border colour */
  66. }
  67.  
  68. #main2 .container .links a:hover { letter-spacing: 1.5px;
  69. background-color: #eee; /* link background colour on hover */
  70. }
  71.  
  72. /* SCROLLBAR */
  73. body::-webkit-scrollbar { width: 0.5em; height: 0.5em; }
  74.  
  75. body::-webkit-scrollbar-track {
  76. background-color: #fff; /* changes scrollbar track colour */
  77. }
  78.  
  79. body::-webkit-scrollbar-thumb {
  80. background-color: #000; /* changes main scrollbar colour */
  81. }
  82.  
  83. body::-webkit-scrollbar-corner {
  84. background-color: #fff; /* changes scrollbar corner colour */
  85. }
  86.  
  87. /* CREDIT *//* CODE BY STRIVEATTEMPTFAIL */
  88. #cred { position: fixed; bottom: 10px; right: 5px; transition: all 0.75s ease-in-out; -webkit-transition: all 0.75s ease-in-out; -moz-transition: all 0.75s ease-in-out; }
  89.  
  90. #cred:hover { transform: translate(0,-10px); -webkit-transform: translate(0,-10px); -moz-transform: translate(0,-10px); }
  91.  
  92. #cred a { background: #fff; color: #000; text-decoration: none; padding: 3px; }
  93.  
  94. </style>
  95. </head>
  96.  
  97. <body>
  98.  
  99. <!------------CODE BY STRIVEATTEMPTFAIL, please don't steal------------>
  100.  
  101. <div id="main">
  102.  
  103. <div id="header">
  104. <h1>Navigation</h1>
  105. Enjoy some tags
  106. <br><a href="/">Back to blog</a><a href="/ask">Ask</a>
  107. </div>
  108.  
  109. <!------------CODE BY STRIVEATTEMPTFAIL, please don't steal------------>
  110.  
  111. <div id="main2">
  112.  
  113. <!--- left container start --->
  114. <div class="container" style="float:left">
  115. <div class="header"><div class="h1">Header 1</div></div>
  116. <div class="links">
  117. <!--- insert links etc here --->
  118. <a href="/">link</a>
  119. </div></div>
  120. <!--- left container end --->
  121.  
  122. <!--- right container start --->
  123. <div class="container" style="float:right">
  124. <div class="header">
  125. <div class="h1">Header 2</div></div>
  126. <div class="links">
  127. <!--- insert links etc here --->
  128. <a href="/">link</a>
  129. </div></div>
  130. <!--- right container end --->
  131.  
  132. <!----------------------------THEME CREDIT---------------------------->
  133. <div id="cred"><a href="http://striveattemptfail.tumblr.com" title="theme credit" />&#9903;</a></div>
  134.  
  135. </div>
  136. </div>
  137.  
  138. </body>
  139. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement