-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
1 lines (1 loc) · 7.3 KB
/
style.css
1
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--gap:clamp(10px,1.5vw,20px);--color-bg:#191919;--color-bg-shade:#232323;--color-txt:#fff;--color-bg-item:#292929}html{-webkit-box-sizing:border-box;box-sizing:border-box;overflow-y:scroll;scroll-behavior:smooth;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:20px;font-size:clamp(16px,1.5vw,20px);line-height:1.25;background:var(--color-bg);color:var(--color-txt);background:-o-radial-gradient(circle,transparent 20%,var(--color-bg) 20%,var(--color-bg) 80%,transparent 80%,transparent),-o-radial-gradient(circle,transparent 20%,var(--color-bg) 20%,var(--color-bg) 80%,transparent 80%,transparent) 25px 25px,-o-linear-gradient(var(--color-bg-shade) 2px,transparent 2px) 0 -1px,-o-linear-gradient(left,var(--color-bg-shade) 2px,var(--color-bg) 2px) -1px 0;background:radial-gradient(circle,transparent 20%,var(--color-bg) 20%,var(--color-bg) 80%,transparent 80%,transparent),radial-gradient(circle,transparent 20%,var(--color-bg) 20%,var(--color-bg) 80%,transparent 80%,transparent) 25px 25px,linear-gradient(var(--color-bg-shade) 2px,transparent 2px) 0 -1px,linear-gradient(90deg,var(--color-bg-shade) 2px,var(--color-bg) 2px) -1px 0;background-size:50px 50px,50px 50px,25px 25px,25px 25px}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}*{border-color:inherit}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}h1,h2{color:inherit}h1{padding:1em 2%;margin:0;font-size:1.5em;font-weight:300;text-align:center}h1 a{font-weight:700}h2{margin:0 0 1.25em;font-size:1em;font-weight:700}a{color:inherit;text-decoration:none}small{display:block;margin-top:0.5em;font-size:0.618em;font-weight:400;text-transform:uppercase;opacity:0.66}figure{--radius:4px;--bezel:5px;--monitor:clamp(10px,2vw,20px);--bezel-color:#020202;--monitor-color:#444;position:relative;padding-bottom:var(--monitor);margin:auto 0 var(--monitor);background:var(--monitor-color);border-radius:var(--radius);-webkit-transform:scale(0.9) translateX(25%) translateY(-5%) perspective(800px) rotateY(-20deg);transform:scale(0.9) translateX(25%) translateY(-5%) perspective(800px) rotateY(-20deg);-webkit-transform-origin:50% 75%;-ms-transform-origin:50% 75%;transform-origin:50% 75%;-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;-o-transition:transform 0.3s;transition:transform 0.3s;transition:transform 0.3s,-webkit-transform 0.3s;will-change:transform}figure:after,figure:before{content:"";position:absolute;width:22.5%;height:var(--monitor);left:50%;bottom:calc(-1 * var(--monitor));background-color:var(--monitor-color);background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0.25)),color-stop(50%,rgba(0,0,0,0)),color-stop(75%,rgba(0,0,0,0)),to(rgba(0,0,0,0.25)));background-image:-o-linear-gradient(top,rgba(0,0,0,0.25),rgba(0,0,0,0) 50%,rgba(0,0,0,0) 75%,rgba(0,0,0,0.25));background-image:linear-gradient(to bottom,rgba(0,0,0,0.25),rgba(0,0,0,0) 50%,rgba(0,0,0,0) 75%,rgba(0,0,0,0.25));-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}figure:before{-webkit-clip-path:polygon(0 100%,100% 100%,95% 0,5% 0);clip-path:polygon(0 100%,100% 100%,95% 0,5% 0)}figure:after{width:27.5%;height:3px;margin-top:calc(var(--monitor) - 3px);background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0.15)),to(rgba(0,0,0,0.15)));background-image:-o-linear-gradient(top,rgba(0,0,0,0.15),rgba(0,0,0,0.15));background-image:linear-gradient(to bottom,rgba(0,0,0,0.15),rgba(0,0,0,0.15));border-radius:2px}img{position:relative;max-width:100%;vertical-align:top;background:var(--bezel-color);border:var(--bezel) solid var(--bezel-color);border-radius:var(--radius) var(--radius) 0 0;-webkit-box-shadow:inset 0 0 1px 1px var(--bezel-color);box-shadow:inset 0 0 1px 1px var(--bezel-color)}section{display:-webkit-box;display:-ms-flexbox;display:flex;gap:var(--gap);-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:2%;margin:0 auto;list-style:none;pointer-events:none}article{--shadow-blur:5px;position:relative;width:40vw;max-width:12em;background:var(--color-bg-item);-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,0.8),3px 3px 0 0 var(--color-bg-item),3px 3px var(--shadow-blur) 0 rgba(0,0,0,0.5);box-shadow:0 0 3px 0 rgba(0,0,0,0.8),3px 3px 0 0 var(--color-bg-item),3px 3px var(--shadow-blur) 0 rgba(0,0,0,0.5);overflow:hidden;pointer-events:auto;-webkit-transition:background 0.3s,color 0.3s,-webkit-box-shadow 0.3s,-webkit-transform 0.3s;transition:background 0.3s,color 0.3s,-webkit-box-shadow 0.3s,-webkit-transform 0.3s;-o-transition:background 0.3s,color 0.3s,box-shadow 0.3s,transform 0.3s;transition:background 0.3s,color 0.3s,box-shadow 0.3s,transform 0.3s;transition:background 0.3s,color 0.3s,box-shadow 0.3s,transform 0.3s,-webkit-box-shadow 0.3s,-webkit-transform 0.3s;will-change:background,color,box-shadow,transform}article:focus-within,article:hover{--shadow-blur:20px;-webkit-transform:translateY(-0.2em);-ms-transform:translateY(-0.2em);transform:translateY(-0.2em);z-index:99}article:focus-within figure,article:hover figure{-webkit-transform:none;-ms-transform:none;transform:none}article a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;height:100%;padding:var(--gap);overflow:hidden}.suffix{font-size:0.809em;font-weight:400}