Difference between revisions of "Template:KCII-CSIA-Main-Navigation-English"
Jump to navigation
Jump to search
(31 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{#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; | |
− | # | + | } |
− | display: none; | + | 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; |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | display: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | + | div.nav ul ul li { | |
− | .nav li { | + | width:230px; |
− | + | float:none; | |
− | + | display:list-item; | |
+ | position: relative; | ||
} | } | ||
− | .nav | + | div.nav ul ul ul li { |
− | + | position: relative; | |
− | + | top:-60px; | |
− | + | left:230px; | |
− | |||
− | |||
− | |||
} | } | ||
− | .nav | + | 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"> | <div class="nav"> | ||
− | <ul | + | <ul> |
− | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion|Home]]</li> | |
− | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events|Events]] | |
− | <li> | + | <!--ul> |
− | <li> | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events1|Events1]]</li> |
− | <li> | + | <li>[[User:Nick.frenette/Knowledge_Circle_for_Indigenous_Inclusion/Events2|Events2]]</li> |
− | <li> | + | </ul--> |
− | <li> | + | </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> | |
− | + | </ul> | |
</div> | </div> | ||
− | |||
− | |||
− | |||
− |
Latest revision as of 08:15, 10 November 2020