adds privacy policy and page footer
This commit is contained in:
@ -1,7 +1,31 @@
|
||||
|
||||
body *
|
||||
html,
|
||||
body
|
||||
{
|
||||
font-family: "Trebuchet MS", Helvetica, sans-serif;
|
||||
margin: 0.5rem;
|
||||
padding: 0;
|
||||
height: calc(100% - 1rem)
|
||||
}
|
||||
|
||||
#container {
|
||||
min-height:100%;
|
||||
position:relative;
|
||||
}
|
||||
#main {
|
||||
padding-bottom: 3rem;
|
||||
padding-top: 3rem;
|
||||
padding: 30px 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
#footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 3rem;
|
||||
}
|
||||
|
||||
.banner {
|
||||
@ -15,7 +39,6 @@ body *
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: none;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
@ -33,13 +56,37 @@ body *
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
|
||||
/* bot navigation */
|
||||
|
||||
.footer {
|
||||
background-color: #d8d8d8;
|
||||
display: flex;
|
||||
justify-content:center;
|
||||
align-items:center;
|
||||
}
|
||||
|
||||
.footer p {
|
||||
margin: 0px;
|
||||
text-decoration: none;
|
||||
display: flex;
|
||||
float: left;
|
||||
color: #424242;
|
||||
padding: 1rem;
|
||||
font-size: 17px;
|
||||
}
|
||||
.footer a {
|
||||
text-decoration: none;
|
||||
color: #085a87;
|
||||
}
|
||||
|
||||
/* top navigation */
|
||||
.topnav {
|
||||
background-color: #333;
|
||||
.navigation {
|
||||
background-color: orange;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topnav a {
|
||||
.navigation a {
|
||||
float: left;
|
||||
display: flex;
|
||||
color: #f2f2f2;
|
||||
@ -49,40 +96,40 @@ body *
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.topnav a:hover {
|
||||
.navigation a:hover {
|
||||
background-color: #ddd;
|
||||
color: black;
|
||||
}
|
||||
|
||||
/* Add an active class to highlight the current page */
|
||||
.topnav a.active {
|
||||
.navigation a.active {
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Hide the link that should open and close the topnav on small screens */
|
||||
.topnav .icon {
|
||||
/* Hide the link that should open and close the navigation on small screens */
|
||||
.navigation .icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
|
||||
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the navigation (.icon) */
|
||||
@media screen and (max-width: 600px) {
|
||||
.topnav a:not(:first-child) {display: none;}
|
||||
.topnav a.icon {
|
||||
.navigation a:not(:first-child) {display: none;}
|
||||
.navigation a.icon {
|
||||
float: right;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
|
||||
/* The "responsive" class is added to the navigation with JavaScript when the user clicks on the icon. This class makes the navigation look good on small screens (display the links vertically instead of horizontally) */
|
||||
@media screen and (max-width: 600px) {
|
||||
.topnav.responsive {position: relative;}
|
||||
.topnav.responsive a.icon {
|
||||
.navigation.responsive {position: relative;}
|
||||
.navigation.responsive a.icon {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.topnav.responsive a {
|
||||
.navigation.responsive a {
|
||||
float: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon */
|
||||
/* Toggle between adding and removing the "responsive" class to navigation when the user clicks on the icon */
|
||||
function menuBars() {
|
||||
var x = document.getElementById("myTopnav");
|
||||
if (x.className === "topnav") {
|
||||
var x = document.getElementById("navigation");
|
||||
if (x.className === "navigation") {
|
||||
x.className += " responsive";
|
||||
} else {
|
||||
x.className = "topnav";
|
||||
x.className = "navigation";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user