Remove the style of span.exturl

This commit is contained in:
Mimi 2020-12-06 00:58:54 +08:00
parent 8f56e35f44
commit 8b3cd82c0d
14 changed files with 16 additions and 18 deletions

View File

@ -98,7 +98,7 @@ $ cd hexo-site
$ npm install hexo-theme-next@latest $ npm install hexo-theme-next@latest
``` ```
Or update to latest master branch: Or update to the latest master branch:
```sh ```sh
$ cd themes/next $ cd themes/next

View File

@ -98,7 +98,7 @@ $ cd hexo-site
$ npm install hexo-theme-next@latest $ npm install hexo-theme-next@latest
``` ```
Or update to latest master branch: Or update to the latest master branch:
```sh ```sh
$ cd themes/next $ cd themes/next

View File

@ -85,7 +85,7 @@
.post-title { .post-title {
display: inline; display: inline;
a, span.exturl { a {
border-bottom: 0; border-bottom: 0;
color: var(--link-color); color: var(--link-color);
} }

View File

@ -20,7 +20,7 @@
} }
} }
a, span.exturl { a {
border-bottom: 0; border-bottom: 0;
display: block; display: block;
font-size: $font-size-smaller; font-size: $font-size-smaller;

View File

@ -1,5 +1,5 @@
.links-of-author { .links-of-author {
a, span.exturl { a {
font-size: $font-size-smaller; font-size: $font-size-smaller;
} }

View File

@ -35,11 +35,9 @@ p {
margin: 0 0 20px; margin: 0 0 20px;
} }
a, span.exturl { a {
border-bottom: 1px solid $link-decoration-color; border-bottom: 1px solid $link-decoration-color;
color: var(--link-color); color: var(--link-color);
// For spanned external links.
cursor: pointer;
outline: 0; outline: 0;
text-decoration: none; text-decoration: none;
word-wrap(); word-wrap();

View File

@ -77,7 +77,7 @@
border-color: $note-modern-border[$type]; border-color: $note-modern-border[$type];
color: $note-modern-text[$type]; color: $note-modern-text[$type];
a, span.exturl { a {
&:not(.btn) { &:not(.btn) {
border-bottom-color: $note-modern-text[$type]; border-bottom-color: $note-modern-text[$type];
color: $note-modern-text[$type]; color: $note-modern-text[$type];

View File

@ -70,7 +70,7 @@ disable-user-select() {
sidebar-inline-links-item() { sidebar-inline-links-item() {
margin: 5px 0 0; margin: 5px 0 0;
a, span.exturl { a {
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
max-width: 100%; max-width: 100%;

View File

@ -18,7 +18,7 @@
margin-top: 5px; margin-top: 5px;
} }
a, span.exturl { a {
border-radius: 2px; border-radius: 2px;
padding: 0 10px; padding: 0 10px;
transition-property: background; transition-property: background;

View File

@ -16,7 +16,7 @@
margin: 0 10px; margin: 0 10px;
} }
a, span.exturl { a {
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
+mobile() { +mobile() {

View File

@ -40,7 +40,7 @@ if (hexo-config('sidebar.position') == 'right') {
width: $sidebar-desktop; width: $sidebar-desktop;
z-index: $zindex-2; z-index: $zindex-2;
a, span.exturl { a {
border-bottom-color: $black-light; border-bottom-color: $black-light;
color: $grey-dark; color: $grey-dark;
@ -56,7 +56,7 @@ if (hexo-config('sidebar.position') == 'right') {
margin-top: 15px; margin-top: 15px;
} }
a, span.exturl { a {
border-bottom-color: $black-light; border-bottom-color: $black-light;
display: inline-block; display: inline-block;
margin-bottom: 10px; margin-bottom: 10px;
@ -83,7 +83,7 @@ if (hexo-config('sidebar.position') == 'right') {
} }
padding: 2px 10px; padding: 2px 10px;
a, span.exturl { a {
box-sizing: border-box; box-sizing: border-box;
display: inline-block; display: inline-block;
max-width: 280px; max-width: 280px;

View File

@ -8,7 +8,7 @@
display: block; display: block;
margin: 0; margin: 0;
a, span.exturl { a {
padding: 5px 20px; padding: 5px 20px;
position: relative; position: relative;
text-align: left; text-align: left;

View File

@ -62,7 +62,7 @@
width: 50%; width: 50%;
} }
a, span.exturl { a {
border-bottom: 0; border-bottom: 0;
border-radius: 4px; border-radius: 4px;
display: block; display: block;

View File

@ -5,7 +5,7 @@
.menu-item { .menu-item {
display: inline-block; display: inline-block;
a, span.exturl { a {
background: transparent; background: transparent;
margin: 5px 10px; margin: 5px 10px;
padding: initial; padding: initial;