Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit e222f92

Browse files
committed
CSS tweaks
1 parent e2c2e3c commit e222f92

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

css/views/view.Home.css

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
}
66
#home > .top{
77
display: block;
8-
width: 100%;
8+
width: 100%;
9+
padding-bottom: 100%;
910
transition: all 0.4s ease-out;
1011
position: relative;
11-
background-image:url('../../img/ogx_logo.svg');
12+
background-image:url('../../img/ogx_logo.svg');
13+
background-size: 70%;
1214
background-position:center center;
1315
background-repeat:no-repeat;
1416
transition:all ease-in-out;
@@ -35,27 +37,33 @@
3537
/*MEDIA QUERIES*/
3638
/* Custom, iPhone Retina */
3739
@media only screen and (min-width: 320px){
38-
#home > .top{
39-
padding-bottom: 100%;
40-
background-size: 70%;
41-
}
40+
4241
}
4342
/* Extra Small Devices, Phones */
4443
@media only screen and (min-width:480px){
45-
44+
#home > .top{
45+
padding-bottom: 80%;
46+
background-size: 60%;
47+
}
4648
}
4749
/* Small Devices, Tablets */
4850
@media only screen and (min-width:768px){
4951
#home > .top{
50-
padding-bottom: 50%;
51-
background-size: 30%;
52+
padding-bottom: 50%;
53+
background-size: 40%;
5254
}
5355
}
5456
/* Medium Devices, Desktops */
5557
@media only screen and (min-width:992px){
56-
58+
#home > .top{
59+
padding-bottom: 40%;
60+
background-size: 30%;
61+
}
5762
}
5863
/* Large Devices, Wide Screens */
5964
@media only screen and (min-width:1400px){
60-
65+
#home > .top{
66+
padding-bottom: 30%;
67+
background-size: 20%;
68+
}
6169
}

0 commit comments

Comments
 (0)