Skip to content
Snippets Groups Projects
Commit a7d2ed5f authored by Lillian Gray's avatar Lillian Gray
Browse files

Delete unnecessary styles #9

Move styles for many objects to top of file
parent 3641a288
No related merge requests found
......@@ -15,25 +15,34 @@
outline: none;
}
/* Used to easily hide objects in main.js */
.displayNone{
display: none;
}
/*Gives support for flexbox in more browsers
Margins can be edited once there is support for row-gap and column-gap*/
.flex-parent{
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: -10px;
}
.flex-parent>*{
margin: 10px;
}
body {
background: url("../images/header_bg.png") repeat-x scroll left top #EDEDED;
font-family: Georgia, Serif;
overflow-x: hidden;
}
#overlay{
visibility: hidden;
position: absolute;
left: 0px;
top: 0px;
width:100%;
height:100%;
text-align:center;
z-index: 10;
color: white;
background-color: rgba(200,200,200,.5);
}
#header{
max-width:1000px;
margin: 0 auto;
......@@ -85,29 +94,7 @@ body {
max-width: 700px;
}
.displayNone{
display: none;
}
#lineChart{
margin-top: 0px;
}
#control{
height: 70px;
}
#sidebar{
width: 80%;
margin: 0px auto;
text-align: center;
}
.btnGroup > button:active{
background-color: #ddd;
}
.btn, .aboutBtn, .getPlink, .csvBtn{
.aboutBtn, .getPlink, .csvBtn{
font-size: 18px;
font-family: Georgia, Serif;
border: 1px solid #666;
......@@ -128,21 +115,8 @@ body {
vertical-align: text-top;
}
.btn{
font-size: 16px;
height: 50px;
padding: 0px 42px 0 10px;
margin: 1px;
text-align: left;
background: transparent url('../images/cbox1.png') center right no-repeat;
}
.btn.active, .btn.active:active{
background: transparent url('../images/cbox2.png') center right no-repeat;
color: whitesmoke;
}
.btn:hover, .btn.active:hover, .aboutBtn:hover{
.aboutBtn:hover{
border: 1px solid #222;
-moz-box-shadow: 0px 0px 4px #222;
-webkit-box-shadow: 0px 0px 4px #222;
......@@ -153,9 +127,6 @@ body {
background-color: #ddd;
}
form{text-align:center; font-family: Georgia, Serif;}
input{font-family: 'Georgia', Serif;}
#plink{
width: 150px;
height: 20px;
......@@ -218,22 +189,4 @@ input{font-family: 'Georgia', Serif;}
width: 80%;
margin: 20px auto;
align-items: center;
}
/*Gives support for flexbox in more browsers
Margins can be edited once there is support for row-gap and column-gap*/
.flex-parent{
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: -10px;
}
.flex-parent>*{
margin: 10px;
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment