HendrixRPH

Relax Theme

Aug 2nd, 2015
4,718
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <title>relax theme</title>
  5. <link rel="shortcut icon" href="{Favicon}">
  6.  
  7. <!-- Relax theme by hendrixrph. Feel free to change the colors/fonts/whatever, just don't remove credit and don't redistribute. Enjoy! -->
  8.  
  9. <link href="http://cdn.rawgit.com/noelboss/featherlight/1.3.2/release/featherlight.min.css" type="text/css" rel="stylesheet" title="Featherlight Styles" />
  10. <script src="http://code.jquery.com/jquery-latest.js"></script>
  11. <script src="http://cdn.rawgit.com/noelboss/featherlight/1.3.2/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script>
  12.  
  13. <link href='http://fonts.googleapis.com/css?family=Muli:400,400italic,300,300italic' rel='stylesheet' type='text/css'>
  14.  
  15. <style>
  16. @media all {
  17. .lightbox { display:none; }
  18. }
  19.  
  20. ::-webkit-scrollbar {width: 6px; height: 3px; background: #FFFFFF;}
  21. ::-webkit-scrollbar-thumb {background-color:#ddd ;}
  22.  
  23. * {
  24. margin:0;
  25. padding:0;
  26. }
  27.  
  28. .header {
  29. width:610px;
  30. margin:10px auto;
  31. }
  32.  
  33. .nav {
  34. list-style-type:none;
  35. width:100%;
  36. text-align:center;
  37. margin:10px auto;
  38. }
  39.  
  40. .nav li {
  41. display:inline-block;
  42. margin:0 15px;
  43. min-width:40px;
  44. }
  45.  
  46. .nav li a {
  47. text-decoration:none;
  48. color:#444;
  49. text-transform:lowercase;
  50. font-family:"Muli", Arial, Helvetica, sans-serif;
  51. font-size:13px;
  52. transition:0.5s all;
  53. }
  54.  
  55. .nav li a:hover {
  56. color:#888;
  57. }
  58.  
  59. .header h1 {
  60. text-align:center;
  61. font-family:"Muli", Arial, Helvetica, sans-serif;
  62. font-weight:300;
  63. text-transform:lowercase;
  64. letter-spacing:2px;
  65. font-size:40px;
  66. color:#3e9ac1;
  67. }
  68.  
  69. .wrapper {
  70. width:610px;
  71. margin:20px auto;
  72. }
  73.  
  74. .character {
  75. width:100px;
  76. height:100px;
  77. border:1px solid #ccc;
  78. float:left;
  79. padding:10px;
  80. margin:15px;
  81. background:white;
  82. display:block;
  83. position:relative;
  84. }
  85.  
  86. .charname {
  87. position:absolute;
  88. margin:0px auto;
  89. top:44%;left:0;
  90. width:100%;
  91. text-align:center;
  92. opacity:0;
  93. transition:0.5s all;
  94. color:rgba(255,255,255,1);
  95. text-decoration:none;
  96. font-family:"Muli", Arial, Helvetica, sans-serif;
  97. font-size:11px;
  98. font-style:italic;
  99. letter-spacing:1px;
  100. text-shadow:1px 1px 3px rgba(0,0,0,0.7);
  101. }
  102.  
  103. .character:hover .charname {
  104. opacity:1;
  105. transition:0.5s all;
  106. }
  107.  
  108. .icon {
  109. height:100px;
  110. width:100px;
  111. }
  112.  
  113. .clear {
  114. clear:both;
  115. }
  116.  
  117. .featherlight-content {
  118. width:700px;
  119. height:450px;
  120. }
  121.  
  122. .charbox {
  123. position:relative;
  124. font-family:"Muli", Arial, Helvetica, sans-serif;
  125. }
  126.  
  127. .portrait {
  128. width:250px;
  129. height:450px;
  130. left:0;
  131. position:absolute;
  132. }
  133.  
  134. .bio {
  135. width:400px;
  136. height:450px;
  137. left:275px;
  138. position:absolute;
  139. overflow-y:auto;
  140. overflow-x:hidden;
  141. padding:0 10px;
  142. font-size:13px;
  143. line-height:1.35em;
  144. font-weight:300;
  145. color:#444;
  146. }
  147.  
  148. .bio p, .bio ol, .bio ul {
  149. margin:10px 0;
  150. }
  151.  
  152. .bio h1, .bio h2, .bio h3 {
  153. color:#3e9ac1;
  154. }
  155.  
  156. .bio h1 {
  157. padding-top:10px;
  158. font-size:30px;
  159. }
  160.  
  161. .bio h2 {
  162. padding-top:10px;
  163. font-size:24px;
  164. }
  165.  
  166. .bio ol, .bio ul {
  167. margin-left:20px;
  168. }
  169.  
  170. .bio blockquote {
  171. margin:10px auto;
  172. background:#eee;
  173. padding:10px;
  174. max-width:300px;
  175. }
  176.  
  177. .bio a {
  178. color:#3e9ac1;
  179. transition:0.5s all;
  180. text-decoration:none;
  181. }
  182.  
  183. .bio a:hover {
  184. color:#a6d0e2;
  185. }
  186.  
  187.  
  188. </style>
  189.  
  190. </head>
  191. <body>
  192.  
  193. <div class="header">
  194. <h1>title</h1> <!-- page title -->
  195. <ul class="nav">
  196. <li><a href="#">Link 1</a></li>
  197. <li><a href="#">Link 2</a></li>
  198. <li><a href="#">Link 3</a></li>
  199. <li><a href="http://hendrixrph.tumblr.com">credit</a></li> <!-- DO NOT REMOVE CREDIT -->
  200. </ul>
  201. </div>
  202.  
  203. <div class="wrapper">
  204.  
  205. <!-- BEGIN COPY/PASTE -->
  206. <a class="character" href="#" data-featherlight="#char1"> <!-- Change the data-featherlight attribute to something unique. You'll need to match it in the id of the lightbox div below. -->
  207. <div class="charname">name</div> <!-- The word you get when you hover over the box. -->
  208. <img class="icon" src=""> <!-- The 100x100 image in the box. -->
  209. </a>
  210. <div class="lightbox" id="char1"> <!-- Make sure the id attribute matches what you put for data-featherlight above! -->
  211. <div class="charbox">
  212. <img class="portrait" src=""> <!-- The larger image inside the pop-up box. 250x450 px -->
  213. <div class="bio"> <!-- Here is where your bio information goes. -->
  214. <p>Character 1 Bio Goes Here</p>
  215. </div> <!-- END BIO -->
  216. </div> <!-- END CHARBOX -->
  217. </div><!-- END LIGHTBOX -->
  218. <!-- END COPY/PASTE -->
  219.  
  220. <!-- BEGIN COPY/PASTE -->
  221. <a class="character" href="#" data-featherlight="#char2"> <!-- Change the data-featherlight attribute to something unique. You'll need to match it in the id of the lightbox div below. -->
  222. <div class="charname">name</div> <!-- The word you get when you hover over the box. -->
  223. <img class="icon" src=""> <!-- The 100x100 image in the box. -->
  224. </a>
  225. <div class="lightbox" id="char2"> <!-- Make sure the id attribute matches what you put for data-featherlight above! -->
  226. <div class="charbox">
  227. <img class="portrait" src=""> <!-- The larger image inside the pop-up box. 250x450 px -->
  228. <div class="bio"> <!-- Here is where your bio information goes. -->
  229. <p>Character 2 Bio Goes Here</p>
  230. </div> <!-- END BIO -->
  231. </div> <!-- END CHARBOX -->
  232. </div><!-- END LIGHTBOX -->
  233. <!-- END COPY/PASTE -->
  234.  
  235.  
  236.  
  237. <!-- Do not put characters beyond this point -->
  238. <br class="clear" />
  239. </div>
  240.  
  241. </body>
  242. </html>
Advertisement
Add Comment
Please, Sign In to add comment