While analyzing games the opening name goes out off the view as moves are played as a result of scrolling. Please make the <div class ="opening_box" title="some opening" >...</div> not to scroll out of the view.
While analyzing games the opening name goes out off the view as moves are played as a result of scrolling. Please make the <div class ="opening_box" title="some opening" >...</div> not to scroll out of the view.
This has been addressed before and somebody came up with a user style for the program "Stylus". The code is here:
.opening_box {
position: sticky;
top: 0;
}
This has been addressed before and somebody came up with a user style for the program "Stylus". The code is here:
.opening_box {
position: sticky;
top: 0;
}
.opening_box {
position:fixed;
z-index: 10000;
bottom: 0;
right: 0;
font-size:20px !important;
font-family:"noto sans" !important;
border: 0 !important;
/* adjust this to your needs: /
/
background: #111 !important;
color: #ccc !important;
*/
}
.opening_box + .tview2.column {
margin-top: 2em !important;
}
.opening_box {
position:fixed;
z-index: 10000;
bottom: 0;
right: 0;
font-size:20px !important;
font-family:"noto sans" !important;
border: 0 !important;
/* adjust this to your needs: */
/*
background: #111 !important;
color: #ccc !important;
*/
}
.opening_box + .tview2.column {
margin-top: 2em !important;
}
#2 Thanks, I imported that CSS at https://userstyles.org/styles/176425/lichess-opening-names
@toadofsky Thanks, Bossman!
@toadofsky Thanks, Bossman!
.analyse__tools .sub-box .title {
position: sticky;
top: 0;
}
this is applying the solution to the opening explorer title (finding the right node from the dom, was a bit tricky, it does not actually appear in the tree, only its columns titles, but in the styles section for these, the first parent has the correct selector, tested.
to the op and all the contributors, i invite you to visit the team sub-forum
https://lichess.org/team/css-javascript-coding-on-lichess
where we try to gather what it scattered about any such questions as that of the op, front-end tweaking, using CSS and or JS for example. We also study, Chrome new override mechanism, as an alternative, or a complement to userstyles and userscripts. But come, view and please help us, you are welcome to join.
Styles modifications are scattered in the forum, some may not apply anymore, some of you have a historical view about this.
Instead of replying on a case by case, it would be nice to have to spot in forum, where we know that if solution has been found, it would probably have an echo there, with links to original posts, or external sources.
.analyse__tools .sub-box .title {
position: sticky;
top: 0;
}
this is applying the solution to the opening explorer title (finding the right node from the dom, was a bit tricky, it does not actually appear in the tree, only its columns titles, but in the styles section for these, the first parent has the correct selector, tested.
to the op and all the contributors, i invite you to visit the team sub-forum
https://lichess.org/team/css-javascript-coding-on-lichess
where we try to gather what it scattered about any such questions as that of the op, front-end tweaking, using CSS and or JS for example. We also study, Chrome new override mechanism, as an alternative, or a complement to userstyles and userscripts. But come, view and please help us, you are welcome to join.
Styles modifications are scattered in the forum, some may not apply anymore, some of you have a historical view about this.
Instead of replying on a case by case, it would be nice to have to spot in forum, where we know that if solution has been found, it would probably have an echo there, with links to original posts, or external sources.
@Toadofsky I think the style i posted in #3 was originally made up by you. Sorry for not giving credit.
@Toadofsky I think the style i posted in #3 was originally made up by you. Sorry for not giving credit.
@Klartext No worries, I just remembered that it looked familiar, although I know I copied it from someone else. :-)
@Klartext No worries, I just remembered that it looked familiar, although I know I copied it from someone else. :-)