Browse Source

calling jquery from local server and updated the bottom nav bar on the description template

master
Cristina Cochior 5 years ago
parent
commit
c51c1d3411
  1. 48
      static/css/style.css
  2. 2
      static/js/jquery.min.js
  3. 2
      templates/layout.html

48
static/css/style.css

@ -327,11 +327,6 @@ li a{
color: #0000FF color: #0000FF
} }
li:hover a{
color: white;
background-color: magenta;
}
li{ li{
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
@ -429,29 +424,25 @@ nav.nav_bottom {
padding-bottom: 10px; padding-bottom: 10px;
} }
nav.nav_bottom div li {
margin-right: 2em;
}
nav.nav_bottom div li a{ nav.nav_bottom div li a{
color: black
}
nav.nav_bottom div li a:hover{
color: magenta;
color: black; color: black;
/* background-color: black; */ padding-left: 0.2em;
} }
nav.nav_bottom div li:first-child {
margin-right: 0;
}
li.index, li.about { li.no_here, li.prev_item {
float: left; margin-left: 0.8em;
margin-left: 10px; float: left;
} }
li.prev_item, li.next_item, li.no_here { li.prev_item {
float: left;
}
li.next_item {
float: right; float: right;
margin-right: 0.8em;
} }
@ -611,17 +602,12 @@ a.li-index:hover {
nav.nav_bottom{ nav.nav_bottom{
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
li.prev_item, li.next_item{
float: right; div#bottom_descrip_left{
margin-right: 1em; float: left;
} }
li.no_here{
float: left;
margin-left: 1em;
}
div#bottom_descrip_left{
display: none;
}
/*index*/ /*index*/
div.theindexpage{ div.theindexpage{

2
static/js/jquery.min.js

File diff suppressed because one or more lines are too long

2
templates/layout.html

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pushing Scores</title> <title>Pushing Scores</title>
<link rel="stylesheet" href="{{ url_for('static', filename='/css/style.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='/css/style.css') }}">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script src="{{ url_for('static', filename='/js/jquery.min.js') }}"></script>
<script> <script>
(function($){ (function($){
$.fn.shuffle = function() { $.fn.shuffle = function() {

Loading…
Cancel
Save