add style to the nav file
This commit is contained in:
parent
2cb9e86a06
commit
e94f4dddc1
26
index.html
26
index.html
@ -6,6 +6,32 @@
|
|||||||
<script src="https://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
|
<script src="https://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
body{
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: Arial;
|
||||||
|
}
|
||||||
|
a{
|
||||||
|
color:#999;
|
||||||
|
}
|
||||||
|
.redColor{
|
||||||
|
color: #C40000 !important;
|
||||||
|
}
|
||||||
|
nav.top{
|
||||||
|
background-color: #f2f2f2;
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
border-bottom: 1px solid #e7e7e7;
|
||||||
|
}
|
||||||
|
nav.top span, nav.top a{
|
||||||
|
color: #999;
|
||||||
|
margin: 0px 10px 0px 10px;
|
||||||
|
}
|
||||||
|
nav.top a:hover{
|
||||||
|
color: #C40000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<nav class="top">
|
<nav class="top">
|
||||||
<a href="#nowhere">
|
<a href="#nowhere">
|
||||||
<span class="glyphicon glyphicon-home redColor"></span>
|
<span class="glyphicon glyphicon-home redColor"></span>
|
||||||
|
Loading…
Reference in New Issue
Block a user