Home
Roleplay Profile Layouts
Your browser does not support the video tag.
CC#52MNS: Shadow Mirror
CSS
/* Last Update: 09/24/19 */ /* PAGE BACKGROUND AND FONT */ body { background:#b2beb5 repeating-linear-gradient(-30deg,transparent,#e5e4e2, transparent 32.5%) center / cover fixed; background:#b2beb5 -o-repeating-linear-gradient(-60deg,transparent,#e5e4e2, transparent 32.5%) center / cover fixed; background:#b2beb5 -moz-repeating-linear-gradient(-60deg,transparent,#e5e4e2, transparent 32.5%) center / cover fixed; background:#b2beb5 -webkit-repeating-linear-gradient(-60deg,transparent,#e5e4e2, transparent 32.5%) center / cover fixed; font-family:serif; } /* MAIN DISPLAY COLORS - NORMAL */ #box, #profile a { color:transparent; text-shadow:0 0 10px #111, 0 0 10px #111; } #mugshot { filter:blur(10px) brightness(25%) drop-shadow(35vw 0 10px transparent); -webkit-filter:blur(10px) brightness(25%) drop-shadow(35vw 0 10px transparent); } /* MAIN DISPLAY COLORS - AFTER TRANSITION */ #click-through:checked ~ #profile #mugshot { filter:blur(0) brightness(100%) drop-shadow(65vw 2px 4px #111); -webkit-filter:blur(0) brightness(100%) drop-shadow(65vw 2px 4px #111); } #click-through:checked ~ #profile #box { z-index:3; color:#000; text-shadow:0 0 5px #000; } #click-through:checked ~ #profile #fbox a { color:transparent; text-shadow:-3vw 0 4px #000, -3vw 0 5px #000; transition:1s; -o-transition:1s; -moz-transition:1s; -webkit-transition:1s; } #click-through:checked ~ #profile a, #click-through:checked ~ #profile #fbox a:hover { color:#ccc; text-shadow:0 0 1px #000, 0 0 10px #000, 0 0 10px #000; } #click-through:checked ~ #profile #box div a:hover { color:#fff; } /* GOOGLE CHROME SCROLLBARS */ ::-webkit-scrollbar { width:8px; height:8px; background-color:transparent; } #profile ::-webkit-scrollbar-thumb { background-color:transparent; } #click-through:checked ~ #profile ::-webkit-scrollbar-thumb { background-color:#111; box-shadow:0 0 5px #000; } /* TRANSITION SPEED */ #profile, #mugshot, #box, a { transition:2s; -o-transition:2s; -moz-transition:2s; -webkit-transition:2s; } /* CSS MEAT */ #click-through { z-index:3; left:0; width:100vw; opacity:0; cursor:pointer; } #click-through:checked { z-index:1; } #click-through, #profile { position:fixed; top:0; height:100vh; } #profile, #mugshot, #box { width:35vw; text-align:center; } #profile { z-index:2; left:3%; } #click-through:checked ~ #profile { width:71vw; } #mugshot{ z-index:2; position:absolute; top:10%; left:0; } #box { z-index:1; position:absolute; top:0; bottom:0; right:0; } #statbox, #infobox, #fbox, #obox { position:absolute; overflow-y:auto; } #statbox, #obox { top:0; padding:1vh 1vw; } #statbox, #qbox, #infobox { left:0; } #statbox { right:50%; bottom:55%; } #obox { left:50%; bottom:50%; } .stat { display:block; text-align:right; } .stat span { float:left; font-weight:bold; } #obox, #qbox, #fbox { right:0; } #qbox { position:absolute; top:45%; bottom:45%; padding:0 1vw; font-size:3.4vh; line-height:5vh; text-align:right; overflow:hidden; } #qbox span { display:block; max-height:5vh; width:50%; text-align:left; } #infobox, #fbox { top:55%; bottom:0; } #infobox { right:25%; padding:1vh 1vw; } #fbox { left:75%; padding:1vh 0; } #fbox a { display:block; position:relative; margin:0.6vh 0; } /* MOBILE COMPATIBILITY */ @media only screen and (orientation:portrait) { #profile, #mugshot, #box { width:100vw; } #mugshot { left:-25vw; opacity:0.4; } #profile { left:0; } #click-through:checked ~ #profile { width:100vw; } } #credit { z-index:4; position:fixed; right:0; bottom:0; border-radius:50% 50% 0; }
HTML
<input type="checkbox" name="selection" id="click-through"/> <div id="profile"> <img src="MAIN IMAGE URL HERE" alt="" id="mugshot"/> <div id="box"> <div id="statbox"> <h2>Stats</h2> <div class="stat"><span>Name:</span>Stat here</div> <div class="stat"><span>Species:</span>Stat here</div> <div class="stat"><span>Gender:</span>Stat here</div> <div class="stat"><span>Age:</span>Stat here</div> <div class="stat"><span>Hair:</span>Stat here</div> <div class="stat"><span>Eyes:</span>Stat here</div> <div class="stat"><span>Height:</span>Stat here</div> <div class="stat"><span>Weight:</span>Stat here</div> <div class="stat"><span>Build:</span>Stat here</div> <div class="stat"><span>Orientation:</span>Stat here</div> </div> <div id="obox"> <h2>OOC</h2> <ul> <li>Bullet one</li> <li>Bullet two</li> <li>Bullet three</li> <li>Bullet four</li> <li>Bullet five</li> <li>Bullet six</li> <li>Bullet seven</li> <li>Bullet eight</li> </ul> </div> <div id="qbox"> <span>"Welcome..."</span> "...to the world of shadows." </div> <div id="infobox"> <h2>About</h2> <a href="https://s-media-cache-ak0.pinimg.com/236x/48/f5/77/48f5778e2e42ee5df34b098ffce5cf26.jpg" target="_blank">Link</a> <p> Information and stuffity stuff stuff stufff. More stuuuufff. AND. MORE STUFF! Bippity boop bop biddly beep squap. Anyways, what do I usually do for examples when I need to fill space? OH YEAH! *ahem* Hello, people of Earth, I have come to devour you. Do not fear for it shall be a quick and painless death as I intake your entire planet. The sudden loss of atmospheric pressure and its protections will either freeze you in a millisecond or cause all of your blood to boil out of your body in a single instant. Hmm. I suppose that last one doesn't quite sound painless, but nonetheless it should be instantaneous. </p> </div> <div id="fbox"> <b><u>Friends</u></b> <a href="https://s-media-cache-ak0.pinimg.com/236x/48/f5/77/48f5778e2e42ee5df34b098ffce5cf26.jpg" target="_blank">Link</a> <a href="https://s-media-cache-ak0.pinimg.com/236x/48/f5/77/48f5778e2e42ee5df34b098ffce5cf26.jpg" target="_blank">Link</a> <a href="https://s-media-cache-ak0.pinimg.com/236x/48/f5/77/48f5778e2e42ee5df34b098ffce5cf26.jpg" target="_blank">Link</a> </div> </div> </div> <a href="https://tinyurl.com/fukase" target="_blank" title="CC#52"> <img src="https://dl.dropboxusercontent.com/s/qghc6relnx6ewmx/small-credit.png" id="credit"/> </a>