PersonalWebsite/css/index.css
lukas-heiligenbrunner c7facbd23b collapsed navbar background color
behaviour of minimum screen size
2020-03-16 20:24:03 +01:00

92 lines
1.5 KiB
CSS

body, html {
height: 100%;
scroll-behavior: smooth;
/*font-family: Calibre, "San Francisco", "SF Pro Text", -apple-system, system-ui, BlinkMacSystemFont, Roboto, "Helvetica Neue", "Segoe UI", Arial, sans-serif;*/
}
.tile {
height: 70%;
padding-top: 70px;
padding-bottom: 70px
}
#section1 {
background-color: #311E25;
color: white;
}
.lightOpacity {
opacity: 0.6;
}
.bigText {
transition-delay: 200ms;
font-family: 'Helvetica Neue', fantasy;
-webkit-font-smoothing: antialiased
/* todo here!*/
}
#preTitle {
opacity: 0.8;
color: #fffd80;
}
/* screen larger than 600px -- desktop */
@media screen and (min-width: 601px) {
.tile {
min-height: 500px;
}
#section1 {
padding-top: 200px;
}
#preTitle {
font-size: 35px;
}
#titleText {
font-size: 80px;
}
#subTitleText {
font-size: 50px;
}
#meaningFullSentence {
width: 40%;
}
}
/* Screen smaller than 600px -- mobile */
@media screen and (max-width: 600px) {
/*background color of collapsed navbar*/
.navbar-nav {
background: #311E25;
}
.tile {
min-height: 300px;
}
#section1 {
padding-top: 100px;
}
#preTitle {
font-size: 15px;
}
#titleText {
font-size: 30px;
}
#subTitleText {
font-size: 20px;
}
#meaningFullSentence {
width: 100%;
font-size: 13px;
}
}