improve index page design

- avoid overlapping in the header bar
- scale down the gopher image to save a bunch of kilobytes
- hide the ethereum logo on smaller screens
- fix indentation
This commit is contained in:
Felix Lange
2016-11-15 03:05:18 +01:00
parent abe2f98763
commit 70f11da755
3 changed files with 28 additions and 26 deletions

View File

@ -1,48 +1,52 @@
.jumbotron .mascot {
background-image: url('../../images/mascot.png');
background-size: auto 300px;
background-repeat: no-repeat;
background-position: 2.5% -30px;
height: 256px;
}
.jumbotron h1, .jumbotron h2 {
text-shadow: -1px 0 #ecf0f1, 0 1px #ecf0f1, 1px 0 #ecf0f1, 0 -1px #ecf0f1;
background-position: 0 -30px;
height: 280px;
}
.jumbotron h1 {
font-size: 56px;
font-weight: bold;
margin-top: 16px;
margin-top: 0;
margin-bottom: 12px;
}
.jumbotron h2 {
margin-top: 12px;
font-size: 28px;
max-width: 500px;
margin: auto;
}
.mascot-mobile {
text-align: center;
}
.hide-on-small-screen {
display: none;
}
.featurette-divider {
margin: 80px 0;
}
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -1px;
}
@media (min-width: 768px) {
.jumbotron .mascot {
background-image: url('../../images/mascot.png');
}
.mascot-mobile {
display: none;
}
.featurette-heading {
font-size: 50px;
}
}
@media (min-width: 992px) {
.featurette-heading {
margin-top: 80px;
}
.featurette-image {
margin-top: 30px;
}
.hide-on-small-screen {
display: block;
}
}