.blog__header { font-size: 2.4rem; font-weight: 900; margin-top: 1cm; } .posts { font-size: 1.1rem; list-style: none; @media (max-width: 780px) { font-size: 1rem; padding-left: 0%; margin-left: 0%; } } .post { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .post__link { } .post__date { font-weight: bold; .post__date_short { display: none; } .post__date_long { display: inline; } @media (max-width: 780px) { .post__date_short { display: inline; } .post__date_long { display: none; } } } .post__content { margin-bottom: 2cm; h1, h2, h3, h4, h5, h6 { margin-bottom: 0px; } h1 { font-size: 1.6rem; } h2 { font-size: 1.35rem; } blockquote { margin-left: 0; margin-right: 30px; padding-left: 26px; border-left-width: 4px; border-left-style: solid; } sub { font-size: 70%; } // Code (not only code blocks) code { opacity: 0.5; } // Code-block highlighting pre { font-size: 14px; overflow: auto; opacity: 1; > code { opacity: 1; > span { height: 1.1rem; // for some reason, the default is messed up (3rd line is always higher value) margin-left: 16px; margin-right: 16px; &:first-child { padding-top: 8px; } &:last-child { padding-bottom: 8px; } } } } }