Templat:Halaman Utama/style.css: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Kenrick95 (bicara | kontrib)
Tidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
 
(14 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 ) {
.mp-main-content {
body:not(.skin-minerva) .mp-main-content {
margin-top: 10px;
displaymargin-top: flex10px;
display: flex;
}
body:not(.skin-minerva) .mp-main-content__focus {
flex: 1 1 55%;
border: 1px solid #a7d7f9;
vertical-align: top;
color: #000;
padding: 0 10px 10px 0;
border-radius: 10px;
}
body:not(.skin-minerva) .mp-main-content__other {
flex: 1 1 45%;
border: 1px solid #a7d7f9;
vertical-align: top;
padding: 0 10px 10px 0;
background: #f5faff;
border-radius: 10px;
margin-left: 10px;
}
}
body.skin-minerva .mp-main-content__focus {,
body.skin-minerva .mp-main-content__other {
flex: 1 1 60%;
border: 1px solid #a7d7f9none;
}
vertical-align: top;
/* #endregion */
 
/* #region footer */
.mp-footer {
margin: 12px 0 0 0;
color: #000;
padding: 0 10px 10px 05px;
border-radius: 10px;
}
.mp-main-content__otherfooter__main {
flex: 1 1 40%;
border: 1px solid #a7d7f9;
vertical-align: top;
padding: 0 10px 10px 0;
background: #f5faff;
border-radius: 10px;
margin-left: 10px;
}
.mp-footer__title {
text-align: center;
margin-bottom: 5px;
}
.mp-footer__subtitle {
font-size: 85%;
text-align: center;
}
.mp-footer__contact-us {
margin-top: 10px;
text-align: center;
}
 
/* #endregion */
 
/* #region [[Templat:Halaman Utama/Box3]] */
 
.mp-content-box {
Baris 77 ⟶ 117:
height: 25px;
background-repeat: no-repeat;
overflow: visible;
border: none;
}
.mp-content-box .mp-content-box__header::after {
Baris 104 ⟶ 146:
padding-left: 10px;
padding-bottom: 5px;
padding-top: 012px;
}
.mp-content-box__footer {
text-align: right;
}
/* #endregion */
 
/* #region [[Templat:Halaman Utama/Box4]] */
.mp-content-box-other {
margin-top: 10px;
Baris 122 ⟶ 165:
margin: 0 10px 0 0;
border-radius: 8px;
overflow: visible;
border: none;
}
.mp-content-box-other .mp-content-box-other__header::after {
Baris 135 ⟶ 180:
left: 40px;
top: 2px;
width: 95%;
 
margin: 0;
Baris 152 ⟶ 196:
padding-right: 0;
padding-top: 12px;
}
/* #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%;
}