WebisteDLH/wwwroot/css/custom.css

54 lines
1.2 KiB
CSS

#header .header-body {
background-color: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
}
#content p,
#content a,
#content li {
font-size: 0.9rem;
}
#content ol li,
#content ul li {
margin-bottom: 0.9rem;
}
.nav-tabs a.nav-link {
color: #9b9b9b !important;
border-right: var(--secondary) !important;
font-weight: 500;
}
.nav-tabs a.nav-link.active {
color: var(--secondary) !important;
border-right: var(--secondary) !important;
}
.overflow-ellipsis-1 {
display: -webkit-box !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
-webkit-line-clamp: 1 !important; /* Atur jumlah baris yang diinginkan */
height: 100%;
}
.overflow-ellipsis-2 {
display: -webkit-box !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
-webkit-line-clamp: 2 !important; /* Atur jumlah baris yang diinginkan */
height: 100%;
}
.overflow-ellipsis-3 {
display: -webkit-box !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
-webkit-line-clamp: 3 !important; /* Atur jumlah baris yang diinginkan */
height: 100%;
}