Commit 91df3ce8 by liuyingying

css

parent 718d6214
...@@ -321,11 +321,16 @@ nav>div{ ...@@ -321,11 +321,16 @@ nav>div{
/*float: right !important;*/ /*float: right !important;*/
} }
.wrap ul>li:hover{ #cve .wrap ul>li:hover{
background: #ddd; background: #ddd;
border-radius: 5px; border-radius: 5px;
} }
#article .wrap ul:hover{
background: #ddd;
}
#publish ul:hover{
background: #ddd;
}
.member_type{ .member_type{
display: block; display: block;
float: left; float: left;
...@@ -385,8 +390,7 @@ blockquote{ ...@@ -385,8 +390,7 @@ blockquote{
/*font-size:16px;*/ /*font-size:16px;*/
/*font-weight: bold;*/ /*font-weight: bold;*/
/*display: block;*/ /*display: block;*/
padding: 10px 0; padding: 5px 0;
margin: 20px 0 5px;
border-bottom: 3px solid #eee; border-bottom: 3px solid #eee;
} }
blockquote>p{ blockquote>p{
...@@ -402,9 +406,10 @@ blockquote>p{ ...@@ -402,9 +406,10 @@ blockquote>p{
display: block; display: block;
width:100%; width:100%;
cursor: pointer; cursor: pointer;
padding-right: 20px; padding:0 10px;
} }
.wrap ul>li{ .wrap ul>li{
display: block; display: block;
line-height: 30px; line-height: 30px;
...@@ -414,7 +419,6 @@ blockquote>p{ ...@@ -414,7 +419,6 @@ blockquote>p{
.float-tips{ .float-tips{
width:150px; width:150px;
height:auto; height:auto;
background-color: white;
} }
#mytitle { #mytitle {
position: absolute; position: absolute;
...@@ -442,7 +446,7 @@ ul:after{ ...@@ -442,7 +446,7 @@ ul:after{
color:#306cc5; color:#306cc5;
} }
.cve_big_text{ .cve_big_text{
font-size: 16px; font-size: 15px;
font-style: italic; font-style: italic;
} }
.cve_big_text>a{ .cve_big_text>a{
...@@ -491,7 +495,7 @@ ul:after{ ...@@ -491,7 +495,7 @@ ul:after{
.right{ .right{
float:right !important; float:right !important;
height: 20px !important; height: 20px !important;
margin: 0 0 20px; margin: 0 0 10px;
z-index: -999; z-index: -999;
font-size:14px; font-size:14px;
} }
......
...@@ -221,12 +221,11 @@ ...@@ -221,12 +221,11 @@
</div> </div>
<div class="wrap"> <div class="wrap">
{% for year, cves in cve_year_list.items %} {% for year, cves in cve_year_list.items %}
<blockquote ><p>{{ year }}</p></blockquote> <blockquote style="display: none"><p>{{ year }}</p></blockquote>
<ul> <ul>
{% if cves %} {% if cves %}
{% for cve in cves %} {% for cve in cves %}
<li class="cve_big_text float-tips" title="软件:{{ cve.software }}<br>漏洞类型:{{ cve.bugType }}"><a href="{{ cve.url }}" target="_blank">{{ cve.identifier }}</a></li> <li class="cve_big_text float-tips" title="软件:{{ cve.software }}<br>漏洞类型:{{ cve.bugType }}"><a href="{{ cve.url }}" target="_blank">{{ cve.identifier }}</a></li>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</ul> </ul>
......
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