Advertisement
NecromancerCoding

Info de Grupos

Apr 16th, 2019
1,258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.35 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3. <title>{Title} - Groups' Info</title>
  4. <meta name="description" content="Descripción"/>
  5. <meta charset="utf-8" />
  6. <link href="https://fonts.googleapis.com/css?family=Assistant:300,400,700,800" rel="stylesheet"/>
  7. <link href="//dl.dropbox.com/s/vpi3f9s7nhpe7v7/honeybee.css" rel="stylesheet"/>
  8. <!--Responsive CSS Tabs done by OK https://codepen.io/oknoblich-->
  9. <style>
  10. body{
  11.     background:#efefef;
  12.     text-align:center;
  13.     font:11px calibri;
  14. }
  15. main{
  16.     margin-top:20px;
  17. }
  18. input {
  19.   display: none;
  20. }
  21. label{
  22.     background:#fafafa;
  23.     width:100px;
  24.     height:100px;
  25.     display:inline-block;
  26.     padding:5px;
  27.     border:1px solid #ddd;
  28.     margin:5px;
  29.     position:relative;
  30. }
  31. label img{
  32.     width:100px;
  33.     height:100px;
  34. }
  35. label:before{
  36.     content:attr(name);
  37.     position:absolute;
  38.     width:100px;
  39.     height:100px;
  40.     top:5px;
  41.     left:5px;
  42.     background:rgba(255,255,255,0.7);
  43.     font:10px calibri;
  44.     line-height:100px;
  45.     text-transform:uppercase;
  46.     font-weight:bold;
  47.     color:#666;
  48.     opacity:0;
  49.     transition:0.3s ease;
  50. }
  51. label:hover:before{
  52.     opacity:1;
  53. }
  54. /*Remember to add more numbers if you need more than 8 groups*/
  55. #tab1:checked ~ #content1,
  56. #tab2:checked ~ #content2,
  57. #tab3:checked ~ #content3,
  58. #tab4:checked ~ #content4,
  59. #tab5:checked ~ #content5,
  60. #tab6:checked ~ #content6,
  61. #tab7:checked ~ #content7,
  62. #tab8:checked ~ #content8{
  63.   display: block;
  64. }
  65. section{
  66.     display:none;
  67.     background:#f4f4f4;
  68.     border:1px solid #ddd;
  69.     width:fit-content;
  70.     margin:20px auto 0;
  71. }
  72. .image{
  73.     width:200px;
  74.     height:400px;
  75.     display:inline-block;
  76.     vertical-align:top;
  77. }
  78. .text{
  79.     display:inline-block;
  80.     vertical-align:top;
  81.     width:300px;
  82.     height:400px;
  83. }
  84. h1{
  85.     height:40px;
  86.     background:#9374aa;
  87.     margin:0 auto;
  88.     font:14px 'Assistant';
  89.     font-weight:900;
  90.     text-transform:uppercase;
  91.     line-height:40px;
  92.     color:white;
  93.     text-shadow:2px 2px 0px rgba(0,0,0,0.2);
  94. }
  95. section p{
  96.     width:300px;
  97.     height:360px;
  98.     display:inline-block;
  99.     vertical-align:top;
  100.     line-height:15px;
  101.     box-sizing:border-box;
  102.     border:15px solid #f4f4f4;
  103.     text-align:justify;
  104.     margin:0 auto;
  105.     overflow:auto;
  106.     padding-right:3px;
  107. }
  108. *::selection{
  109.     background: #9374aa;
  110.     color: white;
  111. }
  112. .credit{
  113.         position:fixed;
  114.         bottom:0px;
  115.         right:0px;
  116.         background:rgba(255,255,255,0.8);
  117.         display:block;
  118.         width:50px;
  119.         height:50px;
  120.         font-size:20px;
  121.         line-height:50px;
  122.         text-decoration:none;
  123.         color:#9374aa;
  124.         opacity:0.7;
  125.         transition:ease 0.3s;
  126. }
  127. .credit:hover{
  128.         opacity:1;
  129. }
  130. ::-webkit-scrollbar {
  131.   width: 3px;
  132.   height: 3px;
  133. }
  134. ::-webkit-scrollbar-button {
  135.   width: 0px;
  136.   height: 0px;
  137. }
  138. ::-webkit-scrollbar-thumb {
  139.   background: #9374aa;
  140.   border-bottom: 1px solid #f4f4f4;
  141. }
  142. ::-webkit-scrollbar-track {
  143.   background: #9374aa;
  144.   border: 2px solid #f4f4f4;
  145. }
  146. </style>
  147. </head>
  148. <body>
  149. <main>
  150.  
  151.   <input id="tab1" type="radio" name="tabs" checked>
  152.   <label for="tab1" name="Description"><img src="http://placehold.it/100"/></label><input id="tab2" type="radio" name="tabs"><label for="tab2" name="Group 1"><img src="http://placehold.it/100"/></label><input id="tab3" type="radio" name="tabs"><label for="tab3" name="Group 2"><img src="http://placehold.it/100"/></label><input id="tab4" type="radio" name="tabs"><label for="tab4" name="Group 3"><img src="http://placehold.it/100"/></label>
  153.  
  154.   <!-- Add more tabs here, changing the number behind tab to the next number. eg: tab4 to tab5 -->
  155.  
  156.   <section id="content1">
  157. <div style="background-image:url(http://placehold.it/200x400)" class="image"></div><div class="text">
  158. <h1>Description and role of the groups</h1>
  159.     <p>
  160.       Jerky jowl pork chop tongue, kielbasa shank venison. Capicola shank pig ribeye leberkas filet mignon brisket beef kevin tenderloin porchetta. Capicola fatback venison shank kielbasa, drumstick ribeye landjaeger beef kevin tail meatball pastrami prosciutto pancetta. Tail kevin spare ribs ground round ham ham hock brisket shoulder. Corned beef tri-tip leberkas flank sausage ham hock filet mignon beef ribs pancetta turkey.<br/>
  161.       Jerky jowl pork chop tongue, kielbasa shank venison. Capicola shank pig ribeye leberkas filet mignon brisket beef kevin tenderloin porchetta. Capicola fatback venison shank kielbasa, drumstick ribeye landjaeger beef kevin tail meatball pastrami prosciutto pancetta. Tail kevin spare ribs ground round ham ham hock brisket shoulder. Corned beef tri-tip leberkas flank sausage ham hock filet mignon beef ribs pancetta turkey.<br/>
  162.       Jerky jowl pork chop tongue, kielbasa shank venison. Capicola shank pig ribeye leberkas filet mignon brisket beef kevin tenderloin porchetta. Capicola fatback venison shank kielbasa, drumstick ribeye landjaeger beef kevin tail meatball pastrami prosciutto pancetta. Tail kevin spare ribs ground round ham ham hock brisket shoulder. Corned beef tri-tip leberkas flank sausage ham hock filet mignon beef ribs pancetta turkey.
  163.     </p>
  164.     </div>
  165.   </section>
  166.  
  167.   <section id="content2">
  168. <div style="background-image:url(http://placehold.it/200x400)" class="image"></div><div class="text">
  169. <h1 style="background-color:#948a7a">Name of the group</h1>
  170.     <p>
  171.       Jerky jowl pork chop tongue, kielbasa shank venison. Capicola shank pig ribeye leberkas filet mignon brisket beef kevin tenderloin porchetta. Capicola fatback venison shank kielbasa, drumstick ribeye landjaeger beef kevin tail meatball pastrami prosciutto pancetta. Tail kevin spare ribs ground round ham ham hock brisket shoulder. Corned beef tri-tip leberkas flank sausage ham hock filet mignon beef ribs pancetta turkey.
  172.     </p>
  173.     </div>
  174.   </section>
  175.  
  176.   <section id="content3">
  177. <div style="background:url(http://placehold.it/200x400)" class="image"></div><div class="text">
  178. <h1 style="background-color:#aa7471">Name of the group</h1>
  179.     <p>
  180.       Jerky jowl pork chop tongue, kielbasa shank venison. Capicola shank pig ribeye leberkas filet mignon brisket beef kevin tenderloin porchetta. Capicola fatback venison shank kielbasa, drumstick ribeye landjaeger beef kevin tail meatball pastrami prosciutto pancetta. Tail kevin spare ribs ground round ham ham hock brisket shoulder. Corned beef tri-tip leberkas flank sausage ham hock filet mignon beef ribs pancetta turkey.
  181.     </p>
  182.     </div>
  183.   </section>
  184.  
  185.   <section id="content4">
  186. <div style="background-image:url(http://placehold.it/200x400)" class="image"></div><div class="text">
  187. <h1 style="background-color:#48aa84">Name of the group</h1>
  188.     <p>
  189.       Jerky jowl pork chop tongue, kielbasa shank venison. Capicola shank pig ribeye leberkas filet mignon brisket beef kevin tenderloin porchetta. Capicola fatback venison shank kielbasa, drumstick ribeye landjaeger beef kevin tail meatball pastrami prosciutto pancetta. Tail kevin spare ribs ground round ham ham hock brisket shoulder. Corned beef tri-tip leberkas flank sausage ham hock filet mignon beef ribs pancetta turkey.
  190.     </p>
  191.     </div>
  192.   </section>
  193. <!--Put more section groups in here. Change the number in the id to the next one. eg: content4 to content5-->
  194. </main>
  195. <!--Don't delete the credit-->
  196.     <a href="http://necromancercoding.tumblr.com/" title="Page Credit" class="credit"><span class="th th-fish-bone"></span></a>
  197. </body>
  198. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement