diff options
author | RayHammer <evkondratyev@yandex.ru> | 2022-10-20 18:57:38 +0200 |
---|---|---|
committer | RayHammer <evkondratyev@yandex.ru> | 2022-10-20 18:57:38 +0200 |
commit | 5fa9597734f5183863bde2a4eed35fb5b8f0f115 (patch) | |
tree | 74db6dcbc56a8b124592e098aea776509afb5393 | |
parent | 1c4ff4d5e9f1d776fef066ae001b50fdd32dccda (diff) |
Added representative h-card
-rw-r--r-- | config.yaml | 2 | ||||
-rw-r--r-- | static/img/rayhammer.jpg | bin | 0 -> 11860 bytes | |||
-rw-r--r-- | themes/stingray/layouts/index.html | 14 | ||||
-rw-r--r-- | themes/stingray/layouts/partials/header.html | 4 | ||||
-rw-r--r-- | themes/stingray/static/css/main.css | 25 |
5 files changed, 38 insertions, 7 deletions
diff --git a/config.yaml b/config.yaml index 2d0fcdf..7eed1b6 100644 --- a/config.yaml +++ b/config.yaml @@ -8,4 +8,4 @@ SectionPagesMenu: "main" params: author: "RayHammer" - description: "Privacy and security online."
\ No newline at end of file + description: "Local Idiot Online."
\ No newline at end of file diff --git a/static/img/rayhammer.jpg b/static/img/rayhammer.jpg Binary files differnew file mode 100644 index 0000000..4754e38 --- /dev/null +++ b/static/img/rayhammer.jpg diff --git a/themes/stingray/layouts/index.html b/themes/stingray/layouts/index.html index 31208e3..919ef99 100644 --- a/themes/stingray/layouts/index.html +++ b/themes/stingray/layouts/index.html @@ -1,9 +1,11 @@ {{ define "main" }} -<div class="text-center"> - <h1 class="title">{{ .Site.Title }}</h1> - {{ .Description }} -</div> -<div> - {{ .Content }} +<div id="card" class="h-card text-center"> + <a class="u-url u-uid" href="https://rayhammer.dev" rel="me"> + <img class="u-photo" src="img/rayhammer.jpg"> + </a> + <p> + <span class="p-nickname">RayHammer</span> + </p> </div> +{{ .Content }} {{ end }}
\ No newline at end of file diff --git a/themes/stingray/layouts/partials/header.html b/themes/stingray/layouts/partials/header.html index e69de29..5759242 100644 --- a/themes/stingray/layouts/partials/header.html +++ b/themes/stingray/layouts/partials/header.html @@ -0,0 +1,4 @@ +<div class="text-center"> + <h1 class="title">{{ .Site.Title }}</h1> + {{ .Site.Params.Description }} +</div>
\ No newline at end of file diff --git a/themes/stingray/static/css/main.css b/themes/stingray/static/css/main.css index 048f6c5..a32caa2 100644 --- a/themes/stingray/static/css/main.css +++ b/themes/stingray/static/css/main.css @@ -1,4 +1,29 @@ .jumbotron { max-width: 900px; margin: auto; +} + +#content { + display: block; + overflow: hidden; + padding: 20px; +} + +#card { + float: left; + position: relative; + border: 1px solid black; + margin-right: 20px; + padding: 25px; + max-width: 200px; +} + +#card .u-photo { + width: 100%; + height: auto; + object-fit: contain; +} + +#card .p-nickname { + font-weight: bold; }
\ No newline at end of file |