Advertisement
altraviolence

page 06 - press play (playlist page ; v1 - column)

Aug 29th, 2017
2,842
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 7.08 KB | None | 0 0
  1. <html>
  2.  
  3. <!--
  4.  
  5. PRESS PLAY playlist page (06) by PEACHTHMS | peachthms.tumblr.com
  6. V1.0
  7. Version 1 - column
  8.  
  9. - do not claim this page or any of the code as your own
  10. - do not redistribute this page or any of the code as your own
  11. - do not mix my code with another theme maker's code
  12. - do not remove or edit the credit in anyway; it must remain visible in the code and on the page
  13.  
  14. -->
  15.  
  16. <head>
  17.  
  18. <title>press play</title>
  19.  
  20. <link rel="shortcut icon" href="{Favicon}">
  21.  
  22. <meta charset="UTF-8">
  23. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  24.  
  25. <script src="https://use.fontawesome.com/976063c1b7.js"></script>
  26.  
  27. <link href="https://fonts.googleapis.com/css?family=Montserrat:400,600|Open+Sans" rel="stylesheet">
  28.  
  29. <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
  30.  
  31. <style type="text/css">
  32.  
  33. * {
  34.     margin: 0;
  35.     padding: 0;
  36.     -webkit-font-smoothing: antialiased;
  37.     -moz-osx-font-smoothing: grayscale;
  38. }
  39.  
  40. body {
  41.     font-family: 'Montserrat', Helvetica, sans-serif;
  42.     color: #5d5d5d; /** change text colour **/
  43.     /** gradient background | change it to your own or delete if you don't want it **/
  44.     background: #f5c9ca; /** fallback background colour for older browsers **/
  45.     background: -moz-linear-gradient(top, #f5c9ca 0%, #a5abcd 100%); /* FF3.6-15 */
  46.     background: -webkit-linear-gradient(top, #f5c9ca 0%,#a5abcd 100%); /* Chrome10-25,Safari5.1-6 */
  47.     background: linear-gradient(to bottom, #f5c9ca 0%,#a5abcd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  48.     filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5c9ca', endColorstr='#a5abcd',GradientType=0 ); /* IE6-9 */
  49.     line-height: 1.4em;
  50. }
  51.  
  52. a {
  53.     text-decoration: none;
  54.     color: #ffffff;
  55. }
  56.  
  57. a:hover {
  58.     color: #5d5d5d;
  59.     transition-duration: 0.5s;
  60.     -moz-transition-duration: 0.5s;
  61.     -webkit-transition-duration: 0.5s;
  62. }
  63.  
  64. header {
  65.     width: calc(100% - 20px);
  66.     padding: 10px;
  67.     text-align: center;
  68. }
  69.  
  70. header a {
  71.     font-size: 10px;
  72.     text-transform: uppercase;
  73.     margin: 0 10px;
  74. }
  75.  
  76. header h1 {
  77.     color: #ffffff;
  78.     line-height: 2em;
  79. }
  80.  
  81. section {
  82.     margin: 0 auto;
  83. }
  84.  
  85. article {
  86.     width: 800px;
  87.     margin: 150px auto;
  88.     padding: 30px;
  89.     display: flex;
  90.     justify-content: space-between;
  91. }
  92.  
  93. .side {
  94.     width: 400px;
  95.     text-align: center;
  96. }
  97.  
  98. .side img {
  99.     width: 200px;
  100. }
  101.  
  102. .side b, .side span  {
  103.     display: block;
  104.     margin: 25px 0;
  105. }
  106.  
  107. .side a {
  108.     padding: 10px 15px 10px 15px;
  109.     background-color: #f5c9ca; /** change play button background colour here **/
  110.     color: #ffffff; /** change play button text colour here **/
  111.     font-size: 11px;
  112.     font-weight: bold;
  113.     text-transform: uppercase;
  114.     letter-spacing: 0.1em;
  115.     border-radius: 28px;
  116.     -moz-border-radius: 28px;
  117.     -webkit-border-radius: 28px;
  118. }
  119.  
  120. .side a:hover {
  121.     background-color: #ffffff; /** change hover play button background colour here **/
  122.     color: #f5c9ca; /** change hover play button text colour here **/
  123. }
  124.  
  125. .box {
  126.     width: 400px;
  127.     padding: 10px;
  128.     font-size: 15px;
  129. }
  130.  
  131. .box li {
  132.     margin-bottom: 10px;
  133.     padding-left: 10px;
  134. }
  135.  
  136. .box li:hover {
  137.     list-style: none;
  138. }
  139.  
  140. .box li:hover:before {
  141.     content: '\f028';
  142.     font-family: FontAwesome;
  143.     margin-left: -25px;
  144.     padding-right: 25px;
  145. }
  146.  
  147. .box li:last-of-type {
  148.     margin-bottom: 0px;
  149. }
  150.  
  151. .box span {
  152.     display: block;
  153.     font-size: 13px;
  154.     font-family: 'Open Sans', sans-serif;
  155. }
  156.  
  157. .credit {
  158.         position: fixed;
  159.         bottom: 15px;
  160.         right: 15px;
  161.         font-size: 8px;
  162. }
  163.  
  164. .credit a {
  165.     color: #5d5d5d;
  166. }
  167.  
  168. </style>
  169.  
  170. </head>
  171.  
  172. <body>
  173.  
  174. <div class="credit"><a href="http://peachthms.tumblr.com" title="theme by peachthms">< / ></a></div>
  175.  
  176. <header>
  177.     <h1>press play</h1> <!-- change title here -->
  178.     <a href="#">home</a>
  179.     <a href="#">ask</a>
  180.     <a href="#">link</a>
  181. </header>
  182.  
  183.  
  184. <section>
  185.  
  186.     <article>
  187.         <div class="side">
  188.             <img src="http://placehold.it/200x200">
  189.             <b>playlist name</b>
  190.             <span><a href="#">play</a></span> <!-- link your playlist -->
  191.         </div>
  192.  
  193.         <div class="box">
  194.             <ol>
  195.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  196.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  197.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  198.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  199.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  200.             </ol>
  201.         </div>
  202.     </article>
  203.  
  204.     <article>
  205.         <div class="side">
  206.             <img src="http://placehold.it/200x200">
  207.             <b>playlist name</b>
  208.             <span><a href="#">play</a></span> <!-- link your playlist -->
  209.         </div>
  210.  
  211.         <div class="box">
  212.             <ol>
  213.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  214.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  215.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  216.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  217.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  218.             </ol>
  219.         </div>
  220.     </article>
  221.  
  222.     <article>
  223.         <div class="side">
  224.             <img src="http://placehold.it/200x200">
  225.             <b>playlist name</b>
  226.             <span><a href="#">play</a></span> <!-- link your playlist -->
  227.         </div>
  228.  
  229.         <div class="box">
  230.             <ol>
  231.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  232.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  233.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  234.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  235.                 <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  236.             </ol>
  237.         </div>
  238.     </article>
  239.  
  240.     <!-- to add more playlists
  241.  
  242.    copy and paste above </section>
  243.  
  244.    <article>
  245.        <div class="side">
  246.            <img src="http://placehold.it/200x200">
  247.            <b>playlist name</b>
  248.            <span><a href="#">play</a></span>
  249.        </div>
  250.  
  251.        <div class="box">
  252.            <ol>
  253.                <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  254.                <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  255.                <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  256.                <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  257.                <li><b>song name</b> <span>artist name &mdash; ablum name</span></li>
  258.            </ol>
  259.        </div>
  260.    </article>
  261.  
  262.    -->    
  263.  
  264.  
  265. </section>
  266.  
  267. </body>
  268.  
  269. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement