Mobile optimisations
This commit is contained in:
parent
e86055da9f
commit
d32016f402
1 changed files with 6 additions and 2 deletions
|
@ -38,6 +38,10 @@
|
||||||
#project-images-types {
|
#project-images-types {
|
||||||
background: url(http://catesmechanical.com/images/blueprint-background1.jpg);
|
background: url(http://catesmechanical.com/images/blueprint-background1.jpg);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
background-attachment: fixed;
|
||||||
|
@media screen and (max-width: @screen-xs-max) {
|
||||||
|
background-attachment: initial;
|
||||||
|
}
|
||||||
.container {
|
.container {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 27px;
|
margin-top: 27px;
|
||||||
|
@ -61,12 +65,12 @@
|
||||||
margin-bottom: 25px;
|
margin-bottom: 25px;
|
||||||
}
|
}
|
||||||
.twitter-timeline {
|
.twitter-timeline {
|
||||||
height: 70vh !important; // Because twitter uses inline styles.
|
height: 65vh !important; // Because twitter uses inline styles.
|
||||||
}
|
}
|
||||||
.twitter-icon {
|
.twitter-icon {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 175px;
|
font-size: 175px;
|
||||||
height: 70vh;
|
height: 65vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
.icon {
|
.icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Reference in a new issue