From 0b305db055da0e1ba061f2b6421f45459deec86b Mon Sep 17 00:00:00 2001 From: lukas-heiligenbrunner Date: Fri, 20 Mar 2020 16:41:20 +0100 Subject: [PATCH] experience mobile header --- css/experience.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/css/experience.css b/css/experience.css index 120ec31..e01cf8c 100644 --- a/css/experience.css +++ b/css/experience.css @@ -90,19 +90,22 @@ #section3 { height: 100%; } + .tab { display: inline-block; - width: 20%; + width: auto; /*float: left;*/ - - margin-right: 0; - - border: 0mm solid hsla(0, 100%, 50%, 0); - padding-left: 0; + margin: 2px; + border: 0.5mm solid hsla(0, 100%, 50%, 0); + padding: 2px 2px 2px 0; clear: none; margin-bottom: 70px; } + #tab1 + .tab { + margin-left: 15px; + } + .content { position: static; display: block; @@ -113,6 +116,7 @@ .ratiobtn:checked + .tab { color: aqua; + background-color: #146d23; transition: border-left-color 500ms; }