lr_occ/html/style.css
2024-07-21 09:07:35 +07:00

77 lines
1.9 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
body{
font-family: 'Montserrat', sans-serif;
color: #bb371a;
text-transform: uppercase;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: rgba(0, 0, 0, 0.152);
}
h1 {
font-family: 'Anton', sans-serif;
text-align: center;
}
h3{
text-align: center;
}
#panel-1{
position: absolute;
top: 50%;
transform: translateY(-20vh);
width: 20vw;
height: 40vh;
clip-path: polygon(95% 0, 100% 5%, 100% 100%, 0 100%, 0 0);
padding: .3rem;
--grad:transparent 49.5%,#f7fd04 50%;
background: linear-gradient(to top right,var(--grad)) top right,white;
background-size:calc(5% + 4px) calc(5% + 4px); /* 10px of the clip-path + 4px of border */
background-repeat:no-repeat;
background-origin:border-box;
background-color: #f7fd0469;
}
#panel-2{
position: absolute;
left: 50%;
bottom: 0;
width: 17vw;
height: auto;
transform: translateX(calc(-17vw / 2));
padding: .3rem;
}
#panel-3{
position: absolute;
right: 0;
bottom: 76%;
width: 20vw;
height: auto;
background-color: #f7fd04;
clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 15%);
padding: .3rem;
--grad:transparent 49.5%,#f7fd04 50%;
background: linear-gradient(to top left,var(--grad)) top left,white;
background-size:calc(5% + 4px) calc(15% + 4px); /* 10px of the clip-path + 4px of border */
background-repeat:no-repeat;
background-origin:border-box;
background-color: #f7fd0469;
}
h1{
/* padding-bottom: 2rem; */
}
.info{
text-align: center;
margin: .4rem;
}
.success{
border: 3px solid #9ede73;
background-color: #9ede7369;
}
.warning{
background-color: #f7fd0469;
}
.error{
border: 3px solid #f54748;
background-color: #f5474869;
color:#252525;
}