Skip to content

Commit

Permalink
Merge pull request #139 from jwoo0122/dev/leo/fix-design
Browse files Browse the repository at this point in the history
Dev/leo/fix design
  • Loading branch information
jwoo0122 authored Jun 8, 2024
2 parents a677369 + 807bb25 commit cde5fd6
Show file tree
Hide file tree
Showing 55 changed files with 18 additions and 243 deletions.
Binary file removed public/GeistMono/GeistMono-Black.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-Bold.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-Light.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-Medium.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-Regular.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-SemiBold.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-Thin.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-UltraBlack.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMono-UltraLight.woff2
Binary file not shown.
Binary file removed public/GeistMono/GeistMonoVariableVF.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Black.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Black.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-BlackItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-BlackItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Bold.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Bold.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-BoldItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-BoldItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraBold.woff
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraBold.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraBoldItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraBoldItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraLight.woff
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraLight.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraLightItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-ExtraLightItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Italic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Italic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Light.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Light.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-LightItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-LightItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Medium.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Medium.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-MediumItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-MediumItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Regular.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Regular.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-SemiBold.woff
Binary file not shown.
Binary file removed public/Inter/Inter-SemiBold.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-SemiBoldItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-SemiBoldItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-Thin.woff
Binary file not shown.
Binary file removed public/Inter/Inter-Thin.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-ThinItalic.woff
Binary file not shown.
Binary file removed public/Inter/Inter-ThinItalic.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-italic.var.woff2
Binary file not shown.
Binary file removed public/Inter/Inter-roman.var.woff2
Binary file not shown.
Binary file removed public/Inter/Inter.var.woff2
Binary file not shown.
191 changes: 0 additions & 191 deletions public/Inter/inter.css

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ const { title, description, image = '' } = Astro.props;
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/cat.ico" />
<meta name="generator" content={Astro.generator} />
<meta name="theme-color" content="#a91e4a">
<meta name="theme-color" content="#c54221">

<!-- font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Pacifico&display=swap" rel="stylesheet">

<!-- Canonical URL -->
<link rel="canonical" href={canonicalURL} />
Expand Down
13 changes: 6 additions & 7 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,26 @@ import Icon from "astro-icon";

<style lang="scss">
header {
position: sticky;
top: 0;
background-color: #a91e4a;
background-color: #c54221;
padding: 0.2em 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
border-bottom: 6px solid #962a0e;

#container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 56ch;
max-width: 85ch;
margin: 0 auto;
padding: 0 14px;
box-sizing: border-box;
height: 3.2rem;

#home {
text-decoration: none;
outline: none;
font-family: "Libre Barcode 128 Text", system-ui;
font-size: 2rem;
font-family: "Pacifico", cursive;
font-size: 1.6rem;
color: white;
font-weight: 400;
}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const { title, description, heroImage } = Astro.props;
main {
padding: 0 14px;
margin: auto;
max-width: 56ch;
max-width: 85ch;
}

hr {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const readingTime = getReadingTime(body);
<style lang="scss">
#hero {
width: 100%;
max-height: 180px;
max-height: 200px;
object-fit: cover;
object-position: center;
border-radius: 0 0 12px 12px;
Expand Down
49 changes: 8 additions & 41 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ h2 {
font-size: 22px;
}

h1,
h2,
h3 {
scroll-margin-top: 30px;
}

textarea {
width: 100%;
font-size: 16px;
Expand All @@ -42,7 +48,7 @@ code {
padding: 2px 5px;
font-size: 14px;
background-color: #ccc;
font-family: GeistMono, monospace;
font-family: "JetBrains Mono", monospace;
border-radius: 5px;
}

Expand All @@ -59,7 +65,7 @@ pre {
pre > code {
all: unset;
font-size: 13px;
font-family: GeistMono, monospace;
font-family: "JetBrains Mono", monospace;
font-variant-ligatures: common-ligatures;
background-color: transparent !important;
}
Expand All @@ -75,42 +81,3 @@ blockquote {
hr {
border: none;
}
@font-face {
font-family: "Inter";
src: url("/Inter/Inter-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/Inter/Inter-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/Inter/Inter-Italic.woff2") format("woff2");
font-weight: normal;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/Inter/Inter-BoldItalic.woff2") format("woff2");
font-weight: bold;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "GeistMono";
src: url("/GeistMono/GeistMono-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}

0 comments on commit cde5fd6

Please sign in to comment.