commit b636b05b5d0f2d1566e1404c7b9af36549d8b16c
parent be3915f95daaeefca3601ebf46db996edd9ab844
Author: Nirmal Kumar R <nirmal@posteo.net>
Date: Fri, 26 Jul 2024 16:31:10 +0530
Update styles on 404 page
Diffstat:
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/404.html b/404.html
@@ -9,10 +9,10 @@
<body>
<header>
<div>
- <img loading="lazy" src="https://ik.imagekit.io/mysticmode/tr:w-479/home/name.png" alt="My Full Name - Nirmal Kumar R">
+ <img loading="lazy" src="https://ik.imagekit.io/mysticmode/home/name.png" alt="My Full Name - Nirmal Kumar R">
</div>
</header>
-
+
<section class="content-wrapper">
<div class="content-title">
<h2>404 Not Found</h2>
diff --git a/index.html b/index.html
@@ -10,7 +10,7 @@
<body>
<header>
<div>
- <img loading="lazy" src="https://ik.imagekit.io/mysticmode/home/name.png" alt="My Full Name - Nirmal Kumar R" width="400px">
+ <img loading="lazy" src="https://ik.imagekit.io/mysticmode/home/name.png" alt="My Full Name - Nirmal Kumar R">
</div>
</header>
@@ -23,7 +23,7 @@
</nav>
<section class="home">
- <img loading="lazy" src="https://ik.imagekit.io/mysticmode/home/ashram.jpg" alt="A picture of an ashram garden" width="400px">
+ <img loading="lazy" src="https://ik.imagekit.io/mysticmode/home/ashram.jpg" alt="A picture of an ashram garden">
</section>
<section class="content-wrapper">
diff --git a/style.css b/style.css
@@ -19,6 +19,7 @@ nav {
display: flex;
align-items: start;
justify-content: center;
+ margin: 2em 0 3em;
}
nav a {
@@ -45,6 +46,11 @@ p {
margin: 1em 0;
}
+img {
+ display: block;
+ width: 400px;
+}
+
.home {
margin-top: 1em;
}
@@ -54,10 +60,6 @@ p {
margin-left: 1em;
}
-.home img {
- display: block;
-}
-
.content-title {
color: #663333;
font-weight: bold;