-
-
Save Pitriss/5f0ef9a9d7d028fb6373 to your computer and use it in GitHub Desktop.
My #menu modification of https://github.com/celeron55/minetest.net_dokutemplate2/blob/master/css/h6e-custom.css. I hope it will work. I removed all !important's which were needed locally in stylish to override sites default and hope they are not needed in the original. Transparent background of minetest-icon-40.png is appreciated to not break li…
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
#menu { | |
padding:0; | |
margin:0; | |
padding-bottom: 1em; | |
text-align: center; | |
} | |
#menu ul { | |
padding:0; | |
margin:0; | |
list-style-type:none; | |
border-bottom: 1px solid #000; | |
} | |
#menu ul a { | |
text-decoration: none; | |
} | |
#menu ul a:hover { | |
text-decoration: underline; | |
} | |
#menu a.sub:link, | |
#menu ul ul li a:link { | |
display:block; | |
min-width:140px; | |
height:22px; | |
text-align:left; | |
line-height:22px; | |
color:#404040; | |
margin:0; | |
} | |
#menu ul li a:hover, | |
#menu a.sub:hover, | |
#menu ul ul li a:hover { | |
color: #009dff; | |
} | |
#menu ul ul { | |
position:absolute; | |
width:auto; | |
z-index:122; | |
display:none; | |
padding:0; | |
margin:0; | |
text-align: left; | |
border: 1px solid #000; | |
border-top: none; | |
} | |
#menu ul ul li { | |
white-space: nowrap; | |
width: 100%; | |
} | |
#menu li { | |
position:relative; | |
display:inline-block; | |
width:auto; | |
padding:0; | |
margin:0; | |
margin-right:10px; | |
} | |
#menu ul li:hover ul { | |
display:block; | |
background:#fff; | |
} | |
#menu ul li:hover { | |
background-color:#fff; | |
} | |
#menu a:link, | |
#menu a:visited { | |
display:inline; | |
width:auto; | |
color:#323232; | |
background:none; | |
padding-left:5px; | |
padding-right:5px; | |
font-weight:regular; | |
font-family:"Calibri", sans-serif; | |
} | |
#menu a:hover, | |
#menu a:visited:hover { | |
color: #009dff; | |
} | |
#menu a.sub_ex:before { | |
content: "→ "; | |
} | |
#menu a.sub_ex:link { | |
display:block; | |
min-width:140px; | |
height:22px; | |
text-align:left; | |
line-height:22px; | |
color:#404040; | |
margin:0; | |
} | |
#menu a.sub_ex:hover { | |
color: #009dff; | |
} | |
.h6e-main-content { | |
border: 1px solid #000; | |
border-width: 0 1px 0 1px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment