PersonalWebsite/css/index.css

140 lines
2.0 KiB
CSS
Raw Normal View History

2020-03-16 18:00:42 +00:00
body, html {
height: 100%;
scroll-behavior: smooth;
2020-03-16 18:00:42 +00:00
/*font-family: Calibre, "San Francisco", "SF Pro Text", -apple-system, system-ui, BlinkMacSystemFont, Roboto, "Helvetica Neue", "Segoe UI", Arial, sans-serif;*/
}
.tile {
2020-03-16 21:24:51 +00:00
height: 80%;
2020-03-16 18:00:42 +00:00
padding-top: 70px;
2020-03-17 17:57:49 +00:00
padding-bottom: 70px;
}
2020-03-17 21:04:26 +00:00
.nav-item {
2020-03-17 17:57:49 +00:00
text-transform: uppercase;
text-decoration: none;
font: bold 15px/1.4 'Open Sans', arial, sans-serif;
2020-03-16 18:00:42 +00:00
}
#section1 {
background-color: #311E25;
color: white;
}
.lightOpacity {
2020-03-16 18:47:15 +00:00
opacity: 0.6;
}
.bigText {
2020-03-16 18:00:42 +00:00
font-family: 'Helvetica Neue', fantasy;
2020-03-16 18:47:15 +00:00
}
#preTitle {
2020-03-16 18:47:15 +00:00
opacity: 0.8;
color: #fffd80;
2020-03-16 18:47:15 +00:00
}
2020-03-17 21:04:26 +00:00
#homepicture {
2020-03-17 20:16:01 +00:00
float: left;
height: 400px;
}
/* About Me*/
2020-03-17 21:04:26 +00:00
#aboutmeText {
width: 100%;
}
.aboutcontainer {
width: 40%;
2020-03-17 21:04:26 +00:00
float: left;
}
.aboutPic {
width: 60%;
height: 300px;
2020-03-17 21:04:26 +00:00
float: left;
}
2020-03-16 18:47:15 +00:00
/* screen larger than 600px -- desktop */
@media screen and (min-width: 1201px) {
.tile {
2020-03-17 18:24:08 +00:00
min-height: 530px;
}
#section1 {
2020-03-16 18:54:54 +00:00
padding-top: 200px;
}
#preTitle {
2020-03-16 18:47:15 +00:00
font-size: 35px;
}
2020-03-16 18:47:15 +00:00
#titleText {
font-size: 80px;
}
#subTitleText {
2020-03-16 18:47:15 +00:00
font-size: 50px;
}
#meaningFullSentence {
2020-03-16 18:47:15 +00:00
width: 40%;
}
}
/* Screen smaller than 600px -- mobile */
@media screen and (max-width: 1200px) {
/*background color of collapsed navbar*/
.navbar-nav {
background: #311E25;
}
.tile {
min-height: 300px;
}
#section1 {
2020-03-16 18:54:54 +00:00
padding-top: 100px;
height: 90%;
2020-03-16 18:54:54 +00:00
}
#preTitle {
2020-03-16 18:47:15 +00:00
font-size: 15px;
}
2020-03-16 18:47:15 +00:00
#titleText {
font-size: 30px;
}
#subTitleText {
2020-03-16 18:47:15 +00:00
font-size: 20px;
}
#meaningFullSentence {
2020-03-16 18:47:15 +00:00
width: 100%;
font-size: 13px;
}
2020-03-17 21:04:26 +00:00
#homepicture {
2020-03-17 20:16:01 +00:00
height: 300px;
width: 100%;
}
/* About Me*/
2020-03-17 21:04:26 +00:00
#aboutmeText {
width: 100%;
}
.aboutcontainer {
width: 100%;
}
.aboutPic {
width: 100%;
height: 150px;
}
#section2{
height: 130%;
}
2020-03-16 18:00:42 +00:00
}