-
Notifications
You must be signed in to change notification settings - Fork 0
/
navigationBarStyle.css
81 lines (71 loc) · 1.18 KB
/
navigationBarStyle.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.navbar.top{
top: 0;
left: 0;
right: 0;
}
/*Styling the overall navigation bar*/
.navbar{
background-color: #757575;
overflow: hidden;
width: 100%;
}
/*styling the specific elements of the navigation bar*/
.navbar a{
float: left;
display: block;
color: white;
padding: 14px 16px;
text-decoration: none;
font-weight: bold;
}
/*A different style for the selected page*/
.navbar a.active{
color: #f2f2f2;
background-color: #757575;
background-color: #007100;
}
/*styling for when the mouse hovers over the button*/
.navbar a:hover{
background-color: white;
color: #007100;
}
.footer{
background-color: #757575;
overflow: hidden;
width: 100%;
/*Text*/
color: #007100;
}
.footer li{
list-style-type: none;
}
.footer a{
float: left;
color: white;
padding-right: 14px;
}
/*Got this from http://www.cssreset.com/demos/layouts/how-to-keep-footer-at-bottom-of-page-with-css/*/
html,
body {
margin:0;
padding:0;
height:100%;
}
#wrapper {
min-height:100%;
position:relative;
}
#header {
}
#content {
padding-bottom:100px; /* Height of the footer element */
}
#footer {
width:100%;
position:absolute;
bottom:0;
left:0;
}
#content{
margin-top: 50;
}