Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Schulz <chad.awesome@gmail.com>2021-03-08 01:45:02 +0300
committerFabien <vaga@users.noreply.github.com>2021-03-08 17:26:29 +0300
commit3094e3f118f9004d00880a03cd85e1c8bb295367 (patch)
treeb6c260d8e73ce50ae2baaca245ca57fd5275664e
parent0172b8ee36c80d431352e5e825b1746557c7404d (diff)
Revert element height/width in favor of CSS
-rw-r--r--assets/css/components/_app.scss4
-rw-r--r--layouts/_default/baseof.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/assets/css/components/_app.scss b/assets/css/components/_app.scss
index 28c7bc9..643f3ce 100644
--- a/assets/css/components/_app.scss
+++ b/assets/css/components/_app.scss
@@ -5,8 +5,8 @@
}
.app-header-avatar {
- max-width: 15rem;
- max-height: 15rem;
+ width: 15rem;
+ height: 15rem;
border-radius: 100%;
border: 0.5rem solid $primary-color;
}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d56e8b4..01ef5c4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -18,7 +18,7 @@
</head>
<body>
<header class="app-header">
- <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" height="240" width="240" /></a>
+ <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
<h1>{{ .Site.Title }}</h1>
{{- with .Site.Menus.main }}
<nav class="app-header-menu">