breadcrumb

This commit is contained in:
Sebastian Frank 2019-02-13 16:30:09 +01:00
parent 11113eece0
commit bf2a836cdc
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3
7 changed files with 45 additions and 7 deletions

View File

@ -6,7 +6,7 @@ body {
} }
a { a {
color: black; color: #222;
} }
#content { #content {
@ -55,10 +55,36 @@ footer {
font-weight: bold; font-weight: bold;
} }
#langSelect a img { .langSelect a img {
border: 2px solid grey; border: 2px solid grey;
} }
#langSelect a:hover img { .langSelect a:hover img, .langSelect a.active img {
border: 2px solid black; border: 2px solid black;
}
header .langSelect {
float: right;
padding: 20px;
}
#breadcrumb {
background-color: white;
padding-left: 20px;
padding-top: 20px;
}
#breadcrumb a {
text-decoration: none;
font-size: 0.6em;
color: #555;
padding-right: 10px;
}
#breadcrumb a:hover {
color: #000;
}
#breadcrumb a:before {
content: "▶ ";
} }

View File

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 247 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -11,4 +11,4 @@ Template: mitBild.html
# Leistungen # Leistungen
Hier stehen die ***Referenzen*** Hier stehen die ***Referenzen***, dsfdfsadfasdf.

View File

@ -1,2 +1,3 @@
This: This:
GoTo: /de/service/impressum/ GoTo: /de/service/impressum/
Navname: Impressum aus Service

View File

@ -8,9 +8,9 @@
<div id="content"> <div id="content">
{{{ Body }}} {{{ Body }}}
<div id="langSelect"> <div class="langSelect">
{{#each NavSlice }} {{#each NavSlice }}
<a href="{{ GoTo }}"><img src="{{ Navname }}.png" alt="{{ Navname }}" style="height: 100px;"></a> <a href="{{ GoTo }}"><img src="../assets/img/{{ Navname }}.png" alt="{{ Navname }}" style="height: 100px;"></a>
{{/each }} {{/each }}
</div> </div>
</div> </div>

View File

@ -1,4 +1,9 @@
<header> <header>
<div class="langSelect">
{{#each NavSlice }}
<a href="{{ GoTo }}" {{#if Active}}class="active"{{/if}}><img src="../assets/img/{{ Navname }}.png" alt="{{ Navname }}" style="height: 20px;"></a>
{{/each }}
</div>
<div id="logoDiv"><img src="../assets/img/logo.png"></div> <div id="logoDiv"><img src="../assets/img/logo.png"></div>
<div id="mainNavDiv" class="nav"> <div id="mainNavDiv" class="nav">
<table border="0" style="width: 100%"> <table border="0" style="width: 100%">
@ -32,3 +37,9 @@
</table> </table>
</div> </div>
</header> </header>
<div id="breadcrumb">
{{#each NavActive }}
<a href="{{ GoTo }}">{{ Navname }}</a>
{{/each}}
</div>