Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Featured Block - Video Section</title>
- <style>
- /*** Demo ***/
- *{box-sizing:border-box;}
- body{width:100%;margin:0 auto;}
- .credits{width:90%;position:fixed;bottom:0;left:0;text-align:right;padding:.5em .6em .7em;font-size:14px;}
- /***End Demo ***/
- /*** Used in Design - Do copy***/
- *{box-sizing: border-box;}.drow:before,.drow:after{content: "";clear: both;display: inline-table;}[class*="gr-"] {float: left;padding: 15px;border: 0px solid red;}.gr-1 {width: 8.33%;}.gr-2 {width: 16.66%;}.gr-3 {width: 25%;}.gr-4 {width: 33.33%;}.gr-5 {width: 41.66%;}.gr-6 {width: 50%;}.gr-7 {width: 58.33%;}.gr-8 {width: 66.66%;}.gr-9 {width: 75%;}.gr-10 {width: 83.33%;}.gr-11 {width: 91.66%;}.gr-12 {width: 100%;}.no{padding:0;}.tleft {text-align:left;}.tright {text-align:right;}.tcenter {text-align:center;}.tfleft {float:left;}.tfright {float:right;}.imgresp img, img.imgresp{display:block;width:100%;height:auto;margin:0 auto;}
- .maxcontainer{display:block;width:100%;height:auto;float:none;clear:both;font-family:-apple-system, BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue", Arial, sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}
- .premone{box-shadow:inset 0 0 1px #000;overflow:hidden;padding:0;background-color:#ececec;transform:scale(0.95);border-radius:5px;}
- .premone p{display:block;width:80%;height:auto;margin:0 auto;box-sizing:border-box;padding:1.2em 2.5em 1.2em;font-family:-apple-system, BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue", Arial, sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#F7CE93;}
- .premone h3{display:block;width:90%;height:auto;margin:0 auto;box-sizing:border-box;padding:.7em 1.5em .2em;font-family:-apple-system, BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue", Arial, sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#CBA343;font-weight:500;}
- .premone span.subs{display:block;width:100%;height:auto;margin:0 auto;box-sizing:border-box;padding:.2em 0 .2em;font-family:-apple-system, BlinkMacSystemFont,"Segoe UI","Roboto","Helvetica Neue", Arial, sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:#555;font-size:14px;text-align:right;font-weight:100;}
- .premone h3{font-size:18px;text-transform:uppercase;text-shadow:0 0 0 #000;letter-spacing:3px;line-height:2em;transform:translateY(-14px);}
- .premone p{font-size:14px;margin-bottom:12px;}
- .premone{background-color:rgba(0,0,0,0.0);transition:ease-in-out .4s;}
- .premone:hover{background: rgb(180,58,122);
- background: -moz-linear-gradient(288deg, rgba(180,58,122,1) 0%, rgba(2,49,70,1) 100%);
- background: -webkit-linear-gradient(288deg, rgba(180,58,122,1) 0%, rgba(2,49,70,1) 100%);
- background: linear-gradient(288deg, rgba(180,58,122,1) 0%, rgba(2,49,70,1) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b43a7a",endColorstr="#023146",GradientType=1);outline: 1px solid #CBA343;outline-offset: -11px;}
- .rol{display:block;width:200px;height:auto;padding:.3em 2em .4em;text-align:left;transform:rotate(-35deg) translate(-30px, -11px);text-transform:uppercase;box-shadow:0 1px 3px #000;}
- .gratuit{font-size:13px;background-color:#777;text-indent:12px;color:#fff;text-decoration:none;}
- .clickit span{color:#666;padding:.3em 1.5em .3em;border:1px solid #222;border-radius:35px;}
- .premone:hover .gratuit{text-decoration:none;background-color:#090;}
- .premone:hover span.subs,.premone:hover .clickit span{color:#f1f1f1;text-shadow: 0 1px 1px #000;}
- .premone:hover .clickit span{border:1px solid #fff;border-radius:35px;}
- .premone:hover h3{color:#fff;text-shadow: 0 0 14px #F6C;}
- .aratabutoanele{padding:.1em 0 .8em;}
- .aratabutoanele a, .aratabutoanele a:visited{padding:.7em 1.6em .7em;text-align:center;background-color:#fff;color:#777;text-decoration:none;font-size:11px;text-transform:uppercase;border-radius:40px 40px 40px 40px;box-shadow:0 0 3px #888;}
- .aratabutoanele a:hover,.aratabutoanele a:focus{text-shadow:0 0 1px #000;background-color:#F6C;color:#fff;text-decoration:none;box-shadow:0 1px 1px rgba(255,255,255,0.60),0 2px 3px rgba(255,255,255,0.40),inset 0 1px 3px rgba(0,0,0,1.0);}
- @media only screen and (max-width: 748px) and (min-width: 300px){[class*="gr-"] {width:100%;}.premone,.premone p,.premone h3,.premone span.subs,#modelapp{text-align:center;}#modelapp [class*="gr-"] {width:100%;}}
- @media only screen and (max-width: 980px) and (min-width: 300px){[class*="gr-"] {width:100%;}.premone,.premone p,.premone h3,.premone span.subs,#indexapp{text-align:center;}#modelapp [class*="gr-"] {width:100%;}}
- @media only screen and (max-width: 1000px) and (min-width: 300px){[class*="gr-"] {width:100%;}.premone,.premone p,.premone h3,.premone span.subs,#indexapp{text-align:center;}#modelapp [class*="gr-"] {width:100%;}}
- /***Used in Design - End of Do copy***/
- </style>
- </head>
- <body>
- <!-- Do Copy -->
- <div id="modelapp">
- <!-- container 1 -->
- <div class="maxcontainer">
- <div class="drow">
- <div class="gr-6 no premone">
- <span class="rol gratuit">featured</span>
- <div class="gr-12 imgresp tcenter"><img src="https://raw.githubusercontent.com/cssmfc/camgirl-obs/master/assets/vdwide.png"/></div>
- <div class="gr-12 bgoverlay tright">
- <h3><span>Video Title</span>
- <span class="subs">A very short description of this recorded video clip</span>
- </h3>
- <div class="drow aratabutoanele">
- <div class="gr-6 tleft">
- <p class="clickit"><span>10:25</span></p>
- </div>
- <div class="gr-6">
- <p class="clickit"><a href="#">Buy Video</a></p>
- </div>
- </div>
- </div>
- </div>
- <div class="gr-6 no premone">
- <span class="rol gratuit">featured</span>
- <div class="gr-12 imgresp tcenter"><img src="https://raw.githubusercontent.com/cssmfc/camgirl-obs/master/assets/vdwide.png"/></div>
- <div class="gr-12 bgoverlay tright">
- <h3><span>Video Title</span>
- <span class="subs">A very short description of this recorded video clip</span>
- </h3>
- <div class="drow aratabutoanele">
- <div class="gr-6 tleft">
- <p class="clickit"><span>10:25</span></p>
- </div>
- <div class="gr-6">
- <p class="clickit"><a href="#">Buy Video</a></p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--/ container 1 -->
- <!--/ End of Do Copy -->
- <!-- Do Not Copy -->
- <div class="maxcontainer">
- <div class="gr-12 tcenter">
- <h3>Featured Videos Section</h3>
- <p>An amazing opportunity to showcase some of the best recorded videos within MFC profile page</p>
- <p><strong>Notes to other web designers:</strong>
- <br>
- 1. The layout can support an unlimited number of featured images but my suggestion is to duplicate/multiply the entire section which contains 2 elements rather than duplicate a single element multiple times.
- <br>
- 2. I'm using <code>gr-</code> class for block elements so if you are familiar with bootstrap, you'll understand the usability.
- <br>
- 3. If you change or add new classes, make sure none of them are in conflict with platform's core Class or ID elements</p>
- <p><strong>Notes to webcam performers:</strong>
- <br>
- 1. The markup code is simple enough to work if copy/paste. Keep in mind to replace your image url within <code>HTML</code> markup and DO NOT forget to add both the CSS and HTML to your profile page.<br>
- 2. Want to remove the "featured" ribbon? Simply remove the snippet code from the HTML markup<br>
- <mark><span class="rol gratuit">featured</span></mark> <br>
- ..or edit the css class <code>.rol{display:block;...}</code> to <code>.rol{display:none;...</code>
- </p>
- </div>
- </div>
- </div>
- <div class="credits"><a href="https://camgirl.cloud/editor/" target="_blank">@CamgirlCloud</a></div>
- <!--/ End of Do Not Copy -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement