Skip to content

Commit 74af3ae

Browse files
committed
simplified styling
1 parent 8b7c91f commit 74af3ae

9 files changed

Lines changed: 11 additions & 397 deletions

File tree

src/components/Nav.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ const { current = '' } = Astro.props;
33
---
44

55
<style>
6+
67
nav {
78
align-items: center;
89
display: flex;
910
flex: 1;
10-
font-family: var(--font-ibm);
11+
font-family: var(--font-family-mono);
1112
font-weight: 700;
1213
justify-content: flex-end;
1314
text-transform: uppercase;

src/layouts/BaseLayout.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import BaseHead from '../components/BaseHead.astro';
33
import Header from '../components/Header.astro';
44
import Footer from '../components/Footer.astro';
5+
import '../styles/global.scss';
56
67
export interface Props {
78
title: string;
@@ -30,6 +31,7 @@ const { title, description, permalink, current } = Astro.props;
3031
</html>
3132

3233
<style >
34+
3335
.layout {
3436
display: flex;
3537
flex-direction: column;

src/pages/work/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ allPosts = allPosts.sort((a, b) => new Date(b.frontmatter.publishDate).valueOf()
4242
</BaseLayout>
4343

4444
<style>
45-
45+
4646
h2,
4747
.post-item-footer {
48-
font-family: var(--font-family-serif);
48+
font-family: var(--font-family-mono);
4949
font-weight: 700;
5050
}
5151

src/styles/_colours.scss

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/styles/_fonts.scss

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/styles/_layout.scss

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)