Jelajahi Sumber

center text and credit profile picture

Hvrnbi 4 bulan lalu
induk
melakukan
aef19646e1
2 mengubah file dengan 7 tambahan dan 3 penghapusan
  1. 3 2
      css/style.css
  2. 4 1
      index.html

+ 3 - 2
css/style.css

@@ -20,7 +20,8 @@ div {
     max-width: 100%;
     max-height: 100%;
     background-color: var(--bg-color);
-    color: var(--txt-color)
+    color: var(--txt-color);
+    text-align: center;
 }
 
 div img {
@@ -28,7 +29,7 @@ div img {
     border-radius: 8px;
 }
 
-div p a {
+div a {
     text-decoration: underline dashed 2px;
     color: var(--txt-color);
 }

+ 4 - 1
index.html

@@ -25,7 +25,10 @@
                 This website was made during the <a href="https://stardance.hackclub.com/home" target="_blank">Stardance hackclub event</a> using <a href="https://jams.hackclub.com/batch/webOS/" target="_blank">this walkthrough</a>.
             </p>
 
-            <img src="images/me.png" alt="My profile picture">
+            <figure>
+                <img src="images/me.png" alt="My profile picture">
+                <figcaption>Drawing by <a href="https://www.instagram.com/wawell__/" target="_blank">Wawel</a></figcaption>
+            </figure>
 
             <p>This website is <a href="https://github.com/Hvrnbi/harupios">open-source</a>.</p>
         </div>