Advertisement
Guest User

Untitled

a guest
Jul 26th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>A Python Twitter Client | BonsaiDen</title>
  5. <link rel="shortcut icon" href="/images/favicon.ico">
  6. <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold">
  7. <link rel="stylesheet" href="/stylesheets/style.css">
  8.  
  9. // will get copied to a local file sooner or later
  10. <!--[if lt IE 9]>
  11. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  12. <![endif]-->
  13. </head>
  14.  
  15. <body>
  16.  
  17. // the content
  18. <article>
  19.  
  20. // quite some divs here
  21. <div>
  22. <div id="content"> // maybe use section?
  23.  
  24. // gets replaced via ajax
  25.  
  26. <header data-page="/atarashii">
  27. <h1 class="small">A Python Twitter Client</h1>
  28. <div class="external">
  29. <a href="https://github.com/BonsaiDen/Atarashii">Go to Project &#x27A4;</a>
  30. </div>
  31. <div class="clear"></div> // always hate these clear things...
  32. </header>
  33.  
  34. <div>
  35. <p>A Twitter Client for GNOME...</p>
  36. </div>
  37.  
  38. // ajax end
  39.  
  40. </div>
  41.  
  42. <div id="slideshow"> // maybe use section?
  43. <header>
  44. <h1 id="slideTitle">[SlideShowItem Title]</h1>
  45. </header>
  46.  
  47. <div id="slideContent">
  48. <p>[Slideshow Image]</p>
  49. </div>
  50. </div>
  51. <div class="clear"></div>
  52. </div>
  53. </article>
  54.  
  55.  
  56. <header>
  57.  
  58. // navigation, surprise!
  59. <nav>
  60.  
  61. // really happy with this
  62. <ul>
  63. <li class="left">
  64. <h1>Projects</h1>
  65. <ul>
  66. <li><a href="/garden">JavaScript Garden</a></li>
  67. <li><a href="/shooter">NodeGame: Shooter</a></li>
  68. <li><a href="/atarashii" class="active">Atarashii</a></li>
  69. </ul>
  70. </li>
  71.  
  72. <li>
  73. <h1>Code</h1>
  74. <ul>
  75. <li><a href="/neko">neko.js</a></li>
  76. <li><a href="/bison">BiSON.js</a></li>
  77. </ul>
  78. </li>
  79.  
  80. <li>
  81. <h1>Web</h1>
  82. <ul>
  83. <li><a href="/stackoverflow">Stack Overflow</a></li>
  84. <li><a href="/github">GitHub</a></li>
  85. <li><a href="/website">The Website</a></li>
  86. </ul>
  87. </li>
  88.  
  89. <li class="right">
  90. <h1>ME</h1>
  91. <ul class="info">
  92. <li><a href="/me">Ivo Wetzel</a></li>
  93. <li class="simple">
  94.  
  95. // div div div :/
  96. <div>
  97. <div id="picture">
  98. <img src="images/snufkin.png" alt="Ivo Wetzel"/>
  99. <a href="/me"></a>
  100. </div>
  101.  
  102. <ul>
  103. <li class="first"><a href="http://twitter.com/BonsaiDen">Twitter</a></li>
  104. <li><a href="mailto: ivo.wetzel@googlemail.com">E-Mail</a></li>
  105. </ul>
  106.  
  107. <div class="clear"></div>
  108. </div>
  109. </li>
  110. </ul>
  111. </li>
  112. </ul>
  113. </nav>
  114. </header>
  115.  
  116. // no real content so far but a background image thingy
  117. <footer></footer>
  118.  
  119. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  120. <script src="/javascripts/page.js"></script>
  121. </body>
  122. </html>
  123.  
  124. a {
  125. background: #fff;
  126. display: block;
  127. height: 128px;
  128. width: 128px;
  129. }
  130.  
  131. a img:hover {
  132. opacity: 0.9;
  133. }
  134.  
  135. nav {
  136. -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 -3px 0 rgba(0, 0, 0, 0.3);
  137. -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 -3px 0 rgba(0, 0, 0, 0.3);
  138. box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 -3px 0 rgba(0, 0, 0, 0.3);
  139. }
  140.  
  141. nav ul li {
  142. border-right: 4px solid #052C4F;
  143. }
  144.  
  145. nav ul li.right {
  146. border-right: 0;
  147. }
  148.  
  149. <meta charset="utf-8">
  150. <title>Coding. Clean and Functional. | BonsaiDen</title>
  151.  
  152. <nav>
  153. <h1>Navigation</h1>
  154.  
  155. <h2>Projects</h2>
  156. <ul>
  157. <li><a href="/garden">JavaScript&nbsp;Garden</a></li>
  158. <li><a href="/shooter">NodeGame:&nbsp;Shooter</a></li>
  159. <li><a href="/atarashii">Atarashii</a></li>
  160. </ul>
  161.  
  162. <h2>Code</h2>
  163. <ul>
  164. <li><a href="/neko">neko.js</a></li>
  165. <li><a href="/bison">BiSON.js</a></li>
  166. </ul>
  167.  
  168. <h2>Web</h2>
  169. <ul>
  170. <li><a href="/stackoverflow">Stack&nbsp;Overflow</a></li>
  171. <li><a href="/github">GitHub</a></li>
  172. <li><a href="/website">The&nbsp;Website</a></li>
  173. </ul>
  174.  
  175. <h1>ME</h1>
  176. <ul class="info">
  177. <li><a href="/me" class="">Ivo Wetzel</a></li>
  178. <li class="simple"><a id="picture" href="/me" class=""><img src="images/snufkin.png" alt="Ivo Wetzel"></a>
  179. <ul>
  180. <li class="first"><a href="http://twitter.com/BonsaiDen">Twitter</a></li>
  181. <li><a href="mailto:ivo.wetzel@googlemail.com">E-Mail</a></li>
  182. </ul>
  183. </li>
  184. </ul>
  185.  
  186. </nav>
  187.  
  188. /* >> The Magnificent CLEARFIX: http://j.mp/bestclearfix */
  189. .clearfix:before, .clearfix:after { content: "020"; display: block; height: 0; visibility: hidden; }
  190. .clearfix:after { clear: both; }
  191. /* fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
  192. .clearfix { zoom: 1; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement