diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-03-09 22:50:37 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-03-09 22:50:37 -0500 |
| commit | cb5b539ccc4b8e78b474cbf5bdc25baa1fcb6617 (patch) | |
| tree | d3e027d9edff1d0ccde5440cabface65a0a7b043 /static | |
| parent | 98297cdbfbe2eaeb68bd178882ea0781658337d9 (diff) | |
| download | xesite-cb5b539ccc4b8e78b474cbf5bdc25baa1fcb6617.tar.xz xesite-cb5b539ccc4b8e78b474cbf5bdc25baa1fcb6617.zip | |
css hack to make images wider than the article
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/shim.css | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/static/css/shim.css b/static/css/shim.css index 716490a..8781792 100644 --- a/static/css/shim.css +++ b/static/css/shim.css @@ -83,9 +83,7 @@ article blockquote { figcaption { background-color: #282828; - margin-left: 1em; - margin-right: 1em; - margin-bottom: 1em; + padding: 1rem; } .logo { @@ -110,7 +108,6 @@ figcaption { .media { background-color: #32302f; color: #fbf1c7; - margin: auto; max-width: 80ch; padding: 2ch; @@ -123,6 +120,19 @@ 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; |
