Skip to content

Commit c4cb139

Browse files
committed
fix: links style
1 parent 4fea82b commit c4cb139

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

source/links/index.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,20 @@ description: 我的朋友们!
77
<div class="post-body">
88
<div id="links">
99
<!-- LINKS STYLE-->
10-
<style>.links-content{margin-top:1rem}.link-navigation::after{content:" ";display:block;clear:both}.card{width:45%;font-size:1rem;padding:10px 8px;border-radius:4px;transition-duration:0.15s;margin-bottom:1rem;display:flex}.card:nth-child(odd){float:left}.card:nth-child(even){float:right}.card:hover{transform:scale(1.1);box-shadow:0 2px 6px 0 rgba(0,0,0,0.12),0 0 6px 0 rgba(0,0,0,0.04)}.card a{border:none}.card.ava{width:3.5rem!important;height:3.5rem!important;margin:0!important;margin-right:2em!important;border-radius:4px}.card.card-header{font-style:italic;overflow:hidden;width:100%}.card.card-header a{font-style:normal;color:#2bbc8a;font-weight:bold;text-decoration:none}.card.card-header a:hover{color:#d480aa;text-decoration:none}.card.card-header.info{font-style:normal;color:#a3a3a3;font-size:14px;min-width:0;overflow:hidden;white-space:nowrap}</style>
10+
<style>
11+
.links-content{margin-top:1rem;}
12+
.link-navigation::after {content: " ";display: block;clear: both;}
13+
.card {width: 45%;font-size: 1rem;padding: 10px 8px;border-radius: 4px;transition-duration: 0.15s;margin-bottom: 1rem;display:flex;}
14+
.card:nth-child(odd) {float: left;}
15+
.card:nth-child(even) {float: right;}
16+
.card:hover {transform: scale(1.1);box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);}
17+
.card a {border:none;}
18+
.card .ava {width: 3.5rem!important;height: 3.5rem!important;margin:0!important;margin-right: 2em!important;border-radius:4px;}
19+
.card .card-header {font-style: italic;overflow: hidden;width: 100%;}
20+
.card .card-header a {font-style: normal;color: #2bbc8a;font-weight: bold;text-decoration: none;}
21+
.card .card-header a:hover {color: #d480aa;text-decoration: none;}
22+
.card .card-header .info {font-style:normal;color:#a3a3a3;font-size:14px;min-width: 0;overflow: hidden;white-space: nowrap;}
23+
</style>
1124
<!-- LINKS HEAD -->
1225
<div class="links-content">
1326
<div class="link-navigation">

0 commit comments

Comments
 (0)