odeysseus_thm

tags / ANCHOR

Oct 4th, 2018
3,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6.  
  7.  
  8. anchor nav
  9.  
  10. @odeysseus
  11.  
  12.  
  13.  
  14.  
  15. -->
  16.  
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19.  
  20. <title>navigation</title>
  21.  
  22. <style type="text/css">
  23.  
  24. * { margin:0;padding:0;box-sizing:border-box; }
  25. iframe.tmblr-controls { display:none!important; }
  26.  
  27. @-webkit-keyframes fadein {
  28. 0% {opacity: 0;}
  29. 100% { opacity: 1; }
  30. }
  31.  
  32. @-moz-keyframes fadein {
  33. 0% { opacity: 0; }
  34. 100% { opacity: 1; }
  35. }
  36.  
  37. @keyframes fadein {
  38. 0% { opacity: 0; }
  39. 100% { opacity: 1; }
  40. }
  41.  
  42. .tmblr-iframe { display:none; } /* to hide tumblr controls */
  43.  
  44. a { text-decoration:none;color:#767676;transition:0.15s ease-in;}
  45. a:hover { color:#333;cursor:help; }
  46. b,strong { color:#333; /* bold text */ }
  47.  
  48. body {
  49. background:#fff;
  50. font-family:'Georgia',serif; /*font*/
  51. font-size:12px; /* font size */
  52. line-height:190%;
  53. font-weight:300;
  54. color:#767676; /* text color */
  55. -webkit-animation: fadein 1s;
  56. -moz-animation: fadein 1s;
  57. animation: fadein 1s;
  58. -moz-osx-font-smoothing:grayscale;
  59. -webkit-font-smoothing:antialiased;
  60. font-smoothing:antialiased;
  61.  
  62. }
  63.  
  64. section {
  65. margin:150px;
  66. width:500px;
  67. }
  68.  
  69. h1,h2 {
  70. font-weight:400;
  71. color:#333;
  72. margin-bottom:5px;
  73. }
  74.  
  75. h1 { font-size:20px; }
  76. h2 { font-size:16px;margin-bottom:10px; }
  77.  
  78. article {
  79. margin-top:40px;
  80. padding-top:40px;
  81. border-top:1px solid #eee;
  82. display:block;
  83. }
  84.  
  85. article a { position:relative; }
  86. nav { margin-top:5px; }
  87.  
  88. article a:after {
  89. content:' . ';
  90. margin:0 5px;
  91. }
  92.  
  93. article a:hover:after { color:#767676!important; }
  94. article a:last-of-type:after { content:''; }
  95.  
  96.  
  97. article a:before {
  98. content:'';
  99. height:1px;
  100. position:absolute;
  101. width:0;
  102. margin-top:12px;
  103. background:transparent;
  104. transition:width .35s ease, background-color .35s ease;
  105. }
  106.  
  107. article a:hover:before {
  108. width:calc(100% - 18px);
  109. background:#333;
  110. }
  111.  
  112. .anchor { bottom:27px;right:27px;position:fixed; }
  113. </style>
  114. </head>
  115. <body>
  116. <section>
  117. <header> <!--header-->
  118. <h1>navigation</h1> <!--heading-->
  119. <nav><!--links-->
  120. <a href="#!">home</a> .
  121. <a href="#!">dash</a> .
  122. <a href="#!">inbox</a>
  123. <!--end links--></nav>
  124. </header>
  125.  
  126. <!--example tag box, copy and paste as needed-->
  127. <article>
  128. <h2>category one</h2> <!--heading-->
  129.  
  130. <a href="/tagged/tag-name"> tag </a>
  131. <a href="/tagged/tag-name"> tag </a>
  132. <a href="/tagged/tag-name"> tag </a>
  133. <a href="/tagged/tag-name"> tag </a>
  134.  
  135. </article>
  136. <!--end example box-->
  137.  
  138. <!--example tag box-->
  139. <article>
  140. <h2>category one</h2> <!--heading-->
  141.  
  142. <a href="/tagged/tag-name"> tag </a>
  143. <a href="/tagged/tag-name"> tag </a>
  144. <a href="/tagged/tag-name"> tag </a>
  145. <a href="/tagged/tag-name"> tag </a>
  146.  
  147. </article>
  148. <!--end example box-->
  149.  
  150. </section>
  151.  
  152. <div class="anchor"><a href="http://odeysseus.tumblr.com">O</a></div>
  153. </body>
  154. </html>
Advertisement
Add Comment
Please, Sign In to add comment