diff options
author | mms <michal@sapka.me> | 2024-05-23 20:05:14 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-05-23 20:05:14 +0200 |
commit | 56b41b128f1f13d80ae4d317a29bc9c14d9bdeae (patch) | |
tree | a96a45c04af7f5c5f728feb745310c42225e0cd2 /layouts/partials/css/images.css | |
parent | 4b12cdfcd78d3762769e64d439190f5914ed4075 (diff) |
feat: brain rot, preview:
Diffstat (limited to 'layouts/partials/css/images.css')
-rw-r--r-- | layouts/partials/css/images.css | 27 |
1 files changed, 27 insertions, 0 deletions
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%; +} |