DataTools3/style.css

99 lines
1.7 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url("./menu.css");
* {
font-family: "Montserrat", sans-serif;
font-weight: 500;
margin: 0;
padding: 0;
color: #eee;
outline: none;
--bg: #222;
--blue: #177e89;
--red: #db3a34;
--yellow: #ffc857;
--green: #35ce8d;
}
body, html {
height: 100%;
overflow: hidden;
}
body {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
}
#canvas {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #111;
background-image: repeating-linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222), repeating-linear-gradient(45deg, #222 25%, #111 25%, #111 75%, #222 75%, #222);
background-position: 0 0, 40px 40px;
background-size: 80px 80px;
z-index: 0;
}
#playground {
z-index: 1;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
.box {
position: absolute;
display: inline-flex;
flex-direction: column;
gap: 20px;
padding: 10px;
border: solid 1px #111;
border-top: solid 20px #111;
box-shadow: 0px 0px 20px 0px black;
background-color: #2227;
backdrop-filter: blur(4px);
top: 200px;
left: 200px;
}
.box.dragging {
box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.3);
}
.boxTitle {
font-size: 1.3em;
font-weight: bold;
}
input, textarea, select, button {
background-color: #25252577;
padding: 5px;
border: 1px solid #111;
}
button:hover, select:hover {
filter: brightness(1.1);
}
button:active {
filter: brightness(1.3);
}
textarea {
width: 300px;
height: 150px;
font-family: Monospace;
min-width: 200px;
}