/* Custom styles for uzyn.com */ /* Typography - Michroma for headers, Noto Serif for body */ html, body { font-family: "Noto Serif", Georgia, serif; } h1, h2, h3, h4, h5, h6 { font-family: "Michroma", "Helvetica Neue", Helvetica, Arial, sans-serif; } .sidebar-about h1 { font-family: "Michroma", "Helvetica Neue", Helvetica, Arial, sans-serif; } .content { line-height: 1.6; } .content p { margin-bottom: 2rem; } /* Improve readability on larger screens */ @media (min-width: 48em) { .content { max-width: 44rem; } } /* Homepage Introduction Enhancements */ .homepage-intro { margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid #e5e5e5; } .homepage-intro h2 { margin-top: 0; margin-bottom: 1rem; color: #313131; font-weight: 700; } .homepage-intro p { font-size: 1.1rem; line-height: 1.7; color: #515151; margin-bottom: 1.2rem; } .homepage-intro .highlights { margin-top: 2rem; } .homepage-intro .highlights h3 { color: #313131; font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; margin-top: 2rem; } .homepage-intro .highlights ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; } .homepage-intro .highlights li { margin-bottom: 0.8rem; padding-left: 1.8rem; position: relative; line-height: 1.6; } .homepage-intro .highlights li:before { content: "→"; position: absolute; left: 0; color: #ac4142; font-weight: bold; } /* Recent Posts Section */ .recent-posts-section { margin-top: 2rem; } .recent-posts-section h2 { color: #313131; margin-bottom: 2rem; font-size: 1.5rem; font-weight: 700; } .post-preview { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid #e5e5e5; } .post-preview:last-of-type { border-bottom: none; } .post-preview .post-title { margin-top: 0; margin-bottom: 0.3rem; font-size: 1.4rem; } .post-preview .post-title a { color: #313131; text-decoration: none; } .post-preview .post-title a:hover { color: #ac4142; text-decoration: underline; } .post-preview .post-date { color: #9a9a9a; font-size: 0.9rem; display: block; margin-bottom: 0.8rem; margin-top: 0.2rem; } .post-preview .post-excerpt { color: #515151; line-height: 1.7; margin-top: 0.8rem; } .post-preview .post-excerpt h2, .post-preview .post-excerpt h3, .post-preview .post-excerpt h4, .post-preview .post-excerpt h5, .post-preview .post-excerpt h6 { display: none; } .post-preview .read-more-link { display: inline-block; margin-top: 0.8rem; color: #ac4142; text-decoration: none; font-weight: 500; transition: color 0.2s ease; } .post-preview .read-more-link:hover { color: #8b3334; text-decoration: underline; } /* View All Posts Button */ .more-posts { text-align: center; margin-top: 3rem; margin-bottom: 2rem; } .more-posts a { display: inline-block; padding: 0.75rem 2rem; border: 2px solid #ac4142; color: #ac4142; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border-radius: 3px; } .more-posts a:hover { background-color: #ac4142; color: white; } /* Sidebar Enhancements */ .sidebar-about h1 { margin-top: 0; font-size: 2.5rem; } .sidebar-about .lead { font-size: 1rem; font-weight: 400; opacity: 0.9; } /* Pagination Styles */ .pagination { margin-top: 3rem; margin-bottom: 3rem; text-align: center; } .pagination a { padding: 0.5rem 1rem; margin: 0 0.5rem; border: 1px solid #e5e5e5; color: #515151; text-decoration: none; transition: all 0.3s ease; } .pagination a:hover { background-color: #ac4142; border-color: #ac4142; color: white; } /* Make code blocks more readable */ pre { background-color: #2b303b; border: 1px solid #3d4452; border-radius: 3px; overflow-x: auto; } code { padding: 0.2em 0.4em; font-size: 85%; background-color: #f5f5f5; border-radius: 3px; } pre code { padding: 0; color: #c0c5ce; background-color: transparent; } /* Syntax highlighting - base16 ocean dark */ .highlight pre { background-color: #2b303b; color: #c0c5ce; } .highlight .c, .highlight .c1, .highlight .cm, .highlight .cs { color: #65737e; } /* Comments */ .highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt { color: #b48ead; } /* Keywords */ .highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sr { color: #a3be8c; } /* Strings */ .highlight .n, .highlight .na, .highlight .nb, .highlight .nc, .highlight .nd, .highlight .ni, .highlight .ne, .highlight .nf, .highlight .nl, .highlight .nn, .highlight .no, .highlight .nt, .highlight .nv, .highlight .nx { color: #c0c5ce; } /* Names */ .highlight .nf, .highlight .nx { color: #8fa1b3; } /* Function names */ .highlight .nc, .highlight .no { color: #ebcb8b; } /* Class names, constants */ .highlight .nt { color: #8fa1b3; } /* Tags */ .highlight .na { color: #8fa1b3; } /* Attributes */ .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il { color: #d08770; } /* Numbers */ .highlight .o, .highlight .ow, .highlight .p { color: #c0c5ce; } /* Operators, punctuation */ .highlight .gd { color: #bf616a; } /* Deleted */ .highlight .gi { color: #a3be8c; } /* Inserted */ .highlight .gh, .highlight .gu { color: #8fa1b3; } /* Headings */ .highlight .ge { font-style: italic; } /* Emphasis */ .highlight .gs { font-weight: bold; } /* Strong */ /* Post tags styling */ .post-tags { margin-top: 2em; padding-top: 1em; border-top: 1px solid #e0e0e0; font-size: 0.75em; } .post-tags .tags-label { color: #888; margin-right: 0.5em; font-weight: 300; } .post-tags .tag { display: inline-block; background-color: #f0f0f0; color: #555; padding: 0.25em 0.75em; margin: 0.25em 0.25em 0.25em 0; border-radius: 1em; text-decoration: none; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; transition: background-color 0.2s ease; } .post-tags .tag:hover { background-color: #EFA8A7; color: #333; } /* Homepage post preview tags */ .post-preview-tags { margin-top: 0.5em; font-size: 0.75em; } .post-preview-tags .tag { display: inline-block; background-color: #f0f0f0; color: #555; padding: 0.25em 0.75em; margin: 0.25em 0.25em 0.25em 0; border-radius: 1em; text-decoration: none; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; transition: background-color 0.2s ease; } .post-preview-tags .tag:hover { background-color: #EFA8A7; color: #333; } /* Responsive adjustments */ @media (max-width: 48em) { .homepage-intro h2 { font-size: 1.3rem; } .post-preview .post-title { font-size: 1.5rem; } .more-posts a { padding: 0.6rem 1.5rem; } } /* More Stories Section */ .more-stories-section { margin-top: 4rem; padding-top: 2rem; border-top: 2px solid #e5e5e5; } .more-stories-section h2 { color: #313131; margin-bottom: 2rem; margin-top: 0; font-size: 1.5rem; font-weight: 700; } .more-stories-section .post-preview { margin-bottom: 1.5rem; padding-bottom: 0; border-bottom: none; } .more-stories-section .post-preview .post-title { font-size: 1.1rem; margin-bottom: 0.2rem; } .more-stories-section .post-preview .post-date { margin-bottom: 0; } /* Post content header styling */ .post h2 { margin-top: 2.5rem; margin-bottom: 1rem; } .post h3 { margin-top: 2.5rem; margin-bottom: 1rem; } .post h4, .post h5, .post h6 { margin-top: 1.5rem; margin-bottom: 0.5rem; } /* Keep header links black in posts */ .post h1 a, .post h2 a, .post h3 a, .post h4 a, .post h5 a, .post h6 a { color: #313131; } .post h1 a:hover, .post h2 a:hover, .post h3 a:hover, .post h4 a:hover, .post h5 a:hover, .post h6 a:hover { color: #313131; text-decoration: underline; } /* Author Section */ .author-section { margin-top: 3rem; padding: 1.5rem; background-color: #f9f9f9; border-left: 4px solid #ac4142; border-radius: 4px; } .author-section h3 { margin-top: 0; margin-bottom: 1rem; font-size: 1.2rem; color: #313131; } .author-section p { margin-bottom: 0.75rem; line-height: 1.6; } .author-section p:last-child { margin-bottom: 0; } .author-section a { color: #ac4142; text-decoration: none; } .author-section a:hover { text-decoration: underline; }