change tutorial anchor long content style

This commit is contained in:
Gitshaoxiang
2020-04-01 17:47:07 +08:00
parent 3f17db8f75
commit 8e2df63afc
2 changed files with 7 additions and 13 deletions
+6 -12
View File
@@ -28,9 +28,8 @@ img {
}
.markdown-section {
max-width: 80%;
max-width: 75%;
margin-top: 50px;
padding: 2rem 10px 2rem 60px;
}
.markdown-section a {
@@ -337,7 +336,7 @@ div.card-img-overlay:hover {
}
.product_page {
margin-left: 110px;
margin-left: 60px;
margin-top: 100px
}
@@ -828,7 +827,7 @@ mark {
.anchor-box {
position: fixed;
top: 30%;
left: 25px;
left: 50px;
display: -webkit-flex;
display: flex;
flex-direction: column;
@@ -906,25 +905,20 @@ mark {
@media screen and (max-width:1580px) {
.anchor-box {
left: 10px
left: 30px
}
}
@media screen and (max-width:1445px) {
.anchor-box {
left: -10px
}
}
@media screen and (max-width:1260px) {
.anchor-box {
left: -35px
left: 0px
}
}
@media screen and (max-width:1000px) {
.anchor-box {
left: -60px
left: -30px
}
}
+1 -1
View File
@@ -389,7 +389,7 @@
})
}
}else if((page_url.indexOf(/uiflow/) != -1)||(page_url.indexOf(/arduino/) != -1)||(page_url.indexOf(/quick_start/) != -1)){
$(".anchor-box").append(Part_A+quickstart_icon+'<marquee scrollamount="2" behavior="alternate"><span style="line-height: 35px;">'+anchor_name.toUpperCase()+'</span></marquee></a>');
$(".anchor-box").append(Part_A+quickstart_icon+'<span style="line-height: 35px;" title=\''+anchor_name.toUpperCase()+'\'>'+anchor_name.toUpperCase()+'</span></a>');
}
}
function anchor_search(purchase_link="none",quickstart_link="none"){