Author

Topic: [css][stylus] I need help with this (Read 574 times)

sr. member
Activity: 338
Merit: 337
June 08, 2020, 01:09:10 PM
#6

There is a pseudo-element to select first line (:first-line) [ td.poster_info > :first-line ]
unfortunately there are limited properties work with The ::first-line pseudo-element I think there is no solution but to use JavaScript..
So I need Lock this topic., thank you all
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
June 03, 2020, 07:02:29 AM
#5
If you can use both JavaScript and Regex, you could use Regex to find exact position of member ranks, so you can get member ranks of the poster or even add CSS style within it (since you know start/end position of the member ranks).

Example with badly written regex.

Code:
([A-Za-z ]+)


I tested it on

Code:
Member

Hero Member

legendary
Activity: 1708
Merit: 1280
Top Crypto Casino
June 03, 2020, 05:48:50 AM
#4
<…>
The forum does not have an API, so that’s a dead end. Additionally, the referenced unofficial one dates back from 2013, and the user that created it has been inactive on the forum for over 2 years. Being the (unofficial) API site down, there not way that that is going to be of any use really.

Thank you for clarification it gives me an idea too.
legendary
Activity: 2338
Merit: 10802
There are lies, damned lies and statistics. MTwain
June 03, 2020, 05:46:33 AM
#3
<…>
The forum does not have an API, so that’s a dead end. Additionally, the referenced unofficial one dates back from 2013, and the user that created it has been inactive on the forum for over 2 years. Being the (unofficial) API site down, there not way that that is going to be of any use really.
legendary
Activity: 1708
Merit: 1280
Top Crypto Casino
June 03, 2020, 05:39:03 AM
#2
I think you should use the API of the bitcointalk forum because it is hardcoded if you use the CSS and HTML only.
The only API that i found on the platform are [C# / .NET] Unofficial Bitcointalk API - Get info from boards, topics and posts & Unofficial Bitcoin Talk Forums API
sr. member
Activity: 338
Merit: 337
June 03, 2020, 04:28:30 AM
#1
During the past days I have been experimenting with changing the theme of the forum(stylus) only using CSS for learn
I encountered some problems, for example i can't Access and control Member ranks ( Newbie, Jr. Member, Member... ) Because of that Member ranks, Activity.. in html elements as a text nodes..

Does anyone have a suggestion to make this possible using css only  without using javascript ? Smiley

poster info html It seems like
Code:

    Member

    
    
    


    Activity: 131

    Merit: 79

    Posts: 131




Screenshot to show what I want to do
 
Jump to:
© 2020, Bitcointalksearch.org