thumbnail of new counter.png
thumbnail of new counter.png
new counter png
(140.29 KB, 821x774)
thumbnail of markedPost not counted.png
thumbnail of markedPost not counted.png
markedPost not... png
(121.53 KB, 713x774)
thumbnail of solution.png
thumbnail of solution.png
solution png
(122.65 KB, 713x774)
I corrected post counter a little. Posts should be counted from first reply. Bump limit is 500 replies, lock is 1000, this is how they are displayed in catalog. OP shouldn't be counted, or should be 0. Counting .innerPost elements to avoid placing counter on OP post sounds like a good idea until it turns into .markedPost when you select it, but only after refreshing the page or coming from another thread. Whatever, Lynxchan is such a shitware.

Solution
counter-reset: postnum -1 turns OP counter into 1-1=0. Styling .linkQuote keeps counter numbers clickable for quoting purpose, styling .linkSelf ("No." part) makes them usable as jump anchors. Additionally new style does not interfere with manual quoting in case someone's (me) visiting this board without JavaScript and tries to select post numbers as opposed to how hard it is to perform with previous style.

.opCell {
counter-reset: postnum -1;
}
.linkQuote:before {
font-weight:bold;
counter-increment:postnum 1;
content:counter(postnum);
border-radius:4px;
background-color:#d6dbbb;
padding-left:2px;
padding-right:2px;
margin-left:2px;
margin-top:1px;
border:1px solid green;
float:left;
}


I know it looks ridiculous, I have no sense of aesthetics whatsoever. If you like none of it, add -1 at the end of counter-reset: postnum  to fix just the counter.