User Name
Password

Go Back   Planetarion Forums > Planetarion Related Forums > Planetarion Suggestions

Reply
Thread Tools Display Modes
Unread 15 May 2015, 08:58   #1
MrLobster
Commander in Briefs!
 
MrLobster's Avatar
 
Join Date: Dec 2000
Location: UK
Posts: 783
MrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud of
New Skins / Clean up the HTML

Premise
As some of you may remember, I always miss the old skins from PA, and every once in a while I remake them for the current round. They never get used because of "reasons".

Here are a few screens.

https://www.dropbox.com/sh/4gyp3x7vl...HZN3AKQxa?dl=0

The CSS is not the best, as the html is a little backward in places.

The whole PA html needs a clean up and rewrite, some pages follow a "tab_container" class while others just use divs.

I would love to help PA crew to fix design issues, if your interested.

NOTE: the portal redesign was from a while ago so needs an update.

UPDATE #1:

Right then, so I think its in a good enough state that I will release it.

Word of warning, PA HTML is a little hap hazard, so dont expect miracles...

UPDATE #2:
Did a few house cleaning things to ready for the R3 skin, you may need to remove the old version and install again.

Update #3:
95% done on the Round 3 skin
Currently thinking of doing a few R6 skins, cathaar in particular.
Also will do a batch of cleaning up with the current skins, certain places font size go crazy.

installation:

1) Install TamperMonkey from the chrome webstore.

2) select one of the below (or both you can disable/enable at anytime, by clicking the tampermonkey icon)and it should load up the code into tampermonkey (less than 20 lines of code),.

3) You can now view the code to see that it has no spyware,etc, and click install.

4) Refresh the PA page and it should be using the new skin.

Note: If you have problems with the old skin flashing up, then change skin in the pa prefs to text only (you could increase the order that this script occurs too).
__________________
<Kila> WHAT HAVE YOU DONE WITH MY PRECIOUS FORUMS
<Zeyi> 24h forum closure
<Zeyi> all posts recalled

"he's got a proven track record when it comes to showy art composition" - Tommy

<Sigi> Light: can I ask u how many open internet-windows u always have?
<MrLobster|PM> i have 2, the pa page, and the website for naked light pictures
<Ave> both has bad gfx

Last edited by MrLobster; 7 Jun 2015 at 15:18. Reason: update
MrLobster is offline   Reply With Quote
Unread 15 May 2015, 10:12   #2
Mzyxptlk
mz.
Alien Invasion Champion, Submarine Champion, Tiger Punch Champion, Barts Watersports Adventure Champion
 
Join Date: Aug 2005
Posts: 8,587
Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: Clean up the HTML

Until then, you could use a GreaseMonkey script to get rid of all CSS styling:

Code:
for (let s of document.querySelectorAll('style')) { 
    s.parentNode.removeChild(s); 
}
for (let t of document.querySelectorAll('[style]')) { 
    t.removeAttribute('style');
}
Alternatively, use a stylesheet to reset all CSS values to their defaults before loading your stylesheet.
__________________
The outraged poets threw sticks and rocks over the side of the bridge. They were all missing Mary and he felt a contented smug feeling wash over him. He would have given them a coy little wave if the roof hadn't collapsed just then. Mary then found himself in the middle of an understandably shocked family's kitchen table. So he gave them the coy little wave and realized it probably would have been more effective if he hadn't been lying on their turkey.
Mzyxptlk is offline   Reply With Quote
Unread 15 May 2015, 12:25   #3
MrLobster
Commander in Briefs!
 
MrLobster's Avatar
 
Join Date: Dec 2000
Location: UK
Posts: 783
MrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud of
Re: Clean up the HTML

Your code didnt work for me, however I did find tamper monkey code that just removed the "link" to the pa style sheet, then point to my own without needing stylish.

So now i'm redoing the CSS with a fresh canvas.

To use this skin should be as straight forward as downloading tampermonkey, and paste about 10 lines of code.

Still waiting on my hosting though, DNS change and all that.
__________________
<Kila> WHAT HAVE YOU DONE WITH MY PRECIOUS FORUMS
<Zeyi> 24h forum closure
<Zeyi> all posts recalled

"he's got a proven track record when it comes to showy art composition" - Tommy

<Sigi> Light: can I ask u how many open internet-windows u always have?
<MrLobster|PM> i have 2, the pa page, and the website for naked light pictures
<Ave> both has bad gfx
MrLobster is offline   Reply With Quote
Unread 15 May 2015, 13:33   #4
Mzyxptlk
mz.
Alien Invasion Champion, Submarine Champion, Tiger Punch Champion, Barts Watersports Adventure Champion
 
Join Date: Aug 2005
Posts: 8,587
Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.Mzyxptlk has ascended to a higher existance and no longer needs rep points to prove the size of his e-penis.
Re: Clean up the HTML

Oh, sorry, 'let' is still only supported on Firefox. I keep forgetting. Replace 'let' with 'var', and it should work.

Anyway, using TamperMonkey/GreaseMonkey and pasting some Javascript is no easier or harder than using Stylish and pasting some CSS. And TM/GS is less safe to boot, because it can do a whole lot more than just inserting some CSS.
__________________
The outraged poets threw sticks and rocks over the side of the bridge. They were all missing Mary and he felt a contented smug feeling wash over him. He would have given them a coy little wave if the roof hadn't collapsed just then. Mary then found himself in the middle of an understandably shocked family's kitchen table. So he gave them the coy little wave and realized it probably would have been more effective if he hadn't been lying on their turkey.
Mzyxptlk is offline   Reply With Quote
Unread 15 May 2015, 14:04   #5
MrLobster
Commander in Briefs!
 
MrLobster's Avatar
 
Join Date: Dec 2000
Location: UK
Posts: 783
MrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud of
Re: Clean up the HTML

TM is easier for me to host the CSS / images, and I can update+fix if the need arises.

But thanks for the help
__________________
<Kila> WHAT HAVE YOU DONE WITH MY PRECIOUS FORUMS
<Zeyi> 24h forum closure
<Zeyi> all posts recalled

"he's got a proven track record when it comes to showy art composition" - Tommy

<Sigi> Light: can I ask u how many open internet-windows u always have?
<MrLobster|PM> i have 2, the pa page, and the website for naked light pictures
<Ave> both has bad gfx
MrLobster is offline   Reply With Quote
Unread 26 May 2015, 20:49   #6
MrLobster
Commander in Briefs!
 
MrLobster's Avatar
 
Join Date: Dec 2000
Location: UK
Posts: 783
MrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud of
Re: Clean up the HTML

Posy added to the top.
__________________
<Kila> WHAT HAVE YOU DONE WITH MY PRECIOUS FORUMS
<Zeyi> 24h forum closure
<Zeyi> all posts recalled

"he's got a proven track record when it comes to showy art composition" - Tommy

<Sigi> Light: can I ask u how many open internet-windows u always have?
<MrLobster|PM> i have 2, the pa page, and the website for naked light pictures
<Ave> both has bad gfx

Last edited by MrLobster; 28 May 2015 at 17:20.
MrLobster is offline   Reply With Quote
Unread 27 May 2015, 04:08   #7
Blue_Esper
Registered User
 
Join Date: Jan 2010
Posts: 1,038
Blue_Esper is a glorious beacon of lightBlue_Esper is a glorious beacon of lightBlue_Esper is a glorious beacon of lightBlue_Esper is a glorious beacon of lightBlue_Esper is a glorious beacon of lightBlue_Esper is a glorious beacon of light
Re: Clean up the HTML

awesome! thanks heaps!
__________________
Did some stuff, played here n there done just about all there is to do
Blue_Esper is offline   Reply With Quote
Unread 28 May 2015, 17:01   #8
MrLobster
Commander in Briefs!
 
MrLobster's Avatar
 
Join Date: Dec 2000
Location: UK
Posts: 783
MrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud of
Re: Clean up the HTML

Also if anyone wants to they can host it themselfs, I can copy it to a zip file and you just have to modify the script to point to a new location.
__________________
<Kila> WHAT HAVE YOU DONE WITH MY PRECIOUS FORUMS
<Zeyi> 24h forum closure
<Zeyi> all posts recalled

"he's got a proven track record when it comes to showy art composition" - Tommy

<Sigi> Light: can I ask u how many open internet-windows u always have?
<MrLobster|PM> i have 2, the pa page, and the website for naked light pictures
<Ave> both has bad gfx
MrLobster is offline   Reply With Quote
Unread 30 May 2015, 22:19   #9
MrLobster
Commander in Briefs!
 
MrLobster's Avatar
 
Join Date: Dec 2000
Location: UK
Posts: 783
MrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud ofMrLobster has much to be proud of
Re: Clean up the HTML

Update #2
__________________
<Kila> WHAT HAVE YOU DONE WITH MY PRECIOUS FORUMS
<Zeyi> 24h forum closure
<Zeyi> all posts recalled

"he's got a proven track record when it comes to showy art composition" - Tommy

<Sigi> Light: can I ask u how many open internet-windows u always have?
<MrLobster|PM> i have 2, the pa page, and the website for naked light pictures
<Ave> both has bad gfx
MrLobster is offline   Reply With Quote
Unread 26 Jul 2015, 19:01   #10
Zeke
Registered User
 
Zeke's Avatar
 
Join Date: Jun 2004
Location: Germany
Posts: 155
Zeke is on a distinguished road
Re: Clean up the HTML

Awesome!!
Zeke is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Forum Jump


All times are GMT +1. The time now is 12:45.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018