Merge pull request #2 from lukeh990/master

Change color scheme and layout
This commit is contained in:
Luke Harding 2023-12-11 14:24:24 -05:00 committed by GitHub
commit cefcfc4ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 22 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 988 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -22,20 +22,30 @@ const { title } = Astro.props;
<style is:global> <style is:global>
html { html {
font-family: 'JetBrains Mono', monospace; font-family: 'JetBrains Mono', monospace;
background: #235488; background: #000;
color: #8F0;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
} }
h1 { h1 {
font-size: 5em; font-size: 2.5em;
text-transform: uppercase; text-transform: uppercase;
font-weight: 800; font-weight: 800;
margin: 0;
} }
h2 { h2 {
font-size: 3em; font-size: 1.5em;
text-transform: uppercase; text-transform: uppercase;
font-weight: 600; font-weight: 600;
margin: 0;
} }
a { a {
color: #fff; color: #8F0;
text-transform: uppercase;
} }
@font-face { @font-face {
font-family: 'JetBrains Mono'; font-family: 'JetBrains Mono';

View File

@ -5,7 +5,7 @@ import Layout from '../layouts/Layout.astro';
<Layout title="home"> <Layout title="home">
<main> <main>
<h1>lukeh990</h1> <h1>lukeh990</h1>
<h2>WIP</h2> <h2>full-stack web dev</h2>
<ul class="socials"> <ul class="socials">
<li> <li>
<a rel="me" href="https://tech.lgbt/@lukeh990" target="_blank" rel="noopener noreferrer">Mastodon</a> <a rel="me" href="https://tech.lgbt/@lukeh990" target="_blank" rel="noopener noreferrer">Mastodon</a>
@ -17,14 +17,14 @@ import Layout from '../layouts/Layout.astro';
<style> <style>
main { main {
margin: auto;
padding: 1rem;
width: 800px;
max-width: calc(100% - 2rem);
color: white;
font-size: 20px;
line-height: 1.6;
text-align: center; text-align: center;
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
} }
.socials { .socials {
list-style: none; list-style: none;