/*********** * CSS style for the Simple-Goeland Hugo theme * Author: eorn (https://forge.goe.land/eorn/simple-goeland) ***********/ /* CSS reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* Sections, containers... */ main { display: block; } .flex { display: flex; } .container { max-width: 80rem; margin: 0 auto; } .sidebar { flex: 0 0 250px; font-size: 1em; } .page-content { font-size: 1.25em; min-width: 320px; flex-grow: 1; padding-left: 12px; } main.container { margin-top : 12px; margin-bottom: 25px; padding-top: 20px; border-top: 1px solid #53bcdf; } /* Navbar */ #navbar { height: 40px; font-family: "Source Code Pro", monospace; } .nav-left { float: left; } .nav-right { float: right; margin-top: 8px; } .nav-left a, .nav-left h1 { text-decoration: none; color: #53bcdf; font-size: 30px; font-weight: bold; vertical-align: middle; } .nav-right a { text-decoration: none; color: white; } .nav-right img, .nav-right svg { margin: 0px; padding: 0px; vertical-align: bottom; } .pleroma svg { fill: #f39f54; } .pleroma svg:hover { fill: #ffc992; } .pixelfed svg { fill: #c02fa8; } .pixelfed svg:hover { fill: #ff61f2; } .gitea svg { fill: #5f9825; } .gitea svg:hover { fill: #8dcc4a; } .rss svg { fill: #f76300; } .rss svg:hover { fill: #ffac46; } /* Sidebar */ .sidebar { font-family: "Source Code Pro", monospace; line-height: 1.5; } .sidebar hr { border 0; } .sidebar h2 { border-top: 1px solid #53bcdf; font-size: 20px; font-weight: bold; text-align: center; margin-bottom: 10px; padding-top: 5px; } .sidebar a { color: #53bcdf; text-decoration: underline; } .sidebar a:hover { text-decoration: none; color: #9de2ff; } .sidebar ul, .sidebar li, .sidebar ul li { margin: 0px; padding: 0px; list-style: none; } .sidebar li ul { margin-left: 20px; } a.active { font-weight: bold; color: #9de2ff; } .pagination { font-family: "Source Code Pro", monospace; padding-top: 15px; text-align: center; } .pagination ul, .pagination li { display: inline; margin: 0; padding: 0; list-style: none; } .page-content li.page-item::before { content: ""; width: 0em; margin-left: 0em; margin: 0px; padding: 0px; } .pagination a { background-color: #2f3335; padding: 4px; } /* Footer */ .footer { font-family: "Source Code Pro", monospace; border-top: 1px solid #53bcdf; padding-top: 15px; } /* Content defaults */ body { font-family: "Source Sans Pro", sans-serif; color: white; background-color: #232627; text-rendering: optimizeLegibility; line-height: 1.25; margin: 0 auto; max-width: 1280px; padding: 15px; } .has-text-centered { text-align: center; } .page-content p { margin-top: 15px; margin-bottom: 15px; } a { color: #53bcdf; text-decoration: underline; font-family: "Source Code Pro", monospace; } a:hover { text-decoration: none; color: #9de2ff; } .tag a { background-color: #2f3335; padding: 2px; color: #76e09d; } .tag a:hover { color: #b4ffd2; } .tag.active a { font-weight: bold; color: #b4ffd2; } .button a { background-color: #2f3335; padding: 2px; margin: 2px; } .page-content article { margin-bottom: 25px; border-top: 1px dashed #bbb677; } .page-content h1, .page-content h1 a { font-size: 30px; margin-bottom: 10px; font-weight: bold; color: #bbb677; } .page-content h1 a:hover { color: #f0eca9; } .page-content h2 { font-size: 25px; font-weight: bold; color: #bbb677; margin-top: 30px; } .page-content h3 { font-size: 20px; font-weight: bold; color: #bbb677; margin-top: 35px; } .page-content h4 { font-size: 15px; font-weight: bold; color: #bbb677; margin-top: 20px; } .page-content h5 { font-size: 15px; color: #bbb677; margin-top: 10px; } .page-content .article-date { font-family: "Source Code Pro", monospace; font-size: 0.8em; margin: 0px; } .page-content .tags-list { float: right; } article .post-content { margin-top: 20px; } .page-content ul { padding: 0px; list-style: none; } .page-content ul li{ margin-left: 10px; } .page-content ul li::before { content: "\2022"; color: #53bcdf; font-weight: bold; display: inline-block; width: 0.75em; margin-left: -0.5em; } .page-content ol { margin-left: 20px; list-style: decimal; } .page-content ol li{ margin-left: 10px; } .page-content em { font-style: italic; } .page-content strong { font-weight: bold; } .page-content code { font-family: "Source Code Pro", monospace; } figure { padding: 5px; border: 1px dotted #bbb677; } figure.large-img { max-width: 80%; } figure.center { margin: 0 auto; } figure img { max-width: 100%; } .center { text-align: center; } .related { margin-top: 25px; border-top: 1px dashed #bbb677; padding-top: 10px; } /* Responsive */ @media only screen and (max-width: 800px) { .flex { display: table; } .sidebar { display: table-footer-group; } .page-content { display: table-header-group; padding: 0px; } #navbar .nav-left, #navbar .nav-right { float: none; text-align: center; } #navbar { min-height: 75px; } }