| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/laragon4/www/bpkd.test_/assets/css/ |
Upload File : |
/* ===== Article Page Styles ===== */
:root {
--primary-color: #4e73df;
--primary-dark: #224abe;
--secondary-color: #858796;
--success-color: #1cc88a;
--info-color: #36b9cc;
--warning-color: #f6c23e;
--danger-color: #e74a3b;
--dark-color: #5a5c69;
--light-color: #f8f9fc;
--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-success: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
--gradient-info: linear-gradient(135deg, #36b9cc 0%, #1a8a9f 100%);
--gradient-warning: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
--gradient-danger: linear-gradient(135deg, #e74a3b 0%, #be2e22 100%);
--font-primary: 'Inter', sans-serif;
--font-secondary: 'Poppins', sans-serif;
}
/* ===== Article Header ===== */
.article-header {
background: var(--gradient-primary);
padding: 100px 0 60px;
margin-top: -80px;
position: relative;
overflow: hidden;
color: white;
}
.article-header::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: repeating-linear-gradient(
45deg,
rgba(255,255,255,0.05) 0px,
rgba(255,255,255,0.05) 20px,
transparent 20px,
transparent 40px
);
animation: moveBg 20s linear infinite;
}
@keyframes moveBg {
0% { transform: translate(0, 0) rotate(0deg); }
100% { transform: translate(10%, 10%) rotate(10deg); }
}
.article-header h1 {
font-family: var(--font-secondary);
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 20px;
line-height: 1.3;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.article-meta {
display: flex;
justify-content: center;
gap: 25px;
flex-wrap: wrap;
font-family: var(--font-primary);
}
.article-meta span {
font-size: 1rem;
opacity: 0.9;
background: rgba(255,255,255,0.15);
padding: 8px 20px;
border-radius: 50px;
backdrop-filter: blur(5px);
transition: all 0.3s;
}
.article-meta span:hover {
background: rgba(255,255,255,0.25);
transform: translateY(-2px);
}
.article-meta span i {
margin-right: 8px;
font-size: 1rem;
}
/* ===== Article Content ===== */
.article-content {
padding: 60px 0;
background: #f8f9fc;
font-family: var(--font-primary);
}
.article-featured-image {
margin-bottom: 40px;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
transition: all 0.3s;
}
.article-featured-image:hover {
transform: scale(1.02);
box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.article-featured-image img {
width: 100%;
height: auto;
transition: transform 0.5s;
}
.article-featured-image:hover img {
transform: scale(1.05);
}
/* ===== Article Body ===== */
.article-body {
background: white;
padding: 50px;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
font-size: 1.1rem;
line-height: 1.9;
color: #333;
}
.article-body h2 {
font-family: var(--font-secondary);
font-size: 2rem;
margin: 40px 0 20px;
color: #2c3e50;
position: relative;
padding-bottom: 15px;
}
.article-body h2::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 70px;
height: 4px;
background: var(--gradient-primary);
border-radius: 2px;
}
.article-body h3 {
font-family: var(--font-secondary);
font-size: 1.5rem;
margin: 30px 0 15px;
color: #34495e;
}
.article-body h4 {
font-family: var(--font-secondary);
font-size: 1.2rem;
margin: 25px 0 10px;
color: #455a64;
}
.article-body p {
margin-bottom: 25px;
}
.article-body img {
max-width: 100%;
height: auto;
border-radius: 15px;
margin: 20px 0;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.article-body blockquote {
background: #f8f9fc;
border-left: 5px solid #667eea;
padding: 25px 35px;
margin: 30px 0;
font-style: italic;
border-radius: 0 20px 20px 0;
font-size: 1.1rem;
color: #555;
position: relative;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.article-body blockquote::before {
content: '"';
position: absolute;
top: -10px;
left: 10px;
font-size: 5rem;
color: rgba(102, 126, 234, 0.1);
font-family: serif;
}
.article-body ul, .article-body ol {
margin-bottom: 25px;
padding-left: 25px;
}
.article-body li {
margin-bottom: 10px;
}
.article-body table {
width: 100%;
margin: 30px 0;
border-collapse: collapse;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.article-body th {
background: var(--gradient-primary);
color: white;
padding: 15px;
font-weight: 600;
text-align: left;
}
.article-body td {
padding: 12px 15px;
border: 1px solid #e9ecef;
}
.article-body tr:nth-child(even) {
background: #f8f9fc;
}
.article-body tr:hover {
background: #e9ecef;
}
/* ===== Article Tags ===== */
.article-tags {
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #e9ecef;
}
.article-tags h5 {
font-family: var(--font-secondary);
color: #2c3e50;
margin-bottom: 15px;
}
.article-tags .badge {
background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
color: #495057;
padding: 10px 20px;
font-size: 0.9rem;
font-weight: 500;
border-radius: 50px;
transition: all 0.3s;
margin-right: 8px;
margin-bottom: 8px;
}
.article-tags .badge:hover {
background: var(--gradient-primary);
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.article-tags .badge i {
margin-right: 5px;
}
/* ===== Share Buttons ===== */
.share-buttons {
margin: 40px 0;
padding: 30px;
background: white;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.share-buttons h5 {
font-family: var(--font-secondary);
color: #2c3e50;
margin-bottom: 20px;
}
.share-icons {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}
.share-icons .btn {
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: all 0.3s;
padding: 0;
font-size: 1.2rem;
}
.btn-facebook {
background: #3b5998 !important;
}
.btn-twitter {
background: #1da1f2 !important;
}
.btn-whatsapp {
background: #25d366 !important;
}
.btn-linkedin {
background: #0077b5 !important;
}
.share-icons .btn:hover {
transform: translateY(-5px) scale(1.1);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
/* ===== Related Articles ===== */
.related-articles {
margin: 50px 0;
}
.related-articles h3 {
font-family: var(--font-secondary);
font-size: 1.8rem;
margin-bottom: 30px;
color: #2c3e50;
position: relative;
padding-bottom: 15px;
}
.related-articles h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 4px;
background: var(--gradient-primary);
border-radius: 2px;
}
.related-articles .card {
border: none;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.3s;
height: 100%;
}
.related-articles .card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.related-articles .card-img-top {
height: 180px;
object-fit: cover;
transition: transform 0.5s;
}
.related-articles .card:hover .card-img-top {
transform: scale(1.1);
}
.related-articles .card-body {
padding: 20px;
}
.related-articles .card-title {
font-family: var(--font-secondary);
font-size: 1rem;
font-weight: 600;
margin-bottom: 10px;
line-height: 1.5;
height: 48px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.related-articles .card-title a {
color: #2c3e50;
text-decoration: none;
transition: color 0.3s;
}
.related-articles .card-title a:hover {
color: var(--primary-color);
}
.related-articles .card-text small {
color: #999;
}
.related-articles .btn-outline-primary {
border-color: var(--primary-color);
color: var(--primary-color);
border-radius: 50px;
padding: 5px 15px;
font-size: 0.9rem;
transition: all 0.3s;
}
.related-articles .btn-outline-primary:hover {
background: var(--gradient-primary);
border-color: transparent;
color: white;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
/* ===== Comments Section ===== */
.comments-section {
margin: 50px 0;
}
.comments-section h3 {
font-family: var(--font-secondary);
font-size: 1.8rem;
margin-bottom: 30px;
color: #2c3e50;
position: relative;
padding-bottom: 15px;
}
.comments-section h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 4px;
background: var(--gradient-primary);
border-radius: 2px;
}
.comment-item {
background: white;
border-radius: 15px;
padding: 25px;
margin-bottom: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
transition: all 0.3s;
}
.comment-item:hover {
transform: translateX(5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.comment-item img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
border: 3px solid var(--gradient-primary);
}
.comment-item h5 {
font-family: var(--font-secondary);
font-size: 1.1rem;
margin-bottom: 5px;
color: #2c3e50;
}
.comment-item small {
color: #999;
}
.comment-item p {
color: #666;
line-height: 1.7;
margin-top: 10px;
}
/* ===== Comment Form ===== */
.comment-form {
background: white;
border-radius: 20px;
padding: 30px;
margin-top: 40px;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.comment-form h4 {
font-family: var(--font-secondary);
color: #2c3e50;
margin-bottom: 20px;
font-size: 1.3rem;
}
.comment-form .form-label {
font-weight: 600;
color: #495057;
font-size: 0.95rem;
}
.comment-form .form-control {
border: 2px solid #e9ecef;
border-radius: 10px;
padding: 12px 15px;
transition: all 0.3s;
font-family: var(--font-primary);
}
.comment-form .form-control:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
transform: translateY(-2px);
}
.comment-form .btn-primary {
background: var(--gradient-primary);
border: none;
padding: 12px 30px;
font-weight: 600;
border-radius: 50px;
transition: all 0.3s;
}
.comment-form .btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
/* ===== Breadcrumb ===== */
.breadcrumb-wrapper {
background: #f8f9fc;
border-bottom: 1px solid #e9ecef;
}
.breadcrumb {
background: transparent;
padding: 15px 0;
margin: 0;
font-family: var(--font-primary);
}
.breadcrumb-item a {
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.breadcrumb-item a:hover {
color: var(--primary-dark);
}
.breadcrumb-item.active {
color: #6c757d;
}
.breadcrumb-item + .breadcrumb-item::before {
content: "›";
color: #adb5bd;
font-size: 1.2rem;
line-height: 1;
}
/* ===== Footer (sama dengan index.php) ===== */
.footer {
background: #1a1a2e !important;
}
.footer h4, .footer h5 {
color: white !important;
font-family: var(--font-secondary);
}
.footer p, .footer li {
color: rgba(255,255,255,0.7) !important;
font-family: var(--font-primary);
}
.footer a {
transition: all 0.3s;
}
.footer a:hover {
color: white !important;
transform: translateX(5px);
}
.social-links a {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.1);
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
color: white;
transition: all 0.3s;
margin-right: 8px;
}
.social-links a:hover {
background: var(--gradient-primary);
transform: translateY(-5px);
}
/* ===== Back to Top Button ===== */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background: var(--gradient-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-decoration: none;
opacity: 0;
visibility: hidden;
transition: all 0.3s;
z-index: 999;
box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.back-to-top.show {
opacity: 1;
visibility: visible;
}
.back-to-top:hover {
transform: translateY(-5px);
color: white;
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}
/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
.article-header {
padding: 80px 0 40px;
}
.article-header h1 {
font-size: 2.2rem;
}
.article-body {
padding: 30px;
}
.article-meta {
gap: 10px;
}
.article-meta span {
font-size: 0.9rem;
padding: 6px 15px;
}
}
@media (max-width: 767.98px) {
.article-header h1 {
font-size: 1.8rem;
}
.article-meta {
flex-direction: column;
align-items: center;
}
.article-body {
padding: 20px;
}
.article-body h2 {
font-size: 1.6rem;
}
.article-body h3 {
font-size: 1.3rem;
}
.share-icons {
gap: 8px;
}
.share-icons .btn {
width: 40px;
height: 40px;
font-size: 1rem;
}
.comment-item .d-flex {
flex-direction: column;
text-align: center;
}
.comment-item .me-3 {
margin-right: 0 !important;
margin-bottom: 15px;
}
}
@media (max-width: 575.98px) {
.article-header {
padding: 60px 0 30px;
}
.article-header h1 {
font-size: 1.5rem;
}
.article-body {
padding: 15px;
font-size: 1rem;
}
.article-body blockquote {
padding: 15px 20px;
font-size: 1rem;
}
.comment-form {
padding: 20px;
}
}
/* ===== Loading Animation ===== */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.article-header,
.article-featured-image,
.article-body,
.share-buttons,
.related-articles,
.comments-section {
animation: fadeIn 0.6s ease-out;
}
/* ===== Print Styles ===== */
@media print {
.navbar,
.breadcrumb-wrapper,
.share-buttons,
.related-articles,
.comment-form,
.footer,
.back-to-top {
display: none !important;
}
.article-content {
padding: 20px 0;
background: white;
}
.article-body {
box-shadow: none;
padding: 0;
}
.article-header {
background: white;
color: black;
padding: 20px 0;
margin-top: 0;
}
.article-header::before {
display: none;
}
.article-meta span {
background: none;
color: #666;
}
}