38 lines
598 B
CSS
38 lines
598 B
CSS
|
#nav {
|
||
|
width: 100%;
|
||
|
background-color: #98bf21;
|
||
|
position: absolute;
|
||
|
top: 0px;
|
||
|
right: 0px;
|
||
|
padding: 0px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
ul {
|
||
|
list-style-type:none;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
li {
|
||
|
display: inline;
|
||
|
}
|
||
|
a:link,a:visited {
|
||
|
transition: background-color,width 0.5s;
|
||
|
display: inline-block;
|
||
|
width:150px;
|
||
|
font-weight:bold;
|
||
|
color:#FFFFFF;
|
||
|
background-color:#98bf21;
|
||
|
text-align:center;
|
||
|
padding:4px;
|
||
|
text-decoration:none;
|
||
|
}
|
||
|
a:hover,a:active {
|
||
|
background-color:#7A991A;
|
||
|
width: 180px;
|
||
|
}
|
||
|
h1 {
|
||
|
padding-top: 20px;
|
||
|
color: #4B5E10;
|
||
|
font-family: "Verdana",sans-serif;
|
||
|
}
|