Difference between revisions of "Template:KCII-CSIA-Main-Navigation-English"

From wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
ul.nav {
 
  list-style-type: none;
 
  list-style-image: none;
 
  margin: 0;
 
  padding: 0;
 
  overflow: hidden;
 
  background-color: #2B536B;
 
}
 
  
ul.nav li {
+
div.nav {
  float: left;
+
    margin: 0 0 35px 0;
margin:0;
+
    background-color: #49BCCE;
 +
font-size:0;
 
}
 
}
 
+
div.nav ul {
ul.nav li a {
+
    padding: 0;
  display: block;
+
    margin: 0;
  color: white;
+
    list-style: none;
  text-align: center;
+
    position: relative;
  padding: 14px 16px;
+
    }
  text-decoration: none;
+
div.nav ul li {
font-size:1.2em;
+
    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;
 
}
 
}
  
ul.nav li a[href]:hover,
 
ul.nav li a.mw-selflink {
 
  background-color: #273A48;
 
}
 
  
ul.nav li {
+
div.nav a:hover,
  border-right: 1px solid #fff;
+
div.nav a.mw-selflink,
 +
div.nav a.mw-selflink:hover {
 +
    background-color: #273A48;
 
}
 
}
  
ul.nav li:last-child {
+
div.nav ul ul {
  border-right: none;
+
    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 {
.col-md-8 {
+
    display:inherit;
width:64%;
 
 
}
 
}
.col-md-4 {
+
div.nav ul ul li {
width:32%;
+
    width:230px;
 +
    float:none;
 +
    display:list-item;
 +
    position: relative;
 
}
 
}
.pull-right {
+
div.nav ul ul ul li {
float:right;
+
    position: relative;
 +
    top:-60px;
 +
    left:230px;
 
}
 
}
.pull-left {
+
div.nav ul ul li {
float:left;
+
    border: 0px solid white;
 
}
 
}
 +
li > a:after { content:  ' ▼'; }
 +
li > a:only-child:after { content: ''; }
 +
 +
ul.div.nav li a.mw-selflink
  
 
}}
 
}}
  
<ul class="nav">
+
<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