aboutsummaryrefslogtreecommitdiff
path: root/css/style.css
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-08-22 03:17:55 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-08-22 03:17:55 +0200
commit9d2e46397c220bd452f4a8cd22dc5dc087e99c93 (patch)
tree09b89d187c1dd5bbd9e3b2afd7b8505e4ead6593 /css/style.css
parente702837408848b60181de74e0b9ebc0d6af2d93e (diff)
downloadtaamas.xyz-9d2e46397c220bd452f4a8cd22dc5dc087e99c93.tar.gz
taamas.xyz-9d2e46397c220bd452f4a8cd22dc5dc087e99c93.zip
Image needs display block to not overflow on small screen.
Diffstat (limited to 'css/style.css')
-rw-r--r--css/style.css15
1 files changed, 8 insertions, 7 deletions
diff --git a/css/style.css b/css/style.css
index a69a7d3..5ca12a8 100644
--- a/css/style.css
+++ b/css/style.css
@@ -105,12 +105,6 @@ ul ul {
display: grid;
}
-.odd, .even {
- margin: 0 10% 5%;
- max-width: 50%;
- height: auto;
-}
-
.odd {
float: left;
margin-left: 0;
@@ -121,7 +115,14 @@ ul ul {
margin-right: 0;
}
-.even img, .odd img {
+.odd, .even {
+ margin: 0 10% 5%;
+ max-width: 50%;
+ height: auto;
+}
+
+.odd img, .even img {
+ display: block;
max-width: 100%;
height: auto;
margin: 0;