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
90
resources/sass/_layout-main.scss
vendored
90
resources/sass/_layout-main.scss
vendored
|
@ -3,55 +3,32 @@ 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;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: auto;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 700px) {
|
||||
max-width: 700px;
|
||||
|
||||
> .note,
|
||||
> .h-entry {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 700px) {
|
||||
max-width: 700px;
|
||||
|
||||
> .note,
|
||||
> .h-entry {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.h-entry:first-child {
|
||||
> .bookmark-link {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
.h-entry:first-child {
|
||||
> .bookmark-link {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
Add a link
Reference in a new issue