This commit is contained in:
10
Links/templates/default-mix/manifest.json
Normal file
10
Links/templates/default-mix/manifest.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "default-mix",
|
||||
"title": "默认图文友链",
|
||||
"version": "1.0.0",
|
||||
"description": "图标 + 名称",
|
||||
"inject": {
|
||||
"css": true,
|
||||
"js": false
|
||||
}
|
||||
}
|
||||
4
Links/templates/default-mix/style.css
Normal file
4
Links/templates/default-mix/style.css
Normal file
@@ -0,0 +1,4 @@
|
||||
.links-plus-item{list-style:none;margin:8px 0}
|
||||
.links-plus-link{display:inline-flex;gap:10px;align-items:center;color:inherit;text-decoration:none}
|
||||
.links-plus-avatar{border-radius:10px;border:1px solid rgba(0,0,0,.06)}
|
||||
.links-plus-link:hover .links-plus-name{text-decoration:underline}
|
||||
6
Links/templates/default-mix/template.html
Normal file
6
Links/templates/default-mix/template.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<li class="links-plus-item">
|
||||
<a class="links-plus-link" href="{url}" title="{title}" target="_blank" rel="noopener">
|
||||
<img class="links-plus-avatar" src="{image}" alt="{name}" width="{size}" height="{size}" loading="lazy" />
|
||||
<span class="links-plus-name">{name}</span>
|
||||
</a>
|
||||
</li>
|
||||
Reference in New Issue
Block a user