Skip to content

Commit

Permalink
fonts and 404
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonyy committed Nov 2, 2024
1 parent a1f66e2 commit 45f94f6
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
5 changes: 5 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: 404
title: "Page Not Found"
permalink: /404.html
---
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.cdnfonts.com/css/futura-pt" rel="stylesheet" />
<link rel="shortcut icon" href="{{ site.baseurl }}/favicon.ico" />
<link rel="apple-touch-icon" href="{{ site.baseurl }}/favicon.ico" />
<link
Expand Down
7 changes: 7 additions & 0 deletions _layouts/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: default
---

<h1>Oops! 404</h1>
<p>Sorry, but the page you were looking for could not be found.</p>
<p><a href="{{ site.baseurl }}/">Return to Home</a></p>
17 changes: 5 additions & 12 deletions _sass/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ html {
/* 01 Font family */

body {
font-family: 'Lato', 'Open Sans', sans-serif;
font-family: "Futura", "Lato", "Open Sans", sans-serif;
line-height: 1.5em;
font-size: 18px;
}

/* 03 Spacing */


.padded {
padding-top: 30px;
padding-bottom: 30px;
Expand Down Expand Up @@ -49,13 +48,11 @@ header h5 {
font-weight: lighter;
}


code {
padding: 2px 4px;
vertical-align: text-bottom;
}


a {
color: rgb(255, 255, 255);
transition: color 0.5s ease;
Expand All @@ -72,21 +69,18 @@ a:hover {
cursor: pointer;
}


h1,
h2,
strong {
font-weight: 700;
padding: 20px 0 20px 0;
}

// center text for h1
h1 {
text-align: center;
}




img {
border: #545454 1px solid;
margin: 5px 0 5px 0;
Expand All @@ -97,12 +91,11 @@ figure {
}

figcaption {
font-family: 'Courier New', Courier, monospace;
font-family: "Courier New", Courier, monospace;
text-align: center;
font-size: 12px;
}


.read-more {
margin: 20px 0 20px 0;
text-align: center;
Expand All @@ -113,5 +106,5 @@ hr {
border-top: 1px solid #545454;
border-bottom: none;
border-left: none;
border-right: none;
}
border-right: none;
}
8 changes: 3 additions & 5 deletions _sass/post.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

.post {
font-family: 'Lato';
margin: 0px auto 50px auto;
text-align: justify;
}
Expand All @@ -12,7 +10,7 @@
display: grid;
grid-template-columns: auto 1fr;
column-gap: 16px;
line-height: 1.5em;
line-height: 1.5em;
}

.post .info div:nth-child(even) {
Expand All @@ -29,5 +27,5 @@

.tags span {
font-size: 16px;
color: grey
}
color: grey;
}

0 comments on commit 45f94f6

Please sign in to comment.