]> git.za3k.com Git - za3k.git/commitdiff
X?
authorZachary Vance <za3k@za3k.com>
Thu, 6 Jul 2023 17:59:54 +0000 (13:59 -0400)
committerZachary Vance <za3k@za3k.com>
Thu, 6 Jul 2023 17:59:54 +0000 (13:59 -0400)
hack-a-day-rules.md

index e8554e7f1c623eed9c3205ab9cdc2fabda1649d6..9106071caeff52e513cbca7cd76845aa2f858514 100644 (file)
@@ -1,4 +1,18 @@
 <style>
+a {
+    position: relative;
+}
+img::nth-of-type(4)::before {
+    content: "X";
+    color: rgba(255, 70, 70, 0.85);
+    text-decoration: none;
+    font-size: 200px;
+    position: absolute;
+    width: 200px;
+    height: 200px;
+    line-height: 100%;
+}
+
 img {
     display: block;
     margin-left: auto;
@@ -57,7 +71,7 @@ The fourth day was my first failure. I checked out something called the [zero ho
 
 [![Hack-An-Asteroid](https://za3k.com/img/hackaday07.png)](https://tilde.za3k.com/hackaday/asteroid)
 
-[<span style="color:red; font-size:200px; position:absolute; height:200px; width: 200px; line-height:100%">X</span>![Hack-An-Icecube](https://za3k.com/img/hackaday06.png)](https://tilde.za3k.com/hackaday/icecube)
+[![Hack-An-Icecube](https://za3k.com/img/hackaday06.png)](https://tilde.za3k.com/hackaday/icecube)
 
 On day 5, I thought to myself. Should I finish the project from the day before? No, I decided. If I kept working on failures, I'd spend all my time on the projects I was worst at. Instead, I'd just fail and learn from it. But I still wanted to make a game in Unity, so I did. I wrote an *Asteroids* clone, where you fly around a spaceship and shoot asteroids.