Difference between revisions of "Template:KCII-CSIA-Main-Navigation-English"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | div.nav { | |
− | + | margin: 35px 0; | |
− | + | background-color: #2B536B; | |
} | } | ||
− | + | div.nav ul { | |
− | + | padding: 0; | |
− | + | margin: 0; | |
− | + | list-style: none; | |
− | + | position: relative; | |
− | + | } | |
− | + | div.nav ul li { | |
− | font-size: | + | display:inline-block; |
+ | background-color: #2B536B; | ||
+ | } | ||
+ | div.nav a { | ||
+ | display:block; | ||
+ | padding:0 10px; | ||
+ | color:#FFF; | ||
+ | font-size:20px; | ||
+ | line-height: 60px; | ||
+ | text-decoration:none; | ||
} | } | ||
− | + | div.nav a:hover, | |
− | + | div.nav a:hover.mw-selflink { | |
− | + | background-color: #273A48; | |
− | |||
} | } | ||
− | + | div.nav ul ul { | |
− | + | display: none; | |
− | + | position: absolute; | |
+ | top: 60px; | ||
} | } | ||
− | + | div.nav ul li:hover > ul { | |
− | + | display:inherit; | |
− | |||
} | } | ||
− | + | div.nav ul ul li { | |
− | . | + | width:230px; |
− | width: | + | float:none; |
+ | display:list-item; | ||
+ | position: relative; | ||
} | } | ||
− | . | + | div.nav ul ul ul li { |
− | + | position: relative; | |
+ | top:-60px; | ||
+ | left:230px; | ||
} | } | ||
− | . | + | div.nav ul ul li { |
− | + | border: 0px solid white; | |
− | |||
− | |||
− | |||
} | } | ||
+ | li > a:after { content: ' ▼'; } | ||
+ | li > a:only-child:after { content: ''; } | ||
+ | |||
+ | ul.div.nav li a.mw-selflink | ||
}} | }} | ||
− | < | + | <div class="nav"> |
− | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> | + | <ul> |
− | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/ | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> |
− | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]] |
− | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion | + | <ul> |
− | </ul> | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> |
+ | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> | ||
+ | </ul> | ||
+ | </div> |
Revision as of 11:37, 2 November 2020