Add substack, reduce padding

main
Keir Finlow-Bates 3 months ago
parent 531a05cb81
commit b9b8328b9c

1317
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -19,6 +19,10 @@ export default function Home() {
</p> </p>
<div className={styles.grid}> <div className={styles.grid}>
<a href="https://blockchaingandalf.substack.com/" className={`${styles.card} ${styles.fullWidth}`}>
<h3>On Substack &rarr;</h3>
<p>My main social media presence for now.</p>
</a>
<a href="https://bsky.app/profile/blockchaingandalf.com" className={styles.card}> <a href="https://bsky.app/profile/blockchaingandalf.com" className={styles.card}>
<h3>On Bluesky &rarr;</h3> <h3>On Bluesky &rarr;</h3>
<p>Short comments about maths, books, computer programming, and games.</p> <p>Short comments about maths, books, computer programming, and games.</p>
@ -57,7 +61,7 @@ export default function Home() {
<style jsx>{` <style jsx>{`
main { main {
padding: 5rem 0; padding: 6px 0 5rem 0;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

@ -36,6 +36,7 @@
.description { .description {
line-height: 1.5; line-height: 1.5;
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 1rem;
} }
.grid { .grid {
@ -45,7 +46,7 @@
flex-wrap: wrap; flex-wrap: wrap;
max-width: 800px; max-width: 800px;
margin-top: 3rem; margin-top: 0;
} }
.card { .card {
@ -57,6 +58,11 @@
text-decoration: none; text-decoration: none;
border: 1px solid #eaeaea; border: 1px solid #eaeaea;
border-radius: 10px; border-radius: 10px;
background-color: #d4e6f1 !important;
height: 200px;
display: flex;
flex-direction: column;
justify-content: center;
transition: transition:
color 0.15s ease, color 0.15s ease,
border-color 0.15s ease; border-color 0.15s ease;
@ -80,6 +86,12 @@
line-height: 1.5; line-height: 1.5;
} }
.fullWidth {
flex-basis: 100% !important;
text-align: center;
height: 120px !important;
}
.logo { .logo {
height: 1em; height: 1em;
} }

Loading…
Cancel
Save