qr-mask/style.css
DarkCat09 a0259cc51d
fix: apply max-width including padding to all body>div-s
btw the fix doesn't work
so it's just a code cleanup
2024-07-11 20:01:23 +04:00

47 lines
658 B
CSS

body {
margin: 0;
padding: 0.5rem;
}
body > div {
width: fit-content;
margin: auto;
max-width: calc(100vw - 0.5rem * 2);
}
#options {
display: flex;
flex-direction: column;
row-gap: 0.25rem;
}
select, input, button {
width: fit-content;
max-width: 100%;
font-size: 1rem;
}
input[type=number] {
width: calc(4rem + 0.125rem * 2);
}
label {
display: flex;
flex-direction: row;
column-gap: 0.25rem;
}
label#width-wrapper > button {
padding: 0.0625rem 0.25rem;
width: calc(1rem + 0.25rem * 3);
}
label > span:nth-child(1) {
width: 5rem;
text-align: right;
}
canvas {
margin-top: 0.5rem;
border: 2px solid #555;
}