Hopefully finished with the janky af menu. Definitely needs better
engineering, but works for now.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
test-image.jpg
|
test-image*
|
||||||
|
test-favicon*
|
||||||
|
|||||||
33
index.html
33
index.html
@@ -4,7 +4,8 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>Home | Cuiteguwu</title>
|
<title>Home | Cuiteguwu</title>
|
||||||
<img class="titleimg" src="" />
|
|
||||||
|
<link rel="icon" type="image/x-icon" href="test-favicon.jpg" />
|
||||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||||
|
|
||||||
<meta name="description" content="Cutieguwu's Official website" />
|
<meta name="description" content="Cutieguwu's Official website" />
|
||||||
@@ -18,10 +19,12 @@
|
|||||||
<nav class="nav_pane">
|
<nav class="nav_pane">
|
||||||
<h2 class="nav_logo">Cutieguwu</h2>
|
<h2 class="nav_logo">Cutieguwu</h2>
|
||||||
|
|
||||||
<div class="nav_menu">
|
<ul class="nav_menu">
|
||||||
<a class="nav_title nav_body" href="">Home</a>
|
<li class="nav_body"><a class="nav_title" href="">Home</a></li>
|
||||||
<a class="nav_title nav_body" href="#">About</a>
|
<li class="nav_body">
|
||||||
<div class="dropdown">
|
<a class="nav_title" href="#">About</a>
|
||||||
|
</li>
|
||||||
|
<li class="dropdown">
|
||||||
<div class="dropdown_header nav_body">
|
<div class="dropdown_header nav_body">
|
||||||
<p class="nav_title" href="#">Minecraft</p>
|
<p class="nav_title" href="#">Minecraft</p>
|
||||||
<ion-icon name="chevron-forward-outline"></ion-icon>
|
<ion-icon name="chevron-forward-outline"></ion-icon>
|
||||||
@@ -30,8 +33,8 @@
|
|||||||
<a class="nav_title" href="#">Bearock SMP</a>
|
<a class="nav_title" href="#">Bearock SMP</a>
|
||||||
<a class="nav_title" href="#">Rebirth SMP</a>
|
<a class="nav_title" href="#">Rebirth SMP</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</li>
|
||||||
<div class="dropdown">
|
<li class="dropdown">
|
||||||
<div class="dropdown_header nav_body">
|
<div class="dropdown_header nav_body">
|
||||||
<p class="nav_title">Links</p>
|
<p class="nav_title">Links</p>
|
||||||
<ion-icon name="chevron-forward-outline"></ion-icon>
|
<ion-icon name="chevron-forward-outline"></ion-icon>
|
||||||
@@ -49,11 +52,17 @@
|
|||||||
>Rebirth</a
|
>Rebirth</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</li>
|
||||||
<a class="nav_title nav_body" href="#">Other</a>
|
<li class="nav_body">
|
||||||
<a class="nav_title nav_body" href="#">Other 2</a>
|
<a class="nav_title" href="#">Other</a>
|
||||||
<a class="nav_title nav_body" href="#">Super long title</a>
|
</li>
|
||||||
</div>
|
<li class="nav_body">
|
||||||
|
<a class="nav_title" href="#">Other 2</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav_body">
|
||||||
|
<a class="nav_title" href="#">Super long title</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="main_pane">
|
<div class="main_pane">
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
21
style.css
21
style.css
@@ -13,7 +13,6 @@
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
align-content: start;
|
align-content: start;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 3fr;
|
|
||||||
grid-auto-flow: column;
|
grid-auto-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34,6 +33,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav_menu {
|
.nav_menu {
|
||||||
|
list-style: none;
|
||||||
min-width: fit-content;
|
min-width: fit-content;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-auto-flow: row;
|
grid-auto-flow: row;
|
||||||
@@ -52,9 +52,18 @@
|
|||||||
transition: 0s ease-in;
|
transition: 0s ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav_body:hover * {
|
||||||
|
color: darkviolet;
|
||||||
|
transition: 0s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav_title:hover {
|
||||||
|
color: darkviolet;
|
||||||
|
transition: 0s ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
.nav_title {
|
.nav_title {
|
||||||
text-decoration-line: none;
|
text-decoration-line: none;
|
||||||
color: lightpink;
|
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -64,11 +73,7 @@
|
|||||||
transition: 0.4s ease-out;
|
transition: 0.4s ease-out;
|
||||||
float: left;
|
float: left;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
color: lightpink;
|
||||||
|
|
||||||
.nav_title:hover {
|
|
||||||
color: darkviolet;
|
|
||||||
transition: 0s ease-in;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
@@ -85,7 +90,7 @@
|
|||||||
margin-right: 0.5vw;
|
margin-right: 0.5vw;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
float: right;
|
float: right;
|
||||||
color: white;
|
color: lightpink;
|
||||||
transition-duration: 0.25s;
|
transition-duration: 0.25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user