|
1 | 1 | <!-- A partial to be overwritten by the user. |
2 | 2 | Its content will appear before the closing </head>-tag --> |
3 | 3 |
|
4 | | - |
5 | 4 | <!-- Custom CSS via inline styles |
6 | 5 | You may use this template to add custom CSS to your site like so: --> |
7 | 6 | <style> |
8 | | -body { |
9 | | - font-size: 1.6rem; |
10 | | -} |
11 | | -:root { |
12 | | - --ul-li-icon: fa-skull-crossbones |
13 | | -} |
14 | | - |
15 | | -a { |
16 | | - color: #478600; |
17 | | -} |
18 | | -a:hover { |
19 | | - color: #37501a; |
20 | | -} |
| 7 | + body { |
| 8 | + font-size: 1.6rem; |
| 9 | + } |
| 10 | + :root { |
| 11 | + --ul-li-icon: fa-skull-crossbones; |
| 12 | + } |
21 | 13 |
|
22 | | -.dark a { |
23 | | - color: #94c4ff; |
24 | | -} |
25 | | -.dark a:hover { |
26 | | - color: #2b2fec; |
27 | | -} |
| 14 | + a { |
| 15 | + color: #478600; |
| 16 | + } |
| 17 | + a:hover { |
| 18 | + color: #37501a; |
| 19 | + } |
28 | 20 |
|
29 | | -.darklinks a { |
| 21 | + .dark a { |
| 22 | + color: #94c4ff; |
| 23 | + } |
| 24 | + .dark a:hover { |
| 25 | + color: #2b2fec; |
| 26 | + } |
| 27 | + .darklinks a { |
30 | 28 | color: #b80135; |
31 | 29 | border-radius: 6px; |
32 | 30 | -webkit-border-radius: 6px; |
|
38 | 36 | text-decoration: none; |
39 | 37 | position: relative; |
40 | 38 | overflow: visible; |
41 | | -} |
42 | | -.darklinks a:hover { |
| 39 | + } |
| 40 | + .darklinks a:hover { |
43 | 41 | color: #ff737e; |
44 | | -} |
| 42 | + } |
45 | 43 |
|
46 | | -h3 { |
| 44 | + h3 { |
47 | 45 | color: #b80135; |
48 | 46 | margin: 10px 0; |
49 | 47 | font-size: 3rem; |
50 | 48 | letter-spacing: -1px; |
51 | 49 | text-shadow: var(--cover-title-text-shadow); |
52 | | -} |
| 50 | + } |
53 | 51 | </style> |
54 | 52 |
|
55 | | - |
56 | 53 | <!-- Custom CSS via "custom.css"-file |
57 | 54 | If you would rather place your custom CSS into |
58 | 55 | a separate file, create a "custom.css" in your |
|
68 | 65 | <!-- Custom link-tags for different icons |
69 | 66 | Generated via https://favicon.io/favicon-generator/ --> |
70 | 67 |
|
71 | | -{{ with resources.Get "images/apple-touch-icon.png" }}<link rel="apple-touch-icon" sizes="180x180" href="{{ .RelPermalink }}" />{{ end }} |
72 | | -{{ with resources.Get "images/favicon.svg" }}<link rel="icon" type="image/svg+xml" href="{{ .RelPermalink }}" />{{ end }} |
73 | | -{{ range seq 9 4 }}{{ $size := pow 2 . }}{{ $file := replace "images/favicon-##x##.png" "##" $size }}{{ with resources.Get $file }} |
74 | | -<link rel="icon" type="{{ .MediaType.Type }}" sizes="{{- $size -}}x{{- $size -}}" href="{{ .RelPermalink }}" />{{ end }}{{ end }} |
75 | | - |
| 68 | +{{ with resources.Get "images/apple-touch-icon.png" }}<link |
| 69 | + rel="apple-touch-icon" |
| 70 | + sizes="180x180" |
| 71 | + href="{{ .RelPermalink }}" |
| 72 | +/>{{ end }} {{ with resources.Get "images/favicon.svg" }}<link |
| 73 | + rel="icon" |
| 74 | + type="image/svg+xml" |
| 75 | + href="{{ .RelPermalink }}" |
| 76 | +/>{{ end }} {{ range seq 9 4 }}{{ $size := pow 2 . }}{{ $file := replace |
| 77 | +"images/favicon-##x##.png" "##" $size }}{{ with resources.Get $file }} |
| 78 | +<link |
| 79 | + rel="icon" |
| 80 | + type="{{ .MediaType.Type }}" |
| 81 | + sizes="{{- $size -}}x{{- $size -}}" |
| 82 | + href="{{ .RelPermalink }}" |
| 83 | +/>{{ end }}{{ end }} |
0 commit comments