]> git.neb.cc Git - xyz.git/commitdiff
Add wishlist
authorBen Larson <[email protected]>
Sun, 11 Jul 2021 22:52:49 +0000 (17:52 -0500)
committerBen Larson <[email protected]>
Sun, 11 Jul 2021 22:52:49 +0000 (17:52 -0500)
src/index.html
src/styles/colors.css
src/styles/main.css
src/wishlist/index.html [new file with mode: 0644]

index 1068e99a684880ba000c5548c6d5a70d88cc406d..b3fd941fbcd6c18caadc722ce56ccc3b569a9e5d 100644 (file)
@@ -24,7 +24,7 @@
       <h1>Ben Larson</h1>
     </header>
     <main>
-      <p>
+      <p class="dropcap">
         I am a software developer in Nashville, Tennissee. For the past two
         years I've been working on the Marketing Technology team at
         <a href="https://www.ramseysolutions.com">Ramsey.</a> Before that I was
@@ -32,7 +32,7 @@
         where I got a bachelor's degree in Computer Science, and minored in
         Philosophy and German.
       </p>
-      <p>
+      <p class="dropcap">
         For fun I enjoy hiking, reading, and listening to music. The tallest
         mountain I have climbed is Mount Washington (6k ft) in New Hampshire. A
         few of my favorite authors are Howard Pyle, G. K. Chesterton, C. S.
@@ -41,7 +41,7 @@
         <a href="https://triodhoore.com">Trio Dhoore,</a> and
         <a href="https://www.weirdal.com">"Weird Al" Yankovic.</a>
       </p>
-      <p>
+      <p class="dropcap">
         Like a lot of other devs, I often spend my free time coding. Many of my
         side projects are hosted on
         <a href="http://git.benlarson.xyz">my git server.</a> One of these is
index 3b6d1c849fd8e76d96cee76fc7d3b720b591a633..cb43d50a5be3f4edb3e67f7b1fa78113fcfa7df1 100644 (file)
 
 @media (prefers-color-scheme: dark) {
   :root {
-    --background-color-primary: #111;
+    --background-color-primary: #181818;
     --background-color-header: #000;
 
     --text-color-primary: #eee;
     --text-color-links: #0af;
     --text-shadow: 0 0 1px rgba(200, 200, 200, 0.6);
 
-    --separator-color: #222;
+    --separator-color: #282828;
   }
 }
index 713397c1e9df29b5cf1a5f0e75ff581ec6c29d0b..4a031dd64ae0fc1d4e0e2c8489d7935f89e6120e 100644 (file)
@@ -18,6 +18,7 @@ body {
 header {
   background-color: var(--background-color-header);
   padding: 6rem 3rem 3rem 3rem;
+  box-shadow: 0 -1px var(--separator-color) inset;
 }
 
 h1 {
@@ -28,8 +29,10 @@ h1 {
 }
 
 main {
+  margin: 0 auto;
+  max-width: 50rem;
+  line-height: 1.6em;
   padding: 3rem 3rem 5rem 3rem;
-  box-shadow: 0 -1px var(--separator-color);
 }
 
 a {
@@ -44,20 +47,45 @@ a:hover {
 }
 
 p {
-  position: relative;
-  margin: 0 auto;
-  max-width: 50rem;
-  line-height: 1.6em;
   padding-bottom: 2rem;
 }
 
-p::first-letter {
+p.dropcap::first-letter {
   font-size: 2em;
   float: left;
   margin: 0.3em 0.5em 0 0.5em;
   line-height: 1em;
 }
 
+.wishlist {
+  display: grid;
+  grid-row-gap: 1.5rem;
+  list-style-type: none;
+}
+
+.wishlist li {
+  display: block;
+  height: 6rem;
+}
+
+.wishlist .thumbnail {
+  height: 6rem;
+  float: left;
+  margin-right: 1.5rem;
+  border-radius: 1rem;
+}
+
+.wishlist .title {
+  font-size: 22pt;
+  line-height: 3rem;
+  padding-top: .2rem;
+}
+
+.wishlist .description {
+  display: block;
+  line-height: 2rem;
+}
+
 @media (max-width: 45em) {
   header {
     padding: 3rem 2rem 3rem 1rem;
@@ -66,4 +94,8 @@ p::first-letter {
   main {
     padding: 2rem 1rem 5rem 1rem;
   }
+
+  .wishlist .thumbnail {
+    display: none;
+  }
 }
diff --git a/src/wishlist/index.html b/src/wishlist/index.html
new file mode 100644 (file)
index 0000000..e31a51d
--- /dev/null
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta
+      name="viewport"
+      content="width=device-width, initial-scale=1, viewport-fit=cover"
+    />
+    <meta charset="UTF-8" />
+    <title>Ben's Wishlist</title>
+    <link rel="stylesheet" href="/styles/main.css" />
+  </head>
+  <body>
+    <header>
+      <h1>Ben's Wishlist</h1>
+    </header>
+    <main>
+      <p>Note: I'm the only one who can update this, so be careful.</p>
+      <ul class="wishlist">
+        <li>
+          <img class="thumbnail" src="https://img.discogs.com/Vs2ekQSPBKi2dRP1VkzLummmwHk=/fit-in/300x300/filters:strip_icc():format(jpeg):mode_rgb():quality(40)/discogs-images/R-3292334-1324287209.jpeg.jpg" />
+          <h3 class="title">Polarskibet Fram</h3>
+          <span class="description">
+       Vinyl record &ndash; <a
+            href="https://www.discogs.com/Various-Polarskibet-Fram/release/3292334"
+            target="_blank"
+            >View on Discogs</a
+          >
+</span>
+        </li>
+      </ul>
+    </main>
+  </body>
+</html>