From 3948eab4e9665b71a75b0174597619b5d2cabb20 Mon Sep 17 00:00:00 2001 From: Midgard Date: Tue, 15 Sep 2020 21:02:50 +0200 Subject: [PATCH] Don't let text zoom --- content/stylesheets/main.css | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/content/stylesheets/main.css b/content/stylesheets/main.css index c8b7b1c..f32ea01 100644 --- a/content/stylesheets/main.css +++ b/content/stylesheets/main.css @@ -527,6 +527,13 @@ fieldset p label input { padding: 1rem; display: flex; justify-content: center; + + transform: scale(1); + transition: transform ease-in 0.1s; +} + +.tile:hover .tile__image { + transform: scale(1.1); } .tile__image--svg { @@ -562,18 +569,6 @@ fieldset p label input { font-size: 1.2rem; } -.clickable { - transform: scale(1); - transition: ease-in 0.1s; - - transition-property: transform; -} - -.clickable:hover { - cursor: pointer; - transform: scale(1.05); -} - .split-2 { display: flex; flex-wrap: wrap;