From 2dfaf11b210cd6559bb4e191d91a00b59b50c2f4 Mon Sep 17 00:00:00 2001 From: lukas Date: Mon, 27 Apr 2020 14:06:24 +0200 Subject: [PATCH] code cleanup unified css statements --- css/about.css | 4 ++-- css/experience.css | 6 ++---- css/home.css | 2 +- rsc/check.svg | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/css/about.css b/css/about.css index c972868..5c6c3fc 100644 --- a/css/about.css +++ b/css/about.css @@ -27,7 +27,7 @@ #aboutPic { float: right; margin-top: 10%; - box-shadow: rgba(2, 12, 27, 0.7) 0px 10px 30px -15px; + box-shadow: rgba(2, 12, 27, 0.7) 0 10px 30px -15px; transition: box-shadow 500ms; height: 100%; } @@ -62,7 +62,7 @@ /* screen larger than 600px -- desktop */ @media screen and (min-width: 1201px) { #aboutPic:hover { - box-shadow: rgba(2, 12, 27, 0.7) 0px 10px 30px 0px; + box-shadow: rgba(2, 12, 27, 0.7) 0 10px 30px 0; transition: all 500ms; } } diff --git a/css/experience.css b/css/experience.css index 74ab1a9..c63403a 100644 --- a/css/experience.css +++ b/css/experience.css @@ -26,12 +26,11 @@ display: block; float: left; clear: left; - margin: 0px; width: 14%; left: 0; overflow: hidden; - margin-right: 6mm; + margin: 0 6mm 0 0; border: 6mm solid hsla(0, 100%, 50%, 0); padding-left: 2mm; @@ -124,11 +123,10 @@ display: inline; width: auto; /*float: left;*/ - margin: 2px; border: 0.5mm solid hsla(0, 100%, 50%, 0); padding: 2px 2px 2px 0; clear: none; - margin-bottom: 20px; + margin: 2px 2px 20px; } #tab1 + .tab { diff --git a/css/home.css b/css/home.css index f0d65ea..0e7ae9c 100644 --- a/css/home.css +++ b/css/home.css @@ -66,7 +66,7 @@ /* hover effects */ #homepicture:hover { - box-shadow: rgba(2, 12, 27, 0.7) 0px 10px 30px 0px; + box-shadow: rgba(2, 12, 27, 0.7) 0 10px 30px 0; transition: all 500ms; } diff --git a/rsc/check.svg b/rsc/check.svg index edb2872..4764992 100644 --- a/rsc/check.svg +++ b/rsc/check.svg @@ -1,6 +1,6 @@ - +