Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Your name committed Oct 7, 2024
1 parent 8825647 commit fad4db1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 25 deletions.
38 changes: 16 additions & 22 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,22 @@ h3 {
.main {
width: 80%;
}

@media screen and (max-width: 1000px) {
.sidebar {
width: 100%;
float: top;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
}
.main {
float: bottom;
width: 100%;
}
}


br {
display: block;
margin: 1px 0;
Expand Down Expand Up @@ -207,25 +223,3 @@ br {
.topnav .icon {
display: none;
}

@media screen and (max-width: 600px) {
.topnav a:not(:first-child) {display: none;}
.topnav a.icon {
float: right;
display: block;
}
}

@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
}
}
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="js/chosen.jquery.js"></script>
<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/test.css" />
<!-- <link rel="stylesheet" href="css/test.css" /> -->
<link rel="stylesheet" href="css/misc.css" />


Expand Down Expand Up @@ -123,6 +123,7 @@ <h3>Type of Crime:</h3>
</div>


<div class="column_main">
<div class="column main">
<div id="loader"></div>

Expand All @@ -135,6 +136,7 @@ <h3>Type of Crime:</h3>
main("offenses", crime_state_values, 4, crime_values, "murder");
</script>
</div>
</div>

<div class="footer-wrap"></div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ function main(type, states, state_default, crimes, crime_starter) {
resizeChosen();
*/

makeDataSourceDropdown()
//makeDataSourceDropdown()
//updateDataSource()

ctx = document.getElementById("graph").getContext('2d');
Expand Down
2 changes: 1 addition & 1 deletion reusable_js.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h3>Jacob Kaplan</h3>
<div class="topnav" id="myTopnav">
<nav role="navigation" id="site-nav" class="nav">
<div class="menu a">
<a href="/">Data</a>
<a href="/">Data Tool</a>
<!-- <a href="data.html">Data</a>
<a href="research.html">Research</a>
Expand Down

0 comments on commit fad4db1

Please sign in to comment.