Cleaned up design
This commit is contained in:
parent
bb6859bafb
commit
7ace764d9a
4 changed files with 38 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
/* Sectioning */
|
||||
@font-face {
|
||||
font-family: 'Custom';
|
||||
src: url("/assets/fonts/JetBrainsMono[wght].ttf");
|
||||
|
@ -47,6 +48,10 @@ nav ul li a {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
header nav ul li a {
|
||||
color: unset;
|
||||
}
|
||||
|
||||
nav ul li[aria-current] a {
|
||||
padding-bottom: .8rem;
|
||||
border-bottom: .2rem solid;
|
||||
|
@ -69,6 +74,10 @@ article section h2 {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
article section a {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
article section:first-of-type {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
@ -91,6 +100,10 @@ section.paginationNavigation {
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
section.paginationNavigation a {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 4rem;
|
||||
border-top: thin solid;
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
@extends('_layouts.main')
|
||||
|
||||
@section('body')
|
||||
<h1>{{ $page->title }}</h1>
|
||||
<small>{{ $page->dateTranslated($page->date) }}</small>
|
||||
@yield('content')
|
||||
<article>
|
||||
<section>
|
||||
<h2>{{ $page->title }}</h2>
|
||||
<small>{{ $page->dateTranslated($page->date) }}</small>
|
||||
</section>
|
||||
<section>
|
||||
@yield('content')
|
||||
</section>
|
||||
</article>
|
||||
@endsection
|
|
@ -1,6 +1,12 @@
|
|||
@extends('_layouts.main')
|
||||
|
||||
@section('body')
|
||||
<h1>Hello World</h1>
|
||||
<p>{{ $page->getPath() }}</p>
|
||||
<article>
|
||||
<section>
|
||||
<h2>About</h2>
|
||||
</section>
|
||||
<section>
|
||||
<p>Hello World</p>
|
||||
</section>
|
||||
</article>
|
||||
@endsection
|
|
@ -1,6 +1,12 @@
|
|||
@extends('_layouts.main')
|
||||
|
||||
@section('body')
|
||||
<h1>Hello World</h1>
|
||||
<p>{{ $page->getPath() }}</p>
|
||||
<article>
|
||||
<section>
|
||||
<h2>Projects</h2>
|
||||
</section>
|
||||
<section>
|
||||
<p>Hello World</p>
|
||||
</section>
|
||||
</article>
|
||||
@endsection
|
Loading…
Reference in a new issue