mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Use display: flow-root
This commit is contained in:
parent
8e080e7e27
commit
ec2bf48b94
@ -1,6 +1,5 @@
|
|||||||
.reading-progress-bar {
|
.reading-progress-bar {
|
||||||
background: unquote(hexo-config('reading_progress.color'));
|
background: unquote(hexo-config('reading_progress.color'));
|
||||||
display: block;
|
|
||||||
height: unquote(hexo-config('reading_progress.height'));
|
height: unquote(hexo-config('reading_progress.height'));
|
||||||
left: 0;
|
left: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|||||||
@ -65,23 +65,19 @@ kbd {
|
|||||||
figcaption {
|
figcaption {
|
||||||
background: var(--highlight-gutter-background);
|
background: var(--highlight-gutter-background);
|
||||||
color: var(--highlight-foreground);
|
color: var(--highlight-foreground);
|
||||||
display: flex;
|
display: flow-root;
|
||||||
font-size: $table-font-size;
|
font-size: $table-font-size;
|
||||||
justify-content: space-between;
|
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--highlight-foreground);
|
color: var(--highlight-foreground);
|
||||||
|
float: right;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-bottom-color: var(--highlight-foreground);
|
border-bottom-color: var(--highlight-foreground);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a, span {
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.gutter {
|
.gutter {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user