PersonalWebsite/css/experience.css
lukas 2dfaf11b21 code cleanup
unified css statements
2020-04-27 14:06:24 +02:00

157 lines
2.9 KiB
CSS

/*!
* experience.css - https://heili.eu
* Licensed under the MIT license - http://opensource.org/licenses/MIT
* E-mail: lukas.heiligenbrunner@gmail.com
* Copyright (c) 2020 Lukas Heiligenbrunner
*/
#section3 {
background-color: #001631;
color: white;
}
.content > div {
display: none;
padding: 20px 25px 5px;
}
#tab1:checked ~ .content #content1,
#tab2:checked ~ .content #content2,
#tab3:checked ~ .content #content3,
#tab4:checked ~ .content #content4 {
display: block;
}
.tab {
display: block;
float: left;
clear: left;
width: 14%;
left: 0;
overflow: hidden;
margin: 0 6mm 0 0;
border: 6mm solid hsla(0, 100%, 50%, 0);
padding-left: 2mm;
border-left-color: #194378;
transition: border-left-color 500ms;
border-bottom-right-radius: 5mm;
border-top-right-radius: 5mm;
}
.tab:hover {
color: #74f9d4;
background-color: #194378;
transition: background-color 500ms;
cursor: pointer;
}
.ratiobtn:checked + .tab {
border-left-color: aqua;
transition: border-left-color 500ms;
}
.content {
position: relative;
float: left;
width: 80%;
top: -200px;
height: 260px;
background-color: #194378;
color: white;
border-radius: 5mm;
}
#experienceheader {
visibility: hidden;
}
.ratiobtn {
display: none;
}
#experiencecontentcontainer {
margin-top: 100px;
visibility: hidden;
}
.experiencetitle {
font-size: x-large;
}
.companyname {
color: #74f9d4;
}
.companyname:hover{
color: #74f9d0;
}
.experienceworktext {
margin-top: 5mm;
font-size: large;
}
/* navbar animation */
.experiencecontaineranimation :nth-child(2){
visibility: hidden;
animation: textfade 500ms 600ms 1 forwards;
}
.experiencecontaineranimation :nth-child(4){
visibility: hidden;
animation: textfade 500ms 700ms 1 forwards;
}
.experiencecontaineranimation :nth-child(6){
visibility: hidden;
animation: textfade 500ms 800ms 1 forwards;
}
.experiencecontaineranimation :nth-child(8){
visibility: hidden;
animation: textfade 500ms 900ms 1 forwards;
}
/* Screen smaller than 600px -- general small width screens */
@media screen and (max-width: 1200px) {
#section3 {
height: 100%;
min-height: 700px;
}
.tab {
display: inline;
width: auto;
/*float: left;*/
border: 0.5mm solid hsla(0, 100%, 50%, 0);
padding: 2px 2px 2px 0;
clear: none;
margin: 2px 2px 20px;
}
#tab1 + .tab {
margin-left: 15px;
}
#tab4 + .tab {
float: none;
display: block;
}
.content {
position: static;
display: block;
float: none;
width: auto;
height: 350px;
}
.ratiobtn:checked + .tab {
color: aqua;
background-color: #234177;
transition: border-left-color 500ms;
}
}