summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-05-23 20:05:14 +0200
committermms <michal@sapka.me>2024-05-23 20:05:14 +0200
commit56b41b128f1f13d80ae4d317a29bc9c14d9bdeae (patch)
treea96a45c04af7f5c5f728feb745310c42225e0cd2 /layouts/partials
parent4b12cdfcd78d3762769e64d439190f5914ed4075 (diff)
feat: brain rot, preview:
Diffstat (limited to 'layouts/partials')
l---------layouts/partials/css/.#images.css1
-rw-r--r--layouts/partials/css/images.css27
-rw-r--r--layouts/partials/header/meta.html3
3 files changed, 29 insertions, 2 deletions
diff --git a/layouts/partials/css/.#images.css b/layouts/partials/css/.#images.css
new file mode 120000
index 0000000..4de3353
--- /dev/null
+++ b/layouts/partials/css/.#images.css
@@ -0,0 +1 @@
+mms@voyager.29834:1715624266 \ No newline at end of file
diff --git a/layouts/partials/css/images.css b/layouts/partials/css/images.css
new file mode 100644
index 0000000..2763001
--- /dev/null
+++ b/layouts/partials/css/images.css
@@ -0,0 +1,27 @@
+article figure {
+ text-align: center;
+ margin: 0;
+ max-width: 100%;
+ font-size: 0.8em;
+}
+img.float-right {
+ float: right;
+ display: inline;
+ margin-left: 10px;
+}
+img.center {
+ max-width: 100%;
+ height: auto;
+}
+img.small {
+ max-width: 50%;
+ height: auto;
+}
+figure.graph {
+ background-color: var(--highlight-bg);
+ padding: 5px;
+ padding-top: 20px;
+}
+figure.graph img {
+ width: 95%;
+}
diff --git a/layouts/partials/header/meta.html b/layouts/partials/header/meta.html
index 9d27e50..353553c 100644
--- a/layouts/partials/header/meta.html
+++ b/layouts/partials/header/meta.html
@@ -5,8 +5,7 @@
[{{ .Site.Title}}] {{ .Page.Title }}
{{- end }}
</title>
- <link rel='stylesheet' type='text/css' href='/style.css?v=4.0'>
- <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
{{- $image := resources.Get "/icons/apple-touch-icon.png"}}
<link rel="apple-touch-icon" sizes="180x180" href="{{ $image.Permalink }}">
{{- $image := resources.Get "/icons/favicon-32x32.png" }}