PersonalWebsite/css/about.css

116 lines
2.1 KiB
CSS
Raw Normal View History

/*!
* about.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
*/
/* ID selectors */
2020-03-20 14:28:22 +00:00
#section2 {
2020-03-20 20:27:57 +00:00
background-color: #deebff;
2020-03-20 13:58:20 +00:00
}
2020-03-20 14:28:22 +00:00
2020-03-18 09:22:43 +00:00
#aboutmeText {
width: 100%;
}
#aboutPic {
float: right;
margin-top: 10%;
2020-04-27 12:06:24 +00:00
box-shadow: rgba(2, 12, 27, 0.7) 0 10px 30px -15px;
2020-03-18 09:33:03 +00:00
transition: box-shadow 500ms;
2020-03-18 09:22:43 +00:00
height: 100%;
}
2020-03-20 14:28:22 +00:00
#downloadcvbtn {
2020-03-20 13:58:20 +00:00
margin-top: 15%;
width: 300px;
padding: 10px;
2020-03-20 20:27:57 +00:00
background-color: #7a96c2;
2020-03-20 13:58:20 +00:00
color: black;
border-radius: 5mm;
font-size: larger;
border-width: 1mm;
2020-03-20 20:27:57 +00:00
border-color: #194378;
2020-03-20 13:58:20 +00:00
border-style: solid;
transition: background-color 500ms;
}
/* CLASS selectors */
.aboutcontainer {
width: 40%;
float: left;
}
.aboutPicContainer {
width: 60%;
height: 300px;
float: left;
}
.aboutcontainer a {
text-decoration: none;
}
.arrowicon {
margin: 0;
padding: 7px 0 7px 20px;
list-style: none;
background-image: url("../rsc/arrow.svg");
background-repeat: no-repeat;
background-position: left center;
background-size: 20px;
}
/* HOVER selectors */
.arrowicon:hover {
background-color: #7a96c2;
border-radius: 3mm;
margin-left: 3mm;
}
2020-03-20 14:28:22 +00:00
#downloadcvbtn:hover {
2020-03-20 13:58:20 +00:00
color: white;
2020-03-20 20:27:57 +00:00
background-color: #194378;
2020-03-20 13:58:20 +00:00
transition: all 500ms;
}
2020-03-18 09:33:03 +00:00
/* screen larger than 600px -- desktop */
@media screen and (min-width: 1201px) {
#aboutPic:hover {
2020-04-27 12:06:24 +00:00
box-shadow: rgba(2, 12, 27, 0.7) 0 10px 30px 0;
2020-03-18 09:33:03 +00:00
transition: all 500ms;
}
}
2020-03-18 09:22:43 +00:00
/* special design for Screen smaller than 600px -- mobile */
@media screen and (max-width: 1200px) {
/* About Me*/
#aboutmeText {
width: 100%;
}
.aboutcontainer {
width: 100%;
}
.aboutPicContainer {
width: 100%;
height: 150px;
}
#section2 {
height: 130%;
2020-03-20 17:08:15 +00:00
min-height: 860px;
2020-03-18 09:22:43 +00:00
}
#aboutPic {
float: initial;
margin-left: auto;
margin-right: auto;
/* todo nof loating right in middle */
}
}