Difference between revisions of "Template:Digital Talent Nav"

From wiki
Jump to navigation Jump to search
m (Removed Ecosystem for Digital Talent tab)
 
(46 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<!--The following line of code hides the page title-->
 
<!--The following line of code hides the page title-->
 
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
 
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
{| width="100%" cellpadding="5px" cellspacing="5px"
 
<!--Navigation BEGINS-->
 
 
{{#css:
 
{{#css:
div.nav {
+
.menubar a:visited {
    background-color: #624A8B;
+
  color: #FFFFFF;
 
}
 
}
div.nav ul {
 
    padding: 0;
 
    margin: 0 0 0 30px;
 
    list-style: none;
 
    position: relative;
 
    }
 
  
div.nav ul li {
+
.menubar {
    display:inline-block;
+
  background-color:#3D3D3D;
    }
+
  height: auto;
 +
  padding: 0;
 +
  margin: 0;
 +
  font-family: "Open Sans",sans-serif;
 +
  font-style: normal;
 +
  font-weight: 200;
  
div.nav a {
 
    display:block;
 
    padding:0 10px;
 
    color:#FFFFFF;
 
    font-size:16px;
 
font-weight:600;
 
    line-height: 75px;
 
    text-decoration: none;
 
 
}
 
}
  
div.nav a:hover,
+
.menubar ul {
div.nav a:visited,
+
  list-style-type: none;
div.nav a.mw-selflink,
+
  margin: 0;
div.nav a.mw-selflink:hover {
+
  padding: 0;
color:#FFF;
+
  overflow: hidden;
    background-color: #504278;
+
  width: 100%;
 
}
 
}
  
<!--Banner BEGINS-->
+
.menubar li {
.banner {
+
  display: inline-block;
background-color: #624A8B;
+
  color: #FFFFFF;
 +
  text-align: center;
 +
  padding-top: 15px;
 +
  padding-bottom: 15px;
 +
  text-decoration: none;
 
}
 
}
  
.banner .container {
+
.menubar li:hover {
/*max-width:900px;*/
+
  background: #000000;
display:block;
 
margin:0 auto;
 
 
}
 
}
  
.banner .container img {
+
.menubar li:focus
width:100%;
+
{
height:auto;
+
  background: #000000;
 +
}
 +
 
 +
.menubar li a {
 +
  color: white;
 +
  padding: 20px;
 +
}
 +
.menubar li a:hover:not(.active) {
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.active {
 +
  color: #FFFFFF;
 +
}
 +
 
 +
.rainbow_bar {
 +
  height: 20px;
 +
  background: linear-gradient(90deg,#ffad31,#52c765,#27c9bc,#ff5958);
 +
  margin-bottom: 30px;
 
}
 
}
  
 
}}
 
}}
<div class="banner"><div class="container">[[File:Growing banner.png|class=banner]]</div></div>
+
<div class="menubar">
<div class="nav">
+
      <ul role="menu">
<ul>
+
        <li role="menuitem">[[Digital_Talent|Home]]</li>
<li>[[Digital_Talent|Home]]</li>
+
        <li role="menuitem">[[Digital_Talent/Digital_Talent_Strategy|Digital Talent Strategy]]</li>
<li>[[Digital_Talent/Digital_Talent_Strategy|Digital Talent Strategy]]</li>
+
        <li role="menuitem">[[Digital_Talent/Digital_Skills|Digital Skills Initiative]]</li>  
<li>[[Digital_Talent/Digital_Skills|Digital Skills Initiative]]</li>
+
        <!--<li role="menuitem">[[Digital_Talent/Ecosystem_for_Digital_Talent|Ecosystem for Digital Talent]]</li>-->
<li>[[Digital_Talent/Ecosystem_for_Digital_Talent|Ecosystem for Digital Talent]]</li>
+
        <li role="menuitem">[[Digital_Talent/Learning_Paths|Learning Paths]]</li>
<li>[[Digital_Talent/Contact|Contact]]</li>
+
        <li role="menuitem">[[Digital_Talent/Digital_Badges|Digital Badges]]</li>
</ul>
+
        <li role="menuitem">[[Digital_Talent/Contact|Contact]]</li>
</div>
+
      </ul>
 
+
  </div>
<!--Navigation coding ENDS-->
+
  <div class="rainbow_bar"></div>

Latest revision as of 12:50, 10 July 2024