Compare commits

...

4 Commits

Author SHA1 Message Date
fd50a946d0 /> 2025-07-25 23:26:00 +02:00
1224b6f67c Update creds_404.html 2025-07-21 20:47:35 +02:00
257284dd68 Update main.css 2025-01-12 15:08:51 +01:00
74716e29b8 change background-image opacity 2024-11-10 11:28:47 +01:00
3 changed files with 19 additions and 6 deletions

View File

@@ -5,7 +5,6 @@
html { html {
background-color: black; background-color: black;
background-image: url("https://fruw.org/background.gif"); background-image: url("https://fruw.org/background.gif");
background-attachment: fixed;
background-position: center top; background-position: center top;
background-repeat: no-repeat; background-repeat: no-repeat;
color: #232333; color: #232333;
@@ -16,6 +15,18 @@ html {
scrollbar-width: thin; scrollbar-width: thin;
} }
html::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: black;
opacity: 0.8;
z-index: -1;
}
body { body {
display: block; display: block;
margin: 0; margin: 0;

View File

@@ -2,5 +2,6 @@
{{ "Добро пожаловать на мой веб-сайт!" | safeHTML }} {{ "Добро пожаловать на мой веб-сайт!" | safeHTML }}
{{ "Сайт сделан на HUGO, тема - themu" | safeHTML }} {{ "Сайт сделан на HUGO, тема - themu" | safeHTML }}
{{ "Контент лицензирован под СС BY-SA" | safeHTML }} {{ "Контент лицензирован под СС BY-SA" | safeHTML }}
{{ "ASCII-арт взят с сайта patorjk.com" | safeHTML }} {{ "ASCII-text made with patjork.com" | safeHTML }}
{{ "./background.gif by A. L. Crego" | safeHTML }}
{{ "-->" | safeHTML }} {{ "-->" | safeHTML }}

View File

@@ -1,6 +1,6 @@
<head lang="{{ .Site.Language.Lang }}"> <head lang="{{ .Site.Language.Lang }}">
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{- $title := ( .Title ) -}} {{- $title := ( .Title ) -}}
{{- $siteTitle := ( .Site.Title ) -}} {{- $siteTitle := ( .Site.Title ) -}}
{{- if .IsHome -}} {{- if .IsHome -}}
@@ -13,9 +13,10 @@
<link rel="icon" type="image/png" href={{ .Site.BaseURL }}{{ .Site.Params.favicon }} /> <link rel="icon" type="image/png" href={{ .Site.BaseURL }}{{ .Site.Params.favicon }} />
{{- end -}} {{- end -}}
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" /> <meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.og_image }}"/> <meta prefix="og: http://ogp.me/ns#" />
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.og_image }}" />
{{ with .OutputFormats.Get "rss" -}} {{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}} {{ end -}}
@@ -30,7 +31,7 @@
{{- if isset .Site.Params "customcss" }} {{- if isset .Site.Params "customcss" }}
{{ range .Site.Params.customCSS }} {{ range .Site.Params.customCSS }}
{{ $customstyle := resources.Get . | fingerprint }} {{ $customstyle := resources.Get . | fingerprint }}
<link rel="stylesheet" type="text/css" href="{{ $customstyle.Permalink }}"> <link rel="stylesheet" type="text/css" href="{{ $customstyle.Permalink }}" />
{{ end }} {{ end }}
{{- end -}} {{- end -}}
{{- range .Site.Params.customJS }} {{- range .Site.Params.customJS }}