PersonalWebsite/css/home.css
2020-03-18 10:33:03 +01:00

81 lines
1.2 KiB
CSS

#section1 {
background-color: #311E25;
color: white;
}
.lightOpacity {
opacity: 0.6;
}
.bigText {
font-family: 'Helvetica Neue', fantasy;
}
#preTitle {
opacity: 0.8;
color: #fffd80;
}
#homepicture {
float: left;
height: 400px;
}
/* screen larger than 600px -- desktop */
@media screen and (min-width: 1201px) {
#section1 {
padding-top: 200px;
}
#preTitle {
font-size: 35px;
}
#titleText {
font-size: 80px;
}
#subTitleText {
font-size: 50px;
}
#meaningFullSentence {
width: 40%;
}
/* todo maybe a bit weird?? */
#homepicture:hover {
box-shadow: rgba(2, 12, 27, 0.7) 0px 10px 30px 0px;
transition: all 500ms;
}
}
/* Screen smaller than 600px -- mobile */
@media screen and (max-width: 1200px) {
#section1 {
padding-top: 100px;
height: 90%;
}
#preTitle {
font-size: 15px;
}
#titleText {
font-size: 30px;
}
#subTitleText {
font-size: 20px;
}
#meaningFullSentence {
width: 100%;
font-size: 13px;
}
#homepicture {
height: 300px;
width: 100%;
}
}