PersonalWebsite/css/home.css

113 lines
1.8 KiB
CSS
Raw Normal View History

/*!
* home.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
*/
2020-03-18 09:22:43 +00:00
.lightOpacity {
opacity: 0.6;
}
.bigText {
font-family: 'Helvetica Neue', fantasy;
}
2020-03-30 09:17:55 +00:00
#section1 {
background-color: #001631;
color: white;
padding-top: 200px;
}
2020-03-18 09:22:43 +00:00
#preTitle {
font-size: 35px;
2020-03-18 09:22:43 +00:00
opacity: 0.8;
2020-03-20 20:40:51 +00:00
color: #78ffd9;
2020-03-27 14:34:11 +00:00
visibility: hidden;
animation: textfade 1s 900ms 1 forwards;
2020-03-18 09:22:43 +00:00
}
#homepicture {
float: left;
height: 400px;
}
#selfimg1 {
display: block;
margin-left: auto;
margin-right: auto;
height: 100%
}
#titleText {
font-size: 80px;
2020-03-20 20:40:51 +00:00
color: #ced5f6;
2020-03-27 14:34:11 +00:00
visibility: hidden;
animation: textfade 1s 600ms 1 forwards;
}
2020-03-18 09:22:43 +00:00
#subTitleText {
font-size: 50px;
2020-03-20 20:40:51 +00:00
color: #bec1d4;
2020-03-27 14:34:11 +00:00
2020-03-30 09:17:55 +00:00
visibility: hidden;
animation: textfade 1s 300ms 1 forwards;
}
2020-03-18 09:22:43 +00:00
#meaningFullSentence {
width: 40%;
2020-03-20 20:40:51 +00:00
color: #babccd;
2020-03-30 09:17:55 +00:00
animation: textfade 1s 0ms 1 forwards;
}
2020-03-18 09:22:43 +00:00
/* hover effects */
#homepicture:hover {
2020-04-27 12:06:24 +00:00
box-shadow: rgba(2, 12, 27, 0.7) 0 10px 30px 0;
transition: all 500ms;
}
2020-03-18 09:33:03 +00:00
/* height smaller than 720px */
@media screen and (max-height: 720px) {
#homepicture {
height: 300px;
2020-03-18 09:33:03 +00:00
}
2020-03-18 09:22:43 +00:00
}
/* Screen smaller than 600px -- general small width screens */
2020-03-18 09:22:43 +00:00
@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%;
}
2020-03-22 17:07:58 +00:00
/* hide name tag on mobiles */
#nameTag {
display: none;
}
2020-03-18 09:22:43 +00:00
}