mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
style(header): rename .nav to .header-nav for semantic consistency
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.nav {
|
.header-nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
line-height: var(--header-height);
|
line-height: var(--header-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav a {
|
.header-nav a {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<header class="header">
|
<header class="header">
|
||||||
<nav class="nav">
|
<nav class="header-nav">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
{{- $label_text := (site.Params.label.text | default site.Title) }}
|
{{- $label_text := (site.Params.label.text | default site.Title) }}
|
||||||
{{- if site.Title }}
|
{{- if site.Title }}
|
||||||
|
|||||||
Reference in New Issue
Block a user