PersonalWebsite/css/about.css

60 lines
1.0 KiB
CSS
Raw Normal View History

2020-03-18 09:22:43 +00:00
/* About Me*/
#aboutmeText {
width: 100%;
}
.aboutcontainer {
width: 40%;
float: left;
}
.aboutPicContainer {
width: 60%;
height: 300px;
float: left;
}
#aboutPic {
float: right;
margin-top: 10%;
box-shadow: rgba(2, 12, 27, 0.7) 0px 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-18 09:33:03 +00:00
/* 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;
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%;
}
#aboutPic {
float: initial;
margin-left: auto;
margin-right: auto;
/* todo nof loating right in middle */
}
}