Permalink
Browse files

fixed a lot of shit

  • Loading branch information...
floatkeera committed Nov 14, 2017
1 parent 7dc69ec commit f7084569c0ae0d5958e78679511eda266a74575a
Showing with 21 additions and 13 deletions.
  1. +6 −6 news_dashboard.html
  2. +1 −5 news_dashboard.js
  3. +4 −0 style_dashboard.css
  4. +10 −2 style_news_dashboard.css
View
@@ -52,7 +52,7 @@
<div class="top-block">
<div class="search-box">
<p><input type="text" class="quicksearch" placeholder="what crisis are you looking for?" onclick="this.placeholder=''"; /></p>
<p><input type="text" class="quicksearch" placeholder="look for news of a specific disaster..." onclick="this.placeholder=''"; /></p>
</div>
</div>
@@ -64,19 +64,19 @@
<img class="card-image" src="static/irma.jpg">
<div class="name">Hurricane Irma</div>
<div class="location">Location: Florida, USA</div>
<div class="stat">Wind Speed: 169mph</div>
<div class="stat">Category: 5</div>
</a>
<a href="" class="element-item" name="Mexico">
<img class="card-image" src="static/mexico_eq.jpg">
<div class="name">Earthquake(Mexico City)</div>
<div class="location">Location: Mexico</div>
<div class="stat">Wind Speed: 169mph</div>
<div class="name">Earthquake in Mexico</div>
<div class="location">Location: Oaxaca, Mexico</div>
<div class="stat">Magnitude: 6.5</div>
</a>
<a href="" class="element-item" name="Kansas">
<img class="card-image" src="static/kansas_tornado.jpg">
<div class="name">Tornado(Kansas)</div>
<div class="name">Tornadoes in Kansas</div>
<div class="location">Location: Kansas, USA</div>
<div class="stat">Wind Speed: 169mph</div>
</a>
View
@@ -8,11 +8,7 @@ var qsRegex;
// init Isotope
var $grid = $('.grid').isotope({
itemSelector: '.element-item',
masonry: {
columnWidth: '.element-item',
isFitWidth: true
},
layoutMode: 'fitRows',
filter: function() {
return qsRegex ? $(this).text().match( qsRegex ) : true;
View
@@ -1,3 +1,6 @@
html { overflow-y: scroll;
overflow-x: hidden;}
nav {
z-index: 11;
position: fixed;
@@ -126,6 +129,7 @@ transition: all 0.3s ease;
.top-block{
height: 75px;
margin-top: 25px;
margin-bottom: 40px;
}
View
@@ -1,3 +1,5 @@
html { overflow-y: scroll; }
nav {
z-index: 11;
position: fixed;
@@ -126,6 +128,7 @@ transition: all 0.3s ease;
.top-block{
height: 75px;
margin-top: 25px;
margin-bottom: 25px;
}
@@ -218,6 +221,7 @@ hr {
.grid {
margin: 0 auto;
width: 90%;
}
@@ -228,7 +232,7 @@ hr {
height: 250px;
width: 90%;
width: 100%;
float: left;
background-color: rgba(255, 255, 255, 0.9);
@@ -246,13 +250,17 @@ hr {
text-decoration: none!important;
font-size: 150%;
color: #666666;
font-family: 'Open Sans', sans-serif;
}
.location{
text-decoration: none!important;
font-size: 150%;
font-size: 200%;
color: #666666;
font-family: 'Open Sans', sans-serif;
font-weight: 600;
}

0 comments on commit f708456

Please sign in to comment.