👷 🐛 Add widgets content.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@if $reading_progress_enable {
|
||||
.reading-progress-bar {
|
||||
--progress: 0;
|
||||
background: convert($reading_progress_color);
|
||||
height: convert($reading_progress_height);
|
||||
background: $reading_progress_color;
|
||||
height: $reading_progress_height;
|
||||
position: fixed;
|
||||
z-index: $zindex-5;
|
||||
|
||||
|
||||
@@ -3,22 +3,31 @@
|
||||
border-bottom: 0;
|
||||
position: fixed;
|
||||
top: -10px;
|
||||
|
||||
transition: top .3s;
|
||||
@include sidebar-toggle-position(true);
|
||||
-moz-transition:top .3s;
|
||||
-webkit-transition:top .3s;
|
||||
-o-transition:top .3s;
|
||||
|
||||
@if not $github_banner_enable {
|
||||
@include sidebar-toggle-position(true);
|
||||
} @else {
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
@include tablet-mobile() {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&::before {
|
||||
color: convert($bookmark_color);
|
||||
color: $bookmark_color;
|
||||
font-size: 32px;
|
||||
line-height: 1;
|
||||
@include font-family-icons('\f02e');
|
||||
}
|
||||
}
|
||||
|
||||
.book-mark-link:hover, .book-mark-link-fixed {
|
||||
top: -2px;
|
||||
&:hover {
|
||||
top: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@if $pdf_enable {
|
||||
.pdfobject-container {
|
||||
iframe, embed {
|
||||
height: convert($pdf_height);
|
||||
height: $pdf_height;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,9 +125,7 @@
|
||||
}
|
||||
|
||||
@mixin sidebar-toggle-position($reverse) {
|
||||
// TODO how use nth function.
|
||||
//$alignment : list.nth(sidebar-toggle-alignment($reverse), 0);
|
||||
$alignment : 0;
|
||||
$alignment : nth(sidebar-toggle-alignment($reverse), 1);
|
||||
#{$alignment}: $b2t-position-right;
|
||||
@include tablet-mobile() {
|
||||
#{$alignment}: $b2t-position-right-mobile;
|
||||
|
||||
Reference in New Issue
Block a user