Skip to content

Commit

Permalink
CSS file update
Browse files Browse the repository at this point in the history
- Background images to cover the maximum area they have
- Fixing gap under footer (on large displays)
- Deleting redundant code
  • Loading branch information
Adi committed May 29, 2014
1 parent 753ff21 commit 0c5bb00
Showing 1 changed file with 13 additions and 50 deletions.
63 changes: 13 additions & 50 deletions wp-content/themes/wpbootstrap/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,27 @@ body {
background-color: #000;
font-family: Arial, Helvetica, Sans-Serif;
text-align: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
.wrap {
min-height: 97%;
min-height: 100%;
padding-left: 15px;
padding-right: 15px;
}
.container {
overflow: auto;
padding-bottom: 145px
padding-bottom: 145px;
}
.top-container {
height: 80px;
}
.push {
height: 120px;
}
/*.figurines {
float: right;
margin: 20px 0px 7px 40px;
}*/



/* HEADER */
Expand Down Expand Up @@ -81,8 +79,7 @@ body {
margin-right: auto;
margin-left: auto;
}
/* new */
.menu-container {
.menu-container { /* new */
width: 100%;
margin-right: auto;
margin-left: auto;
Expand Down Expand Up @@ -138,6 +135,8 @@ body {
}
.logoFooter {
padding-top: 10px;
max-height: 50%;
max-width: 50%;
}


Expand Down Expand Up @@ -210,8 +209,7 @@ body {
margin-right: auto;
margin-left: auto;
}
/* new */
.menu-container {
.menu-container { /* new */
width: 750px;
margin-right: auto;
margin-left: auto;
Expand All @@ -224,8 +222,7 @@ body {
margin-right: auto;
margin-left: auto;
}
/* new */
.menu-container {
.menu-container { /* new */
width: 800px;
margin-right: auto;
margin-left: auto;
Expand Down Expand Up @@ -263,18 +260,17 @@ body {

@media (min-width: 1200px) {
.container .jumbotron {
width: 900px; /* 900px in child theme */
width: 900px;
margin-right: auto;
margin-left: auto;
}
/* new */
.menu-container {
.menu-container { /* new */
width: 900px;
margin-right: auto;
margin-left: auto;
}
.jumbotron-transparent {
width: 950px; /* 950px in child theme */
width: 950px;
margin-right: auto;
margin-left: auto;
}
Expand Down Expand Up @@ -311,39 +307,6 @@ body {
}
.footer {
height: 230px;
margin-top: -230px;
}
}

/* @media (min-height: 850px) and (min-width: 992px) {
.home-top-container {
height: 150px;
}
} */

/* The following is only on the parent theme (for the test site): */

@media screen and (min-width: 992px) {
.figurines {
float: right;
margin: 20px 0px 7px 40px;
}
}
@media (min-width: 768px) and (max-width: 992px) {
.figurines {
display: block;
margin-left: auto;
margin-right: auto;
clear: both;
width: 450px;
height: 300px;
margin-top: -230px;
}
}
@media (max-width: 992px) {
.figurines {
display: block;
margin-left: auto;
margin-right: auto;
clear: both;
}
}

0 comments on commit 0c5bb00

Please sign in to comment.