cutt/src/App.css

242 lines
3.3 KiB
CSS

* {
border-radius: 16px;
}
body {
background-color: aliceblue;
position: relative;
z-index: 0;
color: black;
overflow-wrap: anywhere;
height: 100%;
}
footer {
font-size: x-small;
}
#root {
max-width: 1280px;
margin: 0 auto;
padding: 8px;
text-align: center;
}
.grey {
color: #444;
}
.hint {
position: absolute;
font-size: 80%;
padding: 4px;
top: auto;
left: 4px;
bottom: auto;
right: 4px;
z-index: -1;
}
h1,
h2,
h3 {
margin-top: 0px;
margin-bottom: 0px;
padding: 4px 16px;
}
.container {
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
min-width: 737px;
}
.dragbox {
display: flex;
flex-direction: column;
min-height: 32px;
height: 92%;
}
.reservoir {
flex-direction: unset;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
}
.box {
position: relative;
&.one {
max-width: min(80vw, 500px);
}
&.two {
min-width: 43%;
max-width: 20vw;
}
&.three {
min-width: 27%;
max-width: 10vw;
}
padding: 4px;
margin: 4px auto;
border-style: solid;
border-color: black;
}
.user {
max-width: 400px;
min-width: 200px;
margin: 4px auto;
.item {
font-weight: bold;
border-style: solid;
}
}
.item {
cursor: pointer;
font-size: small;
border: 3px dashed black;
border-radius: 1.2em;
margin: 8px auto;
padding: 4px 16px;
}
.extra-margin {
padding: 0px 8px;
}
button {
font-weight: bold;
font-size: large;
color: ghostwhite;
background-color: black;
border-radius: 1.2em;
z-index: 1;
&:focus {
outline: black;
}
&:hover {
border-color: black;
}
}
@media only screen and (max-width: 768px) {
.container {
min-width: 96vw;
}
.submit_text {
display: none;
}
.submit {
position: fixed;
right: 16px;
bottom: 16px;
padding: 0px;
background-color: unset;
font-size: xx-large;
margin-bottom: 20px;
margin-right: 20px;
}
}
::backdrop {
background-image: linear-gradient(
45deg,
magenta,
rebeccapurple,
dodgerblue,
green
);
opacity: 0.75;
}
.tablink {
color: white;
cursor: pointer;
padding: 8px 16px;
width: 48%;
}
.navbar {
button {
opacity: 50%;
&:hover {
opacity: 75%;
}
}
padding: 16px;
}
/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
display: none;
height: 100%;
}
.renew {
cursor: pointer;
font-weight: bold;
position: absolute;
top: 0;
right: 8px;
font-size: 150%;
}
.logo {
position: relative;
text-align: center;
height: 196px;
margin: auto;
img {
display: block;
margin: auto;
}
h3 {
position: absolute;
width: 200px;
top: 33%;
left: 50%;
transform: translate(-50%, -50%);
color: aliceblue;
background-color: black;
border-radius: unset;
letter-spacing: 8px;
padding: 0px 40px;
font-family: monospace;
}
}
.loader {
display: block;
position: relative;
height: 12px;
width: 96%;
border: 4px solid black;
overflow: hidden;
}
.loader::after {
content: "";
width: 32%;
height: 120%;
background: #36c;
position: absolute;
top: -2px;
left: 0;
box-sizing: border-box;
animation: animloader 2s linear infinite;
}
@keyframes animloader {
0% {
left: 0;
transform: translateX(-100%);
}
100% {
left: 100%;
transform: translateX(0%);
}
}