another quick fix for some typo and to keep everything lined

This commit is contained in:
2026-11-07 05:07:24 +07:00
parent 89899e339c
commit 6200f1a02c
3 changed files with 18 additions and 6 deletions
+12
View File
@@ -15,6 +15,18 @@
margin-right: auto; margin-right: auto;
} }
.nav a {
display: block;
color: #222222;
text-decoration: none;
padding: 8px 12px;
border-radius: 6px;
}
.nav a:hover {
background-color: #d0d0d0;
}
/* External CSS: mengatur layout container utama */ /* External CSS: mengatur layout container utama */
.flex-container { .flex-container {
display: flex; display: flex;
+4 -4
View File
@@ -6,12 +6,12 @@
<title>Gallery</title> <title>Gallery</title>
<script src="https://cdn.tailwindcss.com"></script> <script src="https://cdn.tailwindcss.com"></script>
</head> </head>
<body class="box-border"> <body>
<!-- Navigation menu untuk berpindah antar halaman website, semua halaman menggunakan navigation yang sama --> <!-- Navigation menu untuk berpindah antar halaman website, semua halaman menggunakan navigation yang sama -->
<header class="header" > <header class="header">
<nav class="nav"> <nav class="nav">
<ul style="display: flex; justify-content: flex-end; align-items: center; list-style-type: none;gap: 2em; padding: 0%;"> <ul class="nav-list">
<li style="margin-right: auto;"><a href="index.html" target="_self" title="Home">Home</a></li> <li><a href="index.html" target="_self" title="Home">Home</a></li>
<li><a href="about.html" target="_self" title="About me">About</a></li> <li><a href="about.html" target="_self" title="About me">About</a></li>
<li><a href="hobbies.html" target="_self" title="Hobbies">Hobbies</a></li> <li><a href="hobbies.html" target="_self" title="Hobbies">Hobbies</a></li>
<li><a href="gallery.html" target="_self" title="Gallery">Gallery</a></li> <li><a href="gallery.html" target="_self" title="Gallery">Gallery</a></li>
+2 -2
View File
@@ -13,7 +13,7 @@ body {
/* Mengatur posisi header dan navigasi */ /* Mengatur posisi header dan navigasi */
.header { .header {
width: min(1500px, calc(100% - 40px)); width: min(1500px, 100%);
margin: 1em auto; margin: 1em auto;
} }
@@ -48,7 +48,7 @@ body {
/* Mengatur container utama halaman Hobbies */ /* Mengatur container utama halaman Hobbies */
.hobbies-main { .hobbies-main {
width: min(1100px, calc(100% - 40px)); width: min(1100px, 100%);
margin: 0 auto; margin: 0 auto;
} }