aboutsummaryrefslogtreecommitdiff
path: root/assets/css/style.css
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-08 10:02:46 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-08 10:02:46 +0000
commit4df24ca71dbd0dbf1eb1a1829bb2f0088e5e0115 (patch)
tree92685498e5ecf17a83172fb85509f8a7f22aab1f /assets/css/style.css
parent9db5845f4b3265b200cadd69d7541d541b8ac269 (diff)
parent205c2278b21ad39ce7b1bbe0b4181f772b85ddf1 (diff)
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'assets/css/style.css')
-rw-r--r--assets/css/style.css17
1 files changed, 8 insertions, 9 deletions
diff --git a/assets/css/style.css b/assets/css/style.css
index c4c73e2..99f44d9 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -90,13 +90,15 @@ a {
main {
- position: relative;
+
background-image: url("../images/main.jpg");
background-size: 250px 250px;
text-align: center;
- height: 80%;
width: 100%;
- overflow: auto;
+ min-height: 80%;
+ /*position: relative;
+ height: 80%;
+ overflow: auto;*/
}
/* Changes - main is a flex container for search content*/
@@ -104,19 +106,15 @@ main{
display: flex;
align-items: center;
justify-content: center;
+ flex-flow: column; /* Makes it grow vertically */
}
/* Changes - search is a flex container for h2 and bar, removed various attributes */
main #search {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
-
+ flex: 1;
width: 60%;
height: 100%;
- vertical-align: middle;
background-color: rgba(235,235,235, 0.7);
}
@@ -127,6 +125,7 @@ main #search h2{
color: gray;
font-size: 2.5em;
margin: 4%;
+ padding-top: 200px; /* Change to move search bar content. Keep as pixel*/
}
main #search input[type=text] {