Templat:Halaman Utama/style.css: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
kTidak ada ringkasan suntingan |
||
(8 revisi perantara oleh 5 pengguna tidak ditampilkan) | |||
Baris 19:
margin-left: 155px;
flex: 1;
margin-top: 2px;
margin-bottom: 2px;
}
Baris 37 ⟶ 38:
margin-top: 2px;
margin-bottom: 2px;
}
.mp-main-content,
.mp-main-content__focus,
.mp-main-content__other {
display: block;
width: 100%;
padding: 0;
}
/* #endregion */
/* #region main-content */
@media all and ( min-width: 800px ) {
body:not(.skin-minerva) .mp-main-content {
display: flex;
}
body:not(.skin-minerva) .mp-main-content__focus {
border: 1px solid #a7d7f9;
color: #000;
border-radius: 10px;
}
body:not(.skin-minerva) .mp-main-content__other {
border: 1px solid #a7d7f9;
vertical-align: top;
padding: 0 10px 10px 0;
background: #f5faff;
margin-left: 10px;
}
}
body.skin-minerva .mp-main-content__focus
body.skin-minerva .mp-main-content__other {
border: none;
}
Baris 86 ⟶ 98:
}
.mp-footer__contact-us {
margin-top: 10px;
text-align: center;
}
Baris 167 ⟶ 180:
left: 40px;
top: 2px;
margin: 0;
Baris 186 ⟶ 198:
}
/* #endregion */
/* Agar gambar pilihan mengecil di layar kecil */
.mp-gambar-pilihan {
width: 100%;
height: auto;
}
/* Confetti Ultah WBI */
@keyframes cauconfeti {
from {opacity: 0;}
50% {opacity: 1;}
to {transform: translateY(100vh);}
}
@keyframes amaguemcontainer {
from {visibility: visible;}
to {visibility: hidden;}
}
.container-confeti {
display: flex;
max-width: 100%;
width: 90%;
height: 100vh;
z-index: 1000;
margin:0 auto;
position: absolute;
visibility:hidden;
animation: amaguemcontainer;
animation-duration: 4s;
}
.confeti {
position: absolute;
width: 10px;
height: 30px;
top: 0;
opacity: 0;
}
.confeti:nth-child(odd) {
background: #E63946;
}
.confeti:nth-child(2n) {
background: #84C318;
}
.confeti:nth-child(4n-7) {
background: #73EEDC;
}
.confeti:nth-child(1) {
left: 5%;
transform: rotate(-23deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 152ms;
animation-duration: 1000ms;
}
.confeti:nth-child(2) {
left: 12%;
transform: rotate(35deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 200ms;
animation-duration: 1100ms;
}
.confeti:nth-child(3) {
left: 25%;
transform: rotate(-23deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 146ms;
animation-duration: 1300ms;
}
.confeti:nth-child(4) {
left: 32%;
transform: rotate(35deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 182ms;
animation-duration: 1500ms;
}
.confeti:nth-child(5) {
left: 45%;
transform: rotate(-23deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 232ms;
animation-duration: 900ms;
}
.confeti:nth-child(6) {
left: 52%;
transform: rotate(35deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 222ms;
animation-duration: 1300ms;
}
.confeti:nth-child(7) {
left: 65%;
transform: rotate(-23deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 382ms;
animation-duration: 1200ms;
}
.confeti:nth-child(8) {
left: 73%;
transform: rotate(35deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 122ms;
animation-duration: 1600ms;
}
.confeti:nth-child(9) {
left: 77%;
transform: rotate(-23deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 152ms;
animation-duration: 1200ms;
}
.confeti:nth-child(10) {
left: 82%;
transform: rotate(35deg);
animation: cauconfeti 5 ease-in-out;
animation-delay: 282ms;
animation-duration: 700ms;
}
.confeti:nth-child(3n) {
width: 5px;
height: 60px;
border-radius: 15px;
animation-duration: 1200ms;
animation-delay: 1000ms;
}
.confeti:nth-child(4n) {
width: 5px;
height: 12px;
animation-duration: 2000ms;
}
.confeti:nth-child(4n) {
position: relative;
width: 50px;
height: 5px;
margin: 20px 0;
background: #457B9D;
border-radius: 60% / 10%;
color: white;
text-align: center;
text-indent: .1em;
}
.confeti:nth-child(4n):before {
content: '';
position: absolute;
top: 10%;
bottom: 10%;
right: -5%;
left: -5%;
background: inherit;
border-radius: 5% / 50%;
}
.confeti:nth-child(4n):after {
content: '';
position: absolute;
bottom: 0;
right: -11px;
width: 50px;
height: 5px;
background: #457B9D;
border-radius: 80% / 150%;
}
|