Commit dd758fca authored by 汪波's avatar 汪波

css

parent 247b2ffc
...@@ -434,3 +434,63 @@ ...@@ -434,3 +434,63 @@
font-weight: normal; font-weight: normal;
} }
/*book tips*/
.tab-nav {
display: inline-block;
text-align: center;
font-size: 14px;
}
.tab-nav a {
position: relative;
display: inline-block;
height: 50px;
padding: 0 10px;
line-height: 50px;
color: #666;
}
.tab-nav a.cur {
color: #333;
}
.tab-nav a.cur:after {
content: '';
position: absolute;
width: 10px;
height: 2px;
background-color: #07c706;
left: 50%;
margin-left: -5px;
bottom: -1px;
}
.nav-main a {
position: relative;
}
.nav-main a span.file-tip {
display: inline-block;
position: absolute;
width: 170px;
height: 30px;
line-height: 30px;
background: #07c706;
color: #fff;
font-size: 12px;
border-radius: 3px;
left: 50%;
margin-left: -85px;
top:50px;
}
.nav-main a span.file-tip:after {
content: '';
left: 50%;
top: -5px;
margin-left: -10px;
display: inline-block;
position: absolute;
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #07c706;
z-index: 1;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment