Move nav onto second header row. Improve colour contrast on colour scheme picker
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m15s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m15s
This commit is contained in:
parent
13f3109078
commit
e2c4e40a98
@ -43,16 +43,7 @@
|
||||
<body>
|
||||
<header class="wrapper-lg row space-between">
|
||||
<a href="/" class="site-title">LD</a>
|
||||
<nav>
|
||||
<ul class="row" role='list'>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/blogroll">Blogroll</a></li>
|
||||
<li><a href="/events/2024">Events</a></li>
|
||||
<li><a href="/links">Links</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
<a href="/feed/" class="rss" aria-label="RSS feed">
|
||||
<i class="fa-solid fa-rss"></i>
|
||||
</a>
|
||||
@ -71,6 +62,16 @@
|
||||
System
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<nav class="main-nav">
|
||||
<ul class="row" role='list'>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/blog">Blog</a></li>
|
||||
<li><a href="/blogroll">Blogroll</a></li>
|
||||
<li><a href="/events/2024">Events</a></li>
|
||||
<li><a href="/links">Links</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
{{ content | safe }}
|
||||
<footer>
|
||||
|
10
src/css/exceptions/main-nav.css
Normal file
10
src/css/exceptions/main-nav.css
Normal file
@ -0,0 +1,10 @@
|
||||
.main-nav {
|
||||
width: 100%;
|
||||
flex-grow: 1;
|
||||
|
||||
.row {
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
place-self: start;
|
||||
flex-grow: 1;
|
||||
|
||||
&:hover, &:focus, &:focus-visible {
|
||||
outline: 0px transparent;
|
||||
|
@ -156,6 +156,7 @@ header {
|
||||
flex-wrap: wrap;
|
||||
padding-top: var(--space-size-s);
|
||||
padding-bottom: var(--space-size-s);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -14,7 +14,13 @@ module.exports = {
|
||||
'2xl': '1536px',
|
||||
'3xl': '1920px',
|
||||
},
|
||||
colors: colors,
|
||||
colors: {
|
||||
...colors,
|
||||
neutral: {
|
||||
...colors.neutral,
|
||||
400: '#b1b1b1'
|
||||
}
|
||||
},
|
||||
backgroundColor: ({theme}) => theme('colors'),
|
||||
textColor: ({theme}) => theme('colors'),
|
||||
spacing: {
|
||||
|
Loading…
Reference in New Issue
Block a user