forked from pclubuiet/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Navbar and add navstyle.css for styling Closes pclubuiet#2 base.html: Improve Navbar
- Loading branch information
1 parent
0869972
commit 4c6fa65
Showing
3 changed files
with
126 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
@import url(http://fonts.googleapis.com/css?family=Raleway); | ||
#cssmenu, | ||
#cssmenu ul, | ||
#cssmenu ul li, | ||
#cssmenu ul li a { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
list-style: none; | ||
line-height: 1; | ||
display: block; | ||
position: relative; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
#cssmenu a { | ||
font-size: 35px; | ||
text-decoration: none; | ||
float:left; | ||
vertical-align: center; | ||
} | ||
#cssmenu:after, | ||
#cssmenu > ul:after { | ||
content: "."; | ||
display: block; | ||
clear: both; | ||
visibility: hidden; | ||
line-height: 0; | ||
height: 0; | ||
} | ||
#cssmenu { | ||
width: 100%; | ||
position: absolute; | ||
border-bottom: 3px solid #23527C; | ||
font-family: Raleway, sans-serif; | ||
line-height: 1; | ||
right: 0; | ||
left: 0; | ||
} | ||
#cssmenu ul { | ||
float: right; | ||
} | ||
#cssmenu{ | ||
background: #222; | ||
} | ||
#cssmenu > ul > li { | ||
float: left; | ||
} | ||
#cssmenu.align-center > ul { | ||
font-size: 0; | ||
text-align: center; | ||
} | ||
#cssmenu.align-center > ul > li { | ||
display: inline-block; | ||
float: none; | ||
} | ||
#cssmenu.align-right > ul > li { | ||
float: right; | ||
} | ||
#cssmenu.align-right > ul > li > a { | ||
margin-right: 0; | ||
margin-left: -4px; | ||
} | ||
#cssmenu > ul > li > a { | ||
z-index: 2; | ||
padding: 18px 25px 12px 25px; | ||
font-size: 15px; | ||
font-weight: 400; | ||
text-decoration: none; | ||
color: #EEE; | ||
-webkit-transition: all .2s ease; | ||
-moz-transition: all .2s ease; | ||
-ms-transition: all .2s ease; | ||
-o-transition: all .2s ease; | ||
transition: all .2s ease; | ||
margin-right: -4px; | ||
} | ||
#cssmenu > ul > li.active > a, | ||
#cssmenu > ul > li:hover > a, | ||
#cssmenu > ul > li > a:hover { | ||
color: #ffffff; | ||
} | ||
#cssmenu > ul > li > a:after { | ||
position: absolute; | ||
left: 0; | ||
bottom: 0; | ||
right: 0; | ||
z-index: -1; | ||
width: 100%; | ||
height: 120%; | ||
border-top-left-radius: 8px; | ||
border-top-right-radius: 8px; | ||
content: ""; | ||
-webkit-transition: all .2s ease; | ||
-o-transition: all .2s ease; | ||
transition: all .2s ease; | ||
-webkit-transform: perspective(5px) rotateX(2deg); | ||
-webkit-transform-origin: bottom; | ||
-moz-transform: perspective(5px) rotateX(2deg); | ||
-moz-transform-origin: bottom; | ||
transform: perspective(5px) rotateX(2deg); | ||
transform-origin: bottom; | ||
} | ||
#cssmenu > ul > li.active > a:after, | ||
#cssmenu > ul > li:hover > a:after, | ||
#cssmenu > ul > li > a:hover:after { | ||
background: #23527C; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters