Update site styles, better layout, new fonts, some colours
This commit is contained in:
parent
c20a2f403c
commit
e649c2ebac
4 changed files with 81 additions and 67 deletions
55
public/assets/app.css
vendored
55
public/assets/app.css
vendored
|
@ -52,38 +52,23 @@ body {
|
|||
display: flex;
|
||||
flex-direction: column; }
|
||||
|
||||
#top-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center; }
|
||||
#top-header h1 {
|
||||
width: 100%;
|
||||
text-align: center; }
|
||||
#top-header nav {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap; }
|
||||
#top-header nav a {
|
||||
margin: 0 0.5rem; }
|
||||
|
||||
@media screen and (max-width: 699px) {
|
||||
main {
|
||||
margin-left: 5px;
|
||||
margin-right: 5px; } }
|
||||
|
||||
main .h-feed {
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: auto; }
|
||||
main .h-feed img {
|
||||
@media screen and (max-width: 699px) {
|
||||
main {
|
||||
margin-left: 5px;
|
||||
margin-right: 5px; } }
|
||||
main img {
|
||||
max-width: 100%; }
|
||||
@media screen and (min-width: 700px) {
|
||||
main .h-feed {
|
||||
main {
|
||||
max-width: 700px; }
|
||||
main .h-feed > .note,
|
||||
main .h-feed > .h-entry {
|
||||
main > .note,
|
||||
main > .h-entry {
|
||||
padding: 0 1rem; } }
|
||||
main .h-feed .h-entry:first-child > .bookmark-link {
|
||||
main .h-entry:first-child > .bookmark-link {
|
||||
padding-top: 2rem; }
|
||||
|
||||
.note {
|
||||
|
@ -101,6 +86,12 @@ main .h-feed {
|
|||
.note > .e-content > .naked-link .u-photo {
|
||||
margin: 2rem 0; }
|
||||
|
||||
article header > h1 {
|
||||
margin-bottom: 0; }
|
||||
|
||||
article header .post-info {
|
||||
font-size: 1.4rem; }
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -126,6 +117,20 @@ footer {
|
|||
margin-left: 5px;
|
||||
margin-right: 5px; } }
|
||||
|
||||
#top-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center; }
|
||||
#top-header h1 {
|
||||
width: 100%;
|
||||
text-align: center; }
|
||||
#top-header nav {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap; }
|
||||
#top-header nav a {
|
||||
margin: 0 0.5rem; }
|
||||
|
||||
.post-info a {
|
||||
text-decoration: none; }
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
56
resources/sass/_layout-main.scss
vendored
56
resources/sass/_layout-main.scss
vendored
|
@ -3,34 +3,12 @@ body {
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
@media screen and (max-width: 699px) {
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.h-feed {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: auto;
|
||||
|
@ -53,7 +31,6 @@ main {
|
|||
padding-top: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.note {
|
||||
|
@ -86,6 +63,18 @@ main {
|
|||
}
|
||||
}
|
||||
|
||||
article {
|
||||
header {
|
||||
> h1 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.post-info {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
@ -119,3 +108,24 @@ footer {
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,6 +46,5 @@
|
|||
|
||||
@section('scripts')
|
||||
<link rel="stylesheet" href="/assets/highlight/zenburn.css">
|
||||
<script defer src="/assets/js/links.js"></script>
|
||||
@include('templates.mapbox-links')
|
||||
@stop
|
||||
|
|
Loading…
Add table
Reference in a new issue