mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
change tutorial anchor long content style
This commit is contained in:
Vendored
+6
-12
@@ -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
@@ -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"){
|
||||
|
||||
Reference in New Issue
Block a user