diff --git a/assets/css/itix.css b/assets/css/itix.css index 5119d78..9ade51b 100644 --- a/assets/css/itix.css +++ b/assets/css/itix.css @@ -82,32 +82,6 @@ font-display: swap; } -@font-face { - font-family: 'Material Icons'; - font-style: normal; - font-weight: 400; - src: url('/fonts/material-icons.woff2') format('woff2'), - url('/fonts/material-icons.ttf') format('truetype'); -} - -/* - * The Google "Material Icons" font is used to render the tag icons, the - * "back to top" link, etc. - */ -.material-icons { - font-family: 'Material Icons'; - font-weight: normal; - font-style: normal; - letter-spacing: normal; - text-transform: none; - display: inline-block; - white-space: nowrap; - word-wrap: normal; - direction: ltr; - -moz-font-feature-settings: 'liga'; - -moz-osx-font-smoothing: grayscale; -} - /* * General settings */ @@ -372,6 +346,7 @@ pre:hover { vertical-align: sub; margin-right: 3px; margin-left: 5px; + max-height: 1rem; } .post-metadata time { @@ -632,7 +607,8 @@ article header h4 { } .actions .material-icons { - font-size: 2em; + height: 2rem; + width: auto; } /* diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ed7b058..d3cc882 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,8 +21,6 @@ - - {{- if or (not $.parent.Data.topic) (ne . $.parent.Data.Term) }} - {{ . }} -   + {{- partial "icons/link.svg" . -}}{{ . }} {{- end -}} {{- end }} @@ -23,8 +22,7 @@ {{- if or (not $.parent.Data.opensource) (ne . $.parent.Data.Term) }} - {{ . }} -   + {{- partial "icons/label.svg" . -}}{{ . }} {{- end -}} {{- end }} @@ -35,7 +33,7 @@ --> {{- if eq .current.Type "blog" }} - + {{- partial "icons/schedule.svg" . -}} {{- $minutes := .current.ReadingTime -}} {{- if gt $minutes 0 -}} {{- i18n "minutes" $minutes -}} diff --git a/layouts/partials/toolbar.html b/layouts/partials/toolbar.html index 701b824..a6312a1 100644 --- a/layouts/partials/toolbar.html +++ b/layouts/partials/toolbar.html @@ -9,10 +9,10 @@ {{- end }}
- + {{- partial "icons/vertical_align_top.svg" . -}} - + {{- partial "icons/search.svg" . -}}