Start of adding skewed lines to navigation bar

This commit is contained in:
Lucas Patenaude
2024-04-10 00:10:49 -06:00
parent 023e08c442
commit ea555155c9
2 changed files with 11 additions and 0 deletions

View File

@@ -30,3 +30,13 @@
#logo:hover {
font-size: 30px;
}
#line {
height: 100%; /* spans the entire height of the navigation bar */
width: 10px;
background-color: white; /* makes the line white */
transform: skewx(-20deg); /* rotates the line by 20 degrees */
transform-origin: top left; /* sets the rotation origin to top left */
margin-left: 10px; /* Add margin to separate the line from the logo */
}

View File

@@ -7,6 +7,7 @@
<span class="navbar-toggler-icon"></span>
</button>
<a class="logo" id="logo" href="/home">ScoreSpot</a>
<div id="line"></div>
</div>
<div class="collapse navbar-collapse" id="navbarToggler">