Difference between revisions of "Template:KCII-CSIA-Main-Navigation-English"
Jump to navigation
Jump to search
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
− | + | ||
− | + | div.nav { | |
− | + | margin: 0 0 35px 0; | |
− | + | background-color: #49BCCE; | |
− | + | font-size:0; | |
− | + | } | |
− | + | div.nav ul { | |
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | list-style: none; | ||
+ | position: relative; | ||
+ | } | ||
+ | div.nav ul li { | ||
+ | display:inline-block; | ||
+ | background-color: #49BCCE; | ||
+ | } | ||
+ | div.nav a { | ||
+ | display:block; | ||
+ | padding:0 10px; | ||
+ | color:#FFF; | ||
+ | font-size:16px; | ||
+ | line-height: 60px; | ||
+ | text-decoration:none; | ||
} | } | ||
− | + | ||
− | + | div.nav a:hover, | |
− | + | div.nav a.mw-selflink, | |
+ | div.nav a.mw-selflink:hover { | ||
+ | background-color: #273A48; | ||
} | } | ||
− | + | div.nav ul ul { | |
− | + | display: none; | |
− | + | position: absolute; | |
− | + | top: 60px; | |
− | + | z-index:500; | |
− | + | border-left:2px solid white; | |
− | + | border-right:2px solid white; | |
+ | border-bottom:2px solid white; | ||
} | } | ||
− | + | div.nav ul li:hover > ul { | |
− | + | display:inherit; | |
− | ul.nav li | + | } |
− | + | div.nav ul ul li { | |
+ | width:230px; | ||
+ | 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.nav li | + | ul.div.nav li a.mw-selflink |
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | < | + | <div class="nav"> |
+ | <ul> | ||
<li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> | ||
− | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events|Events]]</li> | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events|Events]] |
+ | <!--ul> | ||
+ | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events1|Events1]]</li> | ||
+ | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events2|Events2]]</li> | ||
+ | </ul--> | ||
+ | </li> | ||
<li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Federal_Institutions_Booths|Federal Institutions Booths]]</li> | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Federal_Institutions_Booths|Federal Institutions Booths]]</li> | ||
<li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Federal_institutions_Best_practices|Federal institutions Best practices]]</li> | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Federal_institutions_Best_practices|Federal institutions Best practices]]</li> | ||
</ul> | </ul> | ||
+ | </div> |
Latest revision as of 08:15, 10 November 2020