diff --git a/config.toml b/config.toml index 752b804..cded91e 100644 --- a/config.toml +++ b/config.toml @@ -46,6 +46,8 @@ source_url = "https://codeberg.org/daudix/duckquill" [extra.nav] # Display Atom/RSS feed button in the nav show_feed = true +# Whether to use icons in the nav +icons = true # Links used in the nav; any icon from https://icons.getbootstrap.com # can be used as the icon. The bi- prefix should not be added. links = [ diff --git a/sass/_media.scss b/sass/_media.scss index 88daaf8..0c151b0 100644 --- a/sass/_media.scss +++ b/sass/_media.scss @@ -11,20 +11,10 @@ img { transition: var(--transition-longer); &:not(.no-hover):hover { - transform: scale(125%); + transform: scale(110%); border-radius: 0; box-shadow: var(--shadow-raised); } - - &:active { - transform: scale(var(--active)); - } - - @media screen and (max-width: 480px) { - &:not(.no-hover):hover { - transform: scale(110%); - } - } } .full { diff --git a/sass/_nav.scss b/sass/_nav.scss index 9e566df..c1acd2f 100644 --- a/sass/_nav.scss +++ b/sass/_nav.scss @@ -13,7 +13,7 @@ @media screen and (max-width: 480px) { & { - width: auto; + position: static; } } @@ -30,12 +30,6 @@ } } - @media screen and (max-width: 480px) { - #title { - margin: 0 0.2rem 0 0; - } - } - ul { display: flex; flex-wrap: wrap; @@ -58,16 +52,6 @@ text-decoration: none; transition: var(--transition); - @media screen and (max-width: 480px) { - & { - padding: 0.45rem 0.75rem; - } - - span { - display: none; - } - } - &:hover { background-color: var(--fg-muted-1); color: var(--primary-color); diff --git a/templates/includes/nav.html b/templates/includes/nav.html index 624bd2f..4aaf00e 100644 --- a/templates/includes/nav.html +++ b/templates/includes/nav.html @@ -1,23 +1,31 @@