/* * Main Stylesheet for Blogloom Theme * This file contains all the custom styling for the theme */ /* Basic styling */ body { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8; color: #333; background-color: #fff; } h1, h2, h3, h4, h5, h6 { font-family: 'Merriweather', serif; font-weight: 600; color: #222; margin-bottom: 1rem; } a { color: #e91e63; text-decoration: none; transition: all 0.3s ease; } a:hover { color: #c2185b; text-decoration: underline; } /* Header styling */ .site-header { background-color: #fff; border-bottom: 1px solid #eee; padding: 20px 0; margin-bottom: 40px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05); } .site-title { font-size: 1.8rem; margin: 0; font-weight: 700; } .site-description { margin: 0; font-size: 1rem; color: #6c757d; } /* Blog description */ .blog-description { margin: 30px 0; font-size: 1.2rem; line-height: 1.8; color: #555; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; } /* Action buttons */ .action-buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; margin-top: 50px; } /* Page title */ .page-title { font-size: 2.5rem; margin-bottom: 2rem; color: #333; font-weight: 700; text-align: center; position: relative; padding-bottom: 15px; } .page-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: #e91e63; } /* Navigation */ .post-navigation { margin: 3em auto; max-width: 900px; width: 100%; } .nav-links { display: flex; justify-content: space-between; } .nav-previous, .nav-next { max-width: 48%; } .nav-subtitle { display: block; font-size: 0.9rem; color: #e91e63; margin-bottom: 5px; } .nav-title { font-weight: 600; } .main-navigation { margin-top: 10px; } .main-navigation ul { display: flex; list-style: none; margin: 0; padding: 0; } .main-navigation li { position: relative; margin-right: 20px; } .main-navigation a { display: block; padding: 10px 0; font-weight: 500; color: #333; } .main-navigation a:hover { color: #0d6efd; } /* Content styling */ .site-main { padding: 20px 0 40px; width: 100%; margin: 0 auto; } .container { max-width: 1400px; width: 100%; padding: 0 30px; } .page-header { margin-bottom: 30px; text-align: center; } .page-title { font-size: 2.5rem; margin-bottom: 10px; } .archive-description { color: #6c757d; } /* Post cards */ .card { border: none; border-radius: 0; margin-bottom: 30px; transition: transform 0.3s ease; height: 100%; } .card:hover { transform: translateY(-3px); } .card-body { padding: 20px; } .entry-title { font-size: 1.5rem; margin-bottom: 15px; } .entry-meta { font-size: 0.9rem; color: #6c757d; margin-bottom: 15px; } .entry-meta span { margin-right: 15px; } .entry-meta i { margin-right: 5px; } .entry-content { margin-bottom: 15px; } .single-content { margin-bottom: 30px; max-width: 1200px; margin-left: auto; margin-right: auto; font-size: 1.1rem; line-height: 1.8; } .entry-footer { font-size: 0.9rem; color: #6c757d; border-top: 1px solid #eee; padding-top: 15px; margin-top: 15px; } .entry-footer span { display: block; margin-bottom: 5px; } /* Tags styling */ .tags-links a, .cat-links a, .entry-categories a, .tag-cloud-link { display: inline-block; background-color: #e91e63; color: #fff; padding: 3px 10px; border-radius: 15px; font-size: 0.8rem; margin-right: 5px; margin-bottom: 5px; text-decoration: none; } .tags-links a:hover, .cat-links a:hover, .entry-categories a:hover { background-color: #c2185b; color: #fff; text-decoration: none; } /* Buttons */ .btn-primary { background-color: #e91e63; border-color: #e91e63; border-radius: 20px; padding: 8px 16px; font-size: 0.9rem; text-transform: uppercase; font-weight: 600; } .btn-outline-primary { color: #e91e63; border-color: #e91e63; border-radius: 20px; padding: 8px 16px; font-size: 0.9rem; text-transform: uppercase; font-weight: 600; } .btn-outline-primary:hover { background-color: #e91e63; color: #fff; } /* Single post */ .single-header { padding: 60px 0; background-color: #fff; margin-bottom: 40px; width: 100%; border-bottom: 1px solid #eee; } .single-heading-default__title { font-size: 2.8rem; margin: 20px 0 30px; position: relative; padding-bottom: 15px; text-align: center; } .single-heading-default__title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: #e91e63; } .single-entry__excerpt { font-size: 1.3rem; color: #6c757d; margin-bottom: 30px; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; line-height: 1.8; } .single-entry__cat { margin-bottom: 20px; } .single-detail__inner { background-color: #fff; padding: 40px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); width: 100%; max-width: 100%; margin: 0 auto 50px; position: relative; } .single-featured-image { margin: -40px -40px 30px -40px; width: calc(100% + 80px); max-height: 600px; overflow: hidden; position: relative; } .single-featured-image img { width: 100%; height: auto; object-fit: cover; } .single-detail__share { position: sticky; top: 100px; float: left; margin-right: 20px; } /* Social Share Styling */ .social-share-section { margin: 40px auto; padding: 30px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; max-width: 900px; text-align: center; } .share-title { font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 20px; color: #555; font-weight: 600; } .social-share { display: flex; justify-content: center; gap: 15px; } .social-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 30px; color: #fff; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; text-decoration: none; } .social-btn i { margin-right: 8px; } .social-btn.facebook { background-color: #3b5998; } .social-btn.twitter { background-color: #1da1f2; } .social-btn.linkedin { background-color: #0077b5; } .social-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); color: #fff; text-decoration: none; } .editor-content { font-size: 1.2rem; line-height: 1.9; max-width: 900px; margin: 0 auto; } .editor-content p { margin-bottom: 20px; } .editor-content img { max-width: 100%; height: auto; } .entry-footer--single { margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee; max-width: 900px; margin-left: auto; margin-right: auto; } .entry-footer--single div { margin-bottom: 10px; } .entry-footer--single span { font-weight: 600; margin-right: 5px; } /* Author box */ .author-box { display: flex; margin: 50px auto; padding: 30px; background-color: #f9f9f9; border-radius: 5px; max-width: 900px; } .author-avatar { margin-right: 20px; } .author-avatar img { border-radius: 50%; } .author-info { flex: 1; } .author-name { margin-top: 0; margin-bottom: 10px; font-size: 1.3rem; } /* Pagination */ .pagination-container { display: flex; justify-content: center; margin: 40px 0; } .pagination { margin-top: 30px; margin-bottom: 30px; text-align: center; display: inline-flex; } .pagination ul { display: flex; list-style: none; padding: 0; margin: 0; border-radius: 4px; overflow: hidden; } .pagination ul li { margin: 0 3px; } .pagination ul li a, .pagination ul li span { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; background-color: #fff; border: 1px solid #e5e5e5; border-radius: 4px; color: #333; text-decoration: none; transition: all 0.3s ease; } .pagination ul li a:hover { background-color: #f5f5f5; border-color: #e91e63; color: #e91e63; } .pagination ul li span.current { background-color: #e91e63; border-color: #e91e63; color: #fff; } .pagination ul li a.prev, .pagination ul li a.next { font-size: 14px; } .author-description { margin-bottom: 15px; color: #555; line-height: 1.7; } .author-link { display: inline-block; color: #e91e63; font-weight: 600; } /* Recent Blog Posts Section */ .recent-blog-posts { margin: 60px 0; } .recent-blog-posts .section-title { margin-bottom: 30px; font-size: 1.8rem; font-weight: 700; color: #333; text-align: center; position: relative; padding-bottom: 15px; } .recent-blog-posts .section-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: #e91e63; } .post-card { height: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; background-color: #fff; margin-bottom: 30px; } .post-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); } .post-card .post-thumbnail { position: relative; overflow: hidden; } .post-card .post-thumbnail img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.5s ease; } .post-card:hover .post-thumbnail img { transform: scale(1.05); } .post-card .post-content { padding: 20px; } .post-card .post-meta { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.85rem; color: #777; } .post-card .post-category a { color: #e91e63; font-weight: 600; text-decoration: none; } .post-card .post-title { margin-top: 0; margin-bottom: 10px; font-size: 1.2rem; line-height: 1.4; } .post-card .post-title a { color: #333; text-decoration: none; transition: color 0.3s ease; } .post-card .post-title a:hover { color: #e91e63; } .post-card .post-excerpt { color: #666; margin-bottom: 15px; font-size: 0.9rem; line-height: 1.6; } .post-card .read-more { margin-top: 15px; } .view-all-posts { margin-top: 40px; } /* Copyright Section */ .copyright-section { margin: 50px 0 20px; padding-top: 20px; border-top: 1px solid #eee; color: #777; font-size: 0.9rem; } /* Related posts */ .related-posts { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; padding-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; } .related-posts h2 { margin-bottom: 30px; font-size: 1.8rem; font-weight: 700; color: #333; text-align: center; position: relative; padding-bottom: 15px; } .related-posts h2:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: #e91e63; } /* Featured posts section */ .featured-posts { margin-bottom: 50px; position: relative; } .featured-badge { display: inline-block; background-color: #e91e63; color: #fff; padding: 5px 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 3px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); animation: pulse 2s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); } } .featured-posts .post-thumbnail img { width: 100%; height: auto; object-fit: cover; max-height: 500px; } /* Statistics chart section */ .stats-container { background-color: #fff; padding: 30px; margin-bottom: 40px; border: 1px solid #eee; width: 100%; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } .stats-container img { max-width: 100%; height: auto; } /* Recent posts in sidebar */ .recent-posts-widget li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .recent-posts-widget li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; } .recent-posts-widget .post-title { font-weight: 600; margin-bottom: 5px; font-size: 1rem; } .recent-posts-widget .post-date { font-size: 0.8rem; color: #666; } /* Comments */ .comments-area, .comments-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; background-color: #fff; max-width: 900px; margin-left: auto; margin-right: auto; } .comment-form .form-submit .submit { background-color: #e91e63; color: #fff; border: 2px solid #e91e63; border-radius: 30px; padding: 10px 25px; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .comment-form .form-submit .submit:hover { background-color: #fff; color: #e91e63; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); transform: translateY(-2px); } .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { border: 1px solid #e5e5e5; border-radius: 5px; padding: 12px 15px; width: 100%; font-size: 0.95rem; margin-bottom: 15px; transition: border-color 0.3s ease; } .comment-form input[type="text"]:focus, .comment-form input[type="email"]:focus, .comment-form input[type="url"]:focus, .comment-form textarea:focus { border-color: #e91e63; outline: none; box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1); } .comment-form label { display: block; margin-bottom: 5px; font-weight: 600; color: #444; } .comments-title { font-size: 1.5rem; margin-bottom: 25px; color: #333; } .comment { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; } .comment:last-child { border-bottom: none; } .comment-author { font-weight: 600; margin-bottom: 5px; color: #333; } .comment-content { color: #666; line-height: 1.6; } .comments-title { margin-bottom: 20px; } .comment-list { list-style: none; padding: 0; margin: 0; } .comment-body { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; } .comment-meta { margin-bottom: 10px; } .comment-author { font-weight: 600; } .comment-metadata { font-size: 0.9rem; color: #6c757d; } .comment-content { margin-left: 70px; } /* Widgets */ .widget-area { background-color: #f9f9f9; padding: 20px; border-radius: 4px; } .widget { margin-bottom: 30px; } .widget-title { position: relative; margin-bottom: 20px; padding-bottom: 10px; font-size: 1.2rem; color: #333; font-weight: 700; } .widget-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background-color: #e91e63; } .widget ul { list-style: none; padding: 0; margin: 0; } .widget li { padding: 10px 0; border-bottom: 1px solid #eee; } .widget li:last-child { border-bottom: none; } /* Footer */ .site-footer { background-color: #f9f9f9; color: #333; padding: 40px 0 20px; border-top: 1px solid #eee; margin-top: 40px; } .footer-widgets { margin-bottom: 30px; } .site-info { border-top: 1px solid rgba(0, 0, 0, 0.1); padding-top: 20px; text-align: center; font-size: 0.9rem; color: #666; } .site-info a { color: #e91e63; } /* Masonry grid */ .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-gap: 20px; } /* Responsive */ @media (max-width: 768px) { .single-detail__share { display: none; } .entry-title { font-size: 1.3rem; } .single-heading-default__title { font-size: 1.8rem; } } @media (max-width: 576px) { .site-main { padding: 20px 0; } .page-title { font-size: 2rem; } }