highlight current page in menu
This commit is contained in:
parent
8e3b3ed0c0
commit
0bda210618
8
base.css
8
base.css
@ -52,3 +52,11 @@ nav a, footer a, aside a {
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
nav a.current {
|
||||
text-decoration: underline #00000042;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
text-decoration: underline #000000;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<a href="index.html">home</a>
|
||||
<a href="index.html" class="current">home</a>
|
||||
<a href="poster.html">poster</a>
|
||||
</nav>
|
||||
<main>
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<body>
|
||||
<nav>
|
||||
<a href="index.html">home</a>
|
||||
<a href="poster.html">poster</a>
|
||||
<a href="poster.html" class="current">poster</a>
|
||||
</nav>
|
||||
<aside>
|
||||
<a href="javascript:if(window.print)window.print()" class="print">🖨️ imprimer</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user