codepens/draggable-blend-generator/dist/style.css

174 lines
2.6 KiB
CSS
Raw Normal View History

2023-10-06 23:12:53 +02:00
html {
background-color: white;
}
body {
margin: 0;
}
.container {
background: url(https://assets.codepen.io/489403/deniro.jpeg) no-repeat center center fixed;
background-color: red;
background-blend-mode: hard-light;
justify-content: center;
align-items: center;
display: flex;
height: 100vh;
width: 100vw;
color: white;
}
.bannerContainer {
width: 100%;
height: 100%;
justify-content: flex-end;
align-items: center;
display: flex;
}
.banner {
border: 1px solid yellow;
justify-content: flex-start;
align-items: right;
display: flex;
flex-direction: column;
width: 20%;
height: 100%;
background: #002b65;
font-family: "Lato", sans-serif;
font-size: 0.9em;
position: relative;
}
.banner1 {
align-items: flex-end;
mix-blend-mode: hue;
}
h1 {
font-family: "Roboto";
}
.buttonContainer {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 50%;
width: 150px;
position: absolute;
}
.mixButtons {
right: 20px;
}
.backgroundButtons {
left: 20px;
align-items: flex-end;
}
button {
height: 25px;
width: 100px;
border-radius: 11px;
box-shadow: 2px 2px 10px;
font-family: "Roboto";
background: white;
color: #0e1111;
}
input {
font-family: "Roboto";
}
.active {
background: #0e1111;
color: white;
border: 2px solid #0e1111;
outline: none;
}
.dragMe {
color: red;
position: absolute;
top: 45%;
left: -62px;
text-align: center;
border-radius: 5px;
font-size: 1vw;
transform: rotate(-90deg);
background: grey;
z-index: 100;
width: 120px;
height: 20px;
}
.input {
box-shadow: 2px 2px 10px black;
position: absolute;
display: flex;
justify-content: space-around;
align-items: center;
height: 20px;
width: 220px;
left: 20px;
border-radius: 20px;
padding: 10px;
background: white;
}
.input div {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.input input {
width: 170px;
border: none;
border-bottom: 1px solid black;
margin-left: 10px;
}
.input input:active, .input input:focus {
outline: none;
}
.colorInput {
top: 20px;
}
.colorUpdate,
.urlUpdate {
width: 30px;
cursor: pointer;
}
.colorUpdate:active, .colorUpdate:focus,
.urlUpdate:active,
.urlUpdate:focus {
outline: none;
}
.backgroundInput {
top: 80px;
}
input {
margin-right: 10px;
}
input:active {
outline: none;
}
.backgroundTitle {
color: white;
position: absolute;
left: 30px;
transform: rotate(-90deg);
}
.mixTitle {
color: white;
position: absolute;
right: 90px;
transform: rotate(90deg);
}