diff --git a/source/less/_header.less b/source/less/_header.less
index 0e9199d..5d413b8 100755
--- a/source/less/_header.less
+++ b/source/less/_header.less
@@ -287,7 +287,7 @@
padding: 8px @gap+6px;
}
position: fixed;
- top: @height_navbar + 2*@gap;
+ top: @height_navbar + @gap;
right: 0;
width: ~"calc(100% - 2*@{gap})";
z-index:9999 + 1;
diff --git a/source/less/_links.less b/source/less/_links.less
index 03f86d3..3823aec 100755
--- a/source/less/_links.less
+++ b/source/less/_links.less
@@ -21,6 +21,10 @@
@media(max-width: @on_phone){
width: 100%;
}
+ &.float-btn{
+ padding: @gap/2;
+ text-align: left;
+ }
&:hover{
text-decoration: none;
box-shadow: @boxshadow_card_raised, 0 32px 64px 0px rgba(0, 0, 0, 0.1);
@@ -40,7 +44,7 @@
}
.friend-right{
flex: 1;
- margin: @gap @gap @gap 0;
+ margin: @gap @gap @gap 6px;
display: flex;
flex-direction: column;
justify-content: space-around;
diff --git a/source/less/_main.less b/source/less/_main.less
index bce0707..0d02293 100755
--- a/source/less/_main.less
+++ b/source/less/_main.less
@@ -193,8 +193,7 @@
margin-bottom: -1.5*@gap;
}
@media(max-width:@on_phone) {
- padding-left: 0;
- padding-right: 0;
+ padding: 0 0 @gap 0;
}
}
.post {
diff --git a/source/less/_toc.less b/source/less/_toc.less
index 7fd64e2..ce38867 100755
--- a/source/less/_toc.less
+++ b/source/less/_toc.less
@@ -47,7 +47,7 @@
@media(max-width: @on_phone){
position: fixed;
width: ~"calc(100% - 2 * @{gap})";
- top: @height_navbar + @gap;
+ top: @height_navbar;
left: @gap;
box-shadow: @boxshadow_card_raised;
display: none;
diff --git a/source/less/_widget.less b/source/less/_widget.less
index 8ccf9d6..0470222 100755
--- a/source/less/_widget.less
+++ b/source/less/_widget.less
@@ -95,6 +95,10 @@
author{
.enable-trans();
+ @media(max-width: @on_phone){
+ box-shadow: none;
+ background: @theme_background;
+ }
h2{
text-align: center;
// color: @color_text_header;