Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/autonome/scratchpad.
Something went wrong. Try again.
scratchpad darkbox.css
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225@font-face { font-family: 'ServerMono'; src: url('./fonts/ServerMono-Regular.otf');}
:root { --font-family: ServerMono;}
@media (prefers-color-scheme: light) { :root { --text: #17141f; --background: #faf9fb; --primary: #000000; --secondary: #000000; --accent: #000000; }}
@media (prefers-color-scheme: dark) { :root { --text: #e3e0eb; --background: #050406; --primary: #ffffff; --secondary: #ffffff; --accent: #ffffff; }}
/* Animate containers to see when they re-render */div { animation: show 1000ms 100ms 1 forwards; box-shadow: 0px 0px 0px 5px red; margin: 0.5em;}
@keyframes show { 100% { box-shadow: 0px 0px 0px 0px #FC5185; }}
* { box-sizing: border-box;}
* { font-family: var(--font-family);}
html { display: flex; justify-content: center; align-items: center;}
html,body { padding: 1rem; margin: 0; font-family: var(--font-family); color: var(--text); background-color: var(--background);}
.container { display: flex; flex-direction: column; justify-content: space-between;}
div, h1 { /* border: solid 1px white; */}
.header { margin: 0; padding: 0; display: flex; justify-content: space-between; flex-direction: row; align-items: flex-start;}
h1, div { padding: 0.5rem; max-width: 40rem;}
h1 { padding-top: 0; margin-top: 0;}
.form-container { padding: 0; border-radius: 3px; max-width: 40rem;}.form-row { display: flex; justify-content: flex-end;}.form-row.buttons { justify-content: space-between;}.form-row > label { padding: .5em 1em .5em 0; flex: 1;}.form-row > input { flex: 2;}.form-row > input,.form-row > button { padding: .5em;}.form-row > button { background: gray; color: white; border: 0;}
/* name / url */input { padding: 0.2rem;}
button { /*margin-right: 0.2rem;*/}
/* log */details, summary { font-size: small; font-style: italic;}
.footer { font-size: x-small;}
.animating { animation: lds-grid 1.2s linear infinite;}
.lds-grid,.lds-grid div { box-sizing: border-box;}.lds-grid { padding: 0; margin: 0; display: inline-block; position: relative; min-width: 80px; height: 80px;}.lds-grid div { padding: 0; margin: 0; position: absolute; min-width: 16px; height: 16px; border-radius: 50%; background: currentColor; /*animation: lds-grid 1.2s linear infinite;*/}.lds-grid div:nth-child(1) { top: 8px; left: 8px; animation-delay: 0s;}.lds-grid div:nth-child(2) { top: 8px; left: 32px; animation-delay: -0.4s;}.lds-grid div:nth-child(3) { top: 8px; left: 56px; animation-delay: -0.8s;}.lds-grid div:nth-child(4) { top: 32px; left: 8px; animation-delay: -0.4s;}.lds-grid div:nth-child(5) { top: 32px; left: 32px; animation-delay: -0.8s;}.lds-grid div:nth-child(6) { top: 32px; left: 56px; animation-delay: -1.2s;}.lds-grid div:nth-child(7) { top: 56px; left: 8px; animation-delay: -0.8s;}.lds-grid div:nth-child(8) { top: 56px; left: 32px; animation-delay: -1.2s;}.lds-grid div:nth-child(9) { top: 56px; left: 56px; animation-delay: -1.6s;}@keyframes lds-grid { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; }}