From 233b720fc8653dbae301799cc1dc650f299193bf Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 27 Mar 2021 17:08:45 +0100 Subject: Using Google Fonts and adding social icons. --- layouts/_default/baseof.html | 13 +++++++++++-- static/envelope.svg | 5 +++++ static/git.svg | 5 +++++ static/github.svg | 5 +++++ static/linkedin.svg | 5 +++++ static/mastodon.svg | 5 +++++ static/style.css | 14 +++++++++++++- static/twitter.svg | 5 +++++ 8 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 static/envelope.svg create mode 100644 static/git.svg create mode 100644 static/github.svg create mode 100644 static/linkedin.svg create mode 100644 static/mastodon.svg create mode 100644 static/twitter.svg diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 56e582c..003cece 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,6 +12,9 @@ {{ .Title }} + + @@ -19,9 +22,15 @@
Mateja Maric
Home Blog - GitHub - Git server Contact +
+ + + + + + +
{{ block "main" . }}{{ end }} diff --git a/static/envelope.svg b/static/envelope.svg new file mode 100644 index 0000000..853b0f3 --- /dev/null +++ b/static/envelope.svg @@ -0,0 +1,5 @@ + + +envelope + + diff --git a/static/git.svg b/static/git.svg new file mode 100644 index 0000000..8e66fe0 --- /dev/null +++ b/static/git.svg @@ -0,0 +1,5 @@ + + +git + + diff --git a/static/github.svg b/static/github.svg new file mode 100644 index 0000000..edd4159 --- /dev/null +++ b/static/github.svg @@ -0,0 +1,5 @@ + + +github + + diff --git a/static/linkedin.svg b/static/linkedin.svg new file mode 100644 index 0000000..852463b --- /dev/null +++ b/static/linkedin.svg @@ -0,0 +1,5 @@ + + +linkedin + + diff --git a/static/mastodon.svg b/static/mastodon.svg new file mode 100644 index 0000000..3302bf8 --- /dev/null +++ b/static/mastodon.svg @@ -0,0 +1,5 @@ + + +mastodon + + diff --git a/static/style.css b/static/style.css index bdc8a87..510d8c2 100644 --- a/static/style.css +++ b/static/style.css @@ -1,6 +1,6 @@ /* Most people have Google Fonts preloaded in their browser */ .monospace { - font-family: Consolas, Monaco, monospace; + font-family: "Inconsolata", monospace; } .sans-serif { font-family: "Noto Sans", sans-serif; @@ -49,6 +49,14 @@ nav a:hover { nav a.active { font-weight: bold; } +nav div.icons { + padding: 0.3em 1.3em; +} +nav div.icons a { + float: left; + padding: 0; + margin-right: 0.5em; +} main { margin: 0; margin-left: 16em; @@ -133,6 +141,10 @@ pre { padding: 0.3em; font-size: 1.2em; } + nav div.icons { + margin-top: 0.5em; + display: inline-block; + } main { margin-left: 0; font-size: 1em; diff --git a/static/twitter.svg b/static/twitter.svg new file mode 100644 index 0000000..27799e1 --- /dev/null +++ b/static/twitter.svg @@ -0,0 +1,5 @@ + + +twitter + + -- cgit v1.2.3