@import url('https://fonts.googleapis.com/css?family=Public+Sans&display=swap'); @import "colours.less"; * { box-sizing: border-box; outline: none; transition: all 0.2s ease; } html { width: 100%; height: 100%; background: url(/images/background.png); } html, body { padding: 0; margin: 0; font-family: 'Public Sans', sans-serif; color: #333; } body { max-width: 1280px; min-height: 100%; margin: auto; background: white; display: flex; flex-direction: column; } a { color: @primary; position: relative; text-decoration: none; background: linear-gradient(to bottom, @primary 0%, @primary 0%); background-position: 0 100%; background-size: 0px 0px; background-repeat: repeat-y; transition: all 0.3s ease-in-out 0s; &:hover { color: white; background-size: 100% 100%; } } h1, h2, h3, h4, h5, h6 { &:first-child { margin-top: 0; } a { color: inherit; text-decoration: underline; &:hover { text-decoration: none; } } } .header { background: url(/images/header.jpg) no-repeat; background-size: cover; background-position: center; padding: 40px 30px; display: flex; align-items: start; justify-content: flex-end; &__blurb { &__title { font-size: 32px; display: block; text-decoration: none; color: black; font-weight: bold; } } &__headshot { flex: 0 0 auto; background: url(/images/headshot.jpg) center no-repeat; background-size: cover; width: 200px; height: 200px; border: 5px solid white; border-radius: 50%; box-shadow: 0px 0px 5px 0px rgba(0,0,0,1); } } #content { display: flex; width: 100%; main { flex: 1 1 auto; padding: 30px; overflow: hidden; } nav { flex: 0 0 250px; border-left: 1px solid @Grey-400; margin: 20px 0; padding: 0 10px; .nav-list{ list-style-type: none; margin: 0; padding: 0; &__link{ margin-bottom: 10px; } } } } footer { padding: 20px; margin-top: auto; .logo { background: url(/images/logo.png) no-repeat center; background-size: contain; height: 32px; } } button, .button { background: @accent; border: none; box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25); padding: 10px 20px; border-radius: 50px; color: white; font-weight: bold; } .round-button { border-radius: 50%; background: @accent; padding: 0; width: 40px; height: 40px; border: none; box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.25); margin: 10px; display: flex; justify-content: center; align-items: center; } form { .form-row { margin: 5px 0; } } @import "blog.less";