use Inter font
Prithu Goswami prithugoswami524@gmail.com
Wed, 13 May 2020 21:09:22 +0530
2 files changed,
4 insertions(+),
2 deletions(-)
M
hugo-site/layouts/partials/head.html
→
hugo-site/layouts/partials/head.html
@@ -13,6 +13,7 @@ <meta name="author" content="Prithu Goswami">
<meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Noto+Serif:400" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Inter:900" rel="stylesheet"> <link rel="stylesheet" href="/css/main.css"> <link rel="stylesheet" href="/css/blog.css"> <link rel="icon" type="img/png" href="/img/favicon.png">
M
hugo-site/static/css/blog.css
→
hugo-site/static/css/blog.css
@@ -34,8 +34,10 @@ width: 55%;
} .bcontent h1{ + font-family: Inter; font-size: 2.3rem; - line-height: 1.2; + line-height: 1; + color: rgba(0,0,0,0.75) } .bcontent > .post-date{@@ -74,7 +76,6 @@ padding: 0.5rem 0.5rem;
} .post-item > a { - max-width: 70%; margin-right: 1rem; overflow: hidden; }