odeysseus_thm

progress / WINGS

Jan 28th, 2018
3,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <!------
  4.  
  5.  
  6.  
  7.  
  8. wings
  9.  
  10. @odeysseus
  11.  
  12.  
  13.  
  14.  
  15. ------>
  16. <title> title </title> <!--title-->
  17.  
  18.  
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. <link href="https://fonts.googleapis.com/css?family=Work+Sans" rel="stylesheet">
  22.  
  23. <style type="text/css">
  24.  
  25. * { margin:0;padding:0; }
  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.  
  43. @-webkit-keyframes flow {
  44. 0% {width:0;}
  45. 100% {width:100%;}
  46. }
  47.  
  48. @-moz-keyframes flow {
  49. 0% {width:0;}
  50. 100% {width:100%;}
  51. }
  52.  
  53. @keyframes flow {
  54. 0% {width:0;}
  55. 100% {width:100%;}
  56. }
  57.  
  58.  
  59. .tmblr-iframe { display:none; } a { transition:0.15s ease-in;-webkit-transition:0.15s ease-in;-moz-transition:0.15s ease-in;} .fuckchad a { bottom:27px;right:27px;position:fixed;border:0; } b,strong { color:#444; }
  60.  
  61.  
  62. body {
  63. background:#fff; /*background*/
  64. font-family:'Work Sans',sans-serif; /*font*/
  65. font-size:10px; /* font size */
  66. line-height:180%;
  67. color:#767676; /* text color */
  68. letter-spacing:.5px;
  69. -webkit-animation-name: fadein;-webkit-animation-duration: 1s;
  70. -moz-osx-font-smoothing:grayscale;
  71. -webkit-font-smoothing:antialiased;
  72. font-smoothing:antialiased;
  73.  
  74. }
  75.  
  76. a { color:#aaa; /*links*/ text-decoration:none; }
  77. a:hover { color:#444; /* link hover */ text-decoration:none;}
  78. header a { margin-right:5px;}
  79.  
  80. h1 { /* main heading */
  81. font-size:14px;
  82. color:#444;
  83. font-weight:400;
  84. }
  85.  
  86.  
  87. h2 { /* subheadings (for each progress bar) */
  88. font-size:11px;
  89. margin:-25px 0px 0px;
  90. font-weight:400;
  91. position:absolute;
  92.  
  93. }
  94.  
  95. header {
  96. margin:10px 0px 25px;
  97. padding:10px 0px 10px;
  98. border-bottom:1px solid #ededed;
  99. }
  100.  
  101.  
  102.  
  103. section {
  104. width:600px; /* 300px for one column, 900px for three */
  105. top:50%;left:50%;transform:translate(-50%,-50%);
  106. max-height:80vh;overflow-y:auto;position:fixed;
  107. }
  108.  
  109. article {
  110. margin:25px auto; /* adjust the 25px to change spacing */
  111. width:300px;
  112. background:#ededed; /* border color for progress bars */
  113. float:left;
  114. position:relative;
  115. height:1px;
  116. }
  117.  
  118. .bar {
  119. height:3px;
  120. position:absolute;
  121. background:#ccc;
  122. margin-top:-1px;
  123. -webkit-animation-name:flow;
  124. -webkit-animation-duration: 2s;
  125. }
  126.  
  127. .fill {
  128. content:'';
  129. height:1px;
  130. z-index:200000;
  131. right:0;
  132. border-top:1px solid #fff;
  133. border-bottom:1px solid #fff;
  134. background:#ededed; /* border color for progress bars */
  135. position:absolute;
  136. margin-top:-1px;
  137. }
  138.  
  139. /* progress bar colors - you can change these using colorpicker.com */
  140. article.red .bar { background:#ff9b9b;}
  141. article.orange .bar { background:#ffd39b; }
  142. article.yellow .bar { background:#faff82; }
  143. article.green .bar { background:#c1ffa3; }
  144. article.blue .bar { background:#c1eaff; }
  145. article.indigo .bar { background:#c1c3ff; }
  146. article.purple .bar { background:#ebd6ff; }
  147. article.pink .bar { background:#ffd3f0; }
  148. </style>
  149. </head>
  150. <body>
  151. <section>
  152. <header> <!--header-->
  153. <h1>works in progress</h1> <!--title-->
  154.  
  155. <!--links - add or delete as you wish-->
  156. <a href="/">home</a>
  157. <a href="/ask">request</a>
  158. <a href="http://tumblr.com/dashboard">dash</a>
  159.  
  160. <!--end header--> </header>
  161.  
  162. <!--example bar:
  163.  
  164. <article class="pink">
  165.  
  166. <h2>about page</h2>
  167. <div class="bar" style="width:50%"></div>
  168. <div class="fill" style="width:50%"></div>
  169.  
  170. </article>
  171.  
  172. explanation:
  173.  
  174. class="pink" can be changed to any of the colours (red,orange,etc) above </style> - this is the color of the progress bar
  175.  
  176. <h2> ... </h2> is the project name
  177.  
  178. <div class="bar" style="width:50%"></div> is where you input your progress, adjust the 50% as you wish.
  179.  
  180. <div class="fill" style="width:50%"></div> should be 100% minus your progress. so if my bar width is 40%, the fill width is 60%, and so on.
  181.  
  182. -->
  183.  
  184.  
  185. <article class="pink">
  186.  
  187. <h2> project name </h2>
  188. <div class="bar" style="width:30%"></div>
  189. <div class="fill" style="width:70%"></div>
  190.  
  191. </article>
  192.  
  193.  
  194.  
  195. <!--do not edit beyond this point-->
  196. </section> <div class="fuckchad"><a href="http://odeysseus.tumblr.com">O</a></div> </body> </html>
Advertisement
Add Comment
Please, Sign In to add comment