jonnybarnes.uk/resources/sass/_layout-main.scss

133 lines
2 KiB
SCSS
Raw Normal View History

body {
display: flex;
flex-direction: column;
}
main {
@media screen and (max-width: 699px) {
margin-left: 5px;
margin-right: 5px;
2020-02-21 18:26:52 +00:00
}
display: flex;
flex-direction: column;
margin: auto;
img {
max-width: 100%;
}
2020-02-21 18:26:52 +00:00
@media screen and (min-width: 700px) {
max-width: 700px;
> .note,
> .h-entry {
padding: 0 1rem;
}
}
.h-entry:first-child {
> .bookmark-link {
padding-top: 2rem;
}
2020-02-21 18:26:52 +00:00
}
}
.note {
display: flex;
flex-direction: column;
.note-metadata {
display: flex;
flex-direction: row;
justify-content: space-between;
2020-03-08 14:18:37 +00:00
.client {
word-break: break-all;
}
.syndication-links {
svg {
height: 1em;
width: 1em;
}
}
}
> .e-content {
> .naked-link {
.u-photo {
margin: 2rem 0;
}
}
}
}
article {
header {
> h1 {
margin-bottom: 0;
}
.post-info {
font-size: 1.4rem;
}
}
}
2020-02-23 17:12:17 +00:00
.pagination {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2020-02-23 17:12:17 +00:00
justify-content: space-evenly;
max-width: 90vw;
2020-02-23 17:12:17 +00:00
list-style-type: none;
}
.personal-bio {
padding: 0 2rem;
}
footer {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 1.5rem;
2020-02-21 18:26:52 +00:00
input {
@media screen and (max-width: 699px) {
max-width: 95vw;
}
}
2020-02-21 18:26:52 +00:00
.iwc-logo {
max-width: 100%;
}
@media screen and (max-width: 699px) {
margin-left: 5px;
margin-right: 5px;
}
}
#top-header {
display: flex;
flex-direction: column;
justify-content: center;
h1 {
width: 100%;
text-align: center;
}
nav {
display: flex;
justify-content: center;
flex-wrap: wrap;
a {
margin: 0 0.5rem;
}
}
}