This commit is contained in:
xaoxuu 2022-10-14 12:52:21 +08:00
parent 608d3c611e
commit a25b1701c5
6 changed files with 13 additions and 18 deletions

View File

@ -12,12 +12,8 @@ a
&:hover &:hover
color: $color-hover color: $color-hover
// md > a p:not([class])
p:not([class]), li:not([class]) text-align: justify
a:not([class])
margin: 0 1px
padding: 2px
text-decoration: underline
hr hr
color: var(--text-meta) color: var(--text-meta)

View File

@ -3,7 +3,6 @@ code
-moz-osx-font-smoothing: auto -moz-osx-font-smoothing: auto
color: var(--text-code) color: var(--text-code)
font-family: $ff-code font-family: $ff-code
word-break: break-all
p>code:not([class]),li>code:not([class]) p>code:not([class]),li>code:not([class])
font-size: 85% font-size: 85%

View File

@ -25,6 +25,8 @@ article.md.content
>p:not([class]) >p:not([class])
text-indent: 'calc(%s * 2)' % $fs-p text-indent: 'calc(%s * 2)' % $fs-p
text-align: justify text-align: justify
a
text-indent: 0
h1,h2,h3,h4,h5,h6 h1,h2,h3,h4,h5,h6
text-align: center text-align: center
>h2:not([class]) >h2:not([class])
@ -134,12 +136,15 @@ article.md
p:not([class]), li:not([class]) p:not([class]), li:not([class])
a:not([class]) a:not([class])
position: relative position: relative
padding: 2px
text-decoration: none text-decoration: none
display: inline-block
line-height: 1.2
&:after &:after
content: '' content: ''
position: absolute position: absolute
border-radius: 2px border-radius: 2px
bottom: 0 bottom: 1px
left: 2px left: 2px
right: 2px right: 2px
height: 1px height: 1px

View File

@ -37,11 +37,4 @@
line-height: 1.5 line-height: 1.5
a:not([class]) a:not([class])
text-decoration: underline text-decoration: underline
font-weight: 500 font-weight: 500
margin: inherit
padding: inherit
&:after
display: none
&:hover
background: inherit
color: $color-hover

View File

@ -81,4 +81,6 @@
display: block display: block
.md.indent .tag-plugin.tabs .tab-content p:not([class]) .md.indent .tag-plugin.tabs .tab-content p:not([class])
text-indent: 'calc(%s * 2)' % $fs-p text-indent: 'calc(%s * 2)' % $fs-p
a
text-indent: 0

View File

@ -88,7 +88,7 @@ const StellarTimeline = {
} }
} }
} }
cell += '<a class="item comments" href="' + item.html_url + '">'; cell += '<a class="item comments" href="' + item.html_url + '" target="_blank" rel="external nofollow noopener noreferrer">';
cell += '<span class="key comments">💬</span>'; cell += '<span class="key comments">💬</span>';
cell += '<span class="value comments">' + item.comments + '</span>'; cell += '<span class="value comments">' + item.comments + '</span>';
cell += '</a>'; cell += '</a>';