Skip to content

Commit

Permalink
theme(fix): remove width of rainbow box section under site title
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Aug 23, 2024
1 parent cba0791 commit d03bc5d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
16 changes: 16 additions & 0 deletions assets/functions/image-404.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import type { Config } from '@netlify/functions'

export default async function () {
return new Response('<html><!-- The HTML for your 404 page goes here --></html>', {
headers: {
'content-type': 'text/html',
'netlify-cdn-cache-control': 'durable, immutable, max-age=31536000, public'
},
status: 404
})
}

export const config: Config = {
pattern: '^.*\\.jpe?g$',
preferStatic: true
}
5 changes: 1 addition & 4 deletions assets/scss/03-global/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ h4 {

.rainbow-box {
border-radius: 5px;
width: 70%;
margin: 0 auto 1rem;
height: 1px;
background: linear-gradient(90deg,
Expand All @@ -44,9 +43,7 @@ h4 {
rgba(255, 0, 0, 1) 100%);
}

/*******************************************************************************
* content area
******************************************************************************/
/* content area */
main {
padding-top: 30px;
max-width: 70rem;
Expand Down

0 comments on commit d03bc5d

Please sign in to comment.