/* vim: set ts=2 sw=2 et tw=80: */ body { background-color: $background-color; font-family: "Radio Canada", sans-serif; display: flex; min-height: 100vh; flex-direction: column; } main { flex: 1 0 auto; } .navbar-list .navbar-item { text-transform: uppercase; font-weight: 400; margin: 1em; } ul.navbar-list { margin-bottom: 2rem; } .header { background: $top-col; color: $top-col; .head.navbar { display: flex; @include media-query($on-palm) { flex-direction: column; align-items: center; } h1 { flex: 2; font-size: 1.5rem; display: inline; margin: 0; padding: 0; a { background: $top-col; color: white; } } .links { white-space: nowrap; text-align: right; a { text-transform: uppercase; display: inline-block; padding: 0.25rem 0.5rem; background: $top-col; color: white; } a:first-child { padding-left: 0; } a:last-child { padding-right: 0; } } } } .homequote { display: flex; color: $text-color; align-items: stretch; margin-bottom: 1rem; figure { margin: 0; flex: 0; background-image: url(/images/claudio.jpg); background-size: cover; background-position: center; } figure .blur { width: 100%; height: 100%; backdrop-filter: blur(10px) contrast(0.7) brightness(1.3); display: flex; align-items: center; justify-content: center; min-width: 300px; } .quote { flex: 1; padding: 1rem 1.5rem; } } @include media-query($on-laptop) { .homequote { flex-direction: column; figure img { filter: none; object-fit: cover; height: 300px; width: 300px; object-position: center top; } } } .portfolio { position: relative; padding-top: 2rem; .line { position: absolute; top: 0; bottom: 0; left: 1rem; border: 3px solid #aaa; z-index: 100; } .line-end, .line-end-bottom { position: absolute; left: 0.675rem; width: 1rem; height: 1rem; border-radius: 1rem; background: #aaa; z-index: 200; } .line-end { top: 0; } .line-end-bottom { bottom: 0; } .port-elem { display: flex; width: 100%; .side > *, .description { padding: 0.5rem; z-index: 200; } .side { width: 12rem; min-width: 12rem; display: flex; flex-grow: 0; flex-direction: column; align-items: stretch; text-align: right; .date { background: $top-col; color: white; } .category, .authors, .repo, .languages { background: white; border: 3px solid #7cafe4; border-top: 0px; } .authors { text-align: left; ul { margin: 0 0 0 1rem; list-style-type: square; font-size: 0.8em; } } } .description { border: $border; flex-grow: 1; background: $background-color; .images { background: $brand-color; padding: 0.5rem; margin: -0.5rem -0.5rem 0.5rem -0.5rem; text-align: center; a { background: none; } img { width: 175px; margin: 0.25rem; } } } } } @include media-query($on-laptop) { .portfolio { padding-bottom: 1rem; .port-elem { flex-direction: column; .side { width: 100%; text-align: center; .authors { text-align: center; ul { list-style-type: none; } } } } } } @media (max-width: 700px) { .navbar-list .navbar-item { width: calc(100% - 2em); } } ul.post-list, ul.navbar-list { list-style-type: none; margin-left: 0; margin-right: 0; } ul.post-list li { padding-top: 2rem; } ul.post-list li:first-child { padding-top: 0; } footer { justify-content: space-between; background: $brand-color; .container { display: flex; .author { flex: 1; font-size: 1rem; text-align: right; background: $brand-color; color: white; a { background: $brand-color; color: white; } } @include media-query($on-palm) { flex-direction: column; align-items: center; .author { text-align: center; } } .icons { text-align: center; flex: 0; white-space: nowrap; .icon { display: inline-table; color: $brand-color; background: white; width: 2.5em; height: 2.5em; text-align: center; line-height: 2.5em; margin: 0.25em; cursor: pointer; } } } } .container { padding-top: 1rem; padding-bottom: 1rem; max-width: min(1280px, 100%); margin: 0 auto; } @media screen and (max-width: 1280px) { main.container { margin: 0 0; } } /* Utility class for centering block elements */ .block-center { display: block; margin: auto; }