Skip to content

fixing menu underline width #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
*.iml
out
gen
/.sass-cache
.sass-cache
Gemfile.lock
10 changes: 8 additions & 2 deletions _layouts/splash.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,14 @@
<!-- <a href="#" class="underline">Cisco 8000 Router</a>-->
</div>
</div>
<a class="underline nav-link" href="/design">Designs</a>
<a class="underline nav-link" href="/search">Search <i class="fas fa-search"></i></a>
<div class="nav-link">
<a class="underline " href="/design">Designs</a>
</div>
<div class="nav-link">
<a class="underline " href="/search">Search <i class="fas fa-search"></i></a>
</div>


<div class="social">
<a href="https://twitter.com/xrdocs" target="_blank"><img src="images/twitter.svg" width="50" alt="twitter icon" class="social-icon"></a>
<a href="https://github.com/xrdocs" target="_blank"><img src="images/github-social-icon.svg" width="50" alt="github icon" class="social-icon"></a>
Expand Down
8 changes: 4 additions & 4 deletions css_new/cisco.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ a {
z-index: 1;
}
.dropdown-content a {
padding: 14px 16px;
margin: 20px 16px;
text-decoration: none;
display: block;
text-align: left;
line-height: 20px;
line-height: 30px;
min-height: 20px;
}
a.underline, label.underline {
Expand All @@ -122,7 +122,7 @@ a.underline:before, label.underline:before {
visibility: hidden;
transition: all 0.3s ease-in-out;
}
label.underline:before {
label.underline:before, a.underline:before {
top: 30px;
}
#toggle {
Expand Down Expand Up @@ -402,7 +402,7 @@ ul.splide__list {
/* Nav Section */
a.underline:hover:before, label.underline:hover:before {
visibility: visible;
width: 90%;
width: 100%;
}
#toggle:hover + div {
display: block;
Expand Down