aboutsummaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-03-09 22:57:17 -0500
committerXe Iaso <me@xeiaso.net>2023-03-09 22:57:17 -0500
commit216602e3a482fd2261c1acc9bc7c0dc62dd493b6 (patch)
tree81894ceec8f4868f1da0531e4832932b92a74e08 /static/css
parentcb5b539ccc4b8e78b474cbf5bdc25baa1fcb6617 (diff)
downloadxesite-216602e3a482fd2261c1acc9bc7c0dc62dd493b6.tar.xz
xesite-216602e3a482fd2261c1acc9bc7c0dc62dd493b6.zip
Revert "css hack to make images wider than the article"
This reverts commit cb5b539ccc4b8e78b474cbf5bdc25baa1fcb6617.
Diffstat (limited to 'static/css')
-rw-r--r--static/css/shim.css18
1 files changed, 4 insertions, 14 deletions
diff --git a/static/css/shim.css b/static/css/shim.css
index 8781792..716490a 100644
--- a/static/css/shim.css
+++ b/static/css/shim.css
@@ -83,7 +83,9 @@ article blockquote {
figcaption {
background-color: #282828;
- padding: 1rem;
+ margin-left: 1em;
+ margin-right: 1em;
+ margin-bottom: 1em;
}
.logo {
@@ -108,6 +110,7 @@ figcaption {
.media {
background-color: #32302f;
color: #fbf1c7;
+
margin: auto;
max-width: 80ch;
padding: 2ch;
@@ -120,19 +123,6 @@ figcaption {
min-height: 16px;
}
-@media screen and (min-width: 992px) {
- picture.hero > img {
- left: 72.5%;
- right: 30%;
- margin-left: -50vw;
- margin-right: -50vw;
- width: 100vw;
- max-width: 1280px;
- position: relative;
- overflow: hidden;
- }
-}
-
@media (prefers-color-scheme: light) {
.warning {
background-color: #fbf1c7;