Difference between revisions of "Template:Navigation"

Line 1: Line 1:
ul.nav {
 
  padding-left: 0px;
 
  background-color: #3D99CE;
 
  text-align: center;
 
}
 
ul.nav > li {
 
  display: inline-block;
 
  padding: 10px 20px;
 
}
 
ul.nav > li:hover {
 
  background-color: #2779BF;
 
}
 
ul.nav > li > a {
 
  color: white;
 
  text-decoration: none;
 
}
 
 
<div style="background-color:aliceblue; border-style:solid; border-color:gray; width:75%; margin:auto" >
 
<div style="background-color:aliceblue; border-style:solid; border-color:gray; width:75%; margin:auto" >
 
<div class="mw-collapsible mw-collapsed">
 
<div class="mw-collapsible mw-collapsed">
Line 22: Line 6:
 
|-
 
|-
 
|{{#if:{{{group1|}}}|{{{group1}}} }}
 
|{{#if:{{{group1|}}}|{{{group1}}} }}
|{{#if:{{{list1|}}}|<ul class="nav">{{{list1}}}</ul> }}
+
|{{#if:{{{list1|}}}|{{{list1}}} }}
 
|-
 
|-
 
|{{#if:{{{group2|}}}|{{{group2}}} }}
 
|{{#if:{{{group2|}}}|{{{group2}}} }}

Revision as of 13:17, 1 March 2023