Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in New advanced BBCode

Forum Index > Core > Announcements > News Archive > New advanced BBCode >

Niet [Adam]'s AvatarNiet [Adam]
Niet [Adam]'s Avatar

This post contains one or more BBCode Errors and cannot be displayed properly.

Error: CSS style error: parse error: failed at `like this - this is a second "style" tag` line: 4 on line 29

If this is your post, please edit it to correct these errors. For now, the post will be shown raw, with no BBCode processing.

[style] .test .acclike { box-shadow: none; .acc_head { box-shadow: none; color: white; background: #400040; } .acc_body { background: white; color: black; box-shadow: none; } .acc_end { display: none; } } [/style][ ][styleclass=test][display=Test panel]Is it weird colours? This uses a brand new BBCode to give ultimate flexibility![/display][/styleclass] The new BBCode gives you complete control over all styles in your post. This means you can now customise stuff like the [nobbcode][display][/nobbcode] box as shown above. The BBCode is [nobbcode][style]CSS declarations here[/style][/nobbcode]. This is then processed by the LESS CSS compiler, so anything valid in LESS is valid here - so all the LESS functions, nested blocks, all that cool stuff. Only a single [nobbcode][style][/nobbcode] tag is allowed in a post. If you try to put another one in, [style]like this - this is a second "style" tag[/style], it will be ignored. You can also define your own classes in posts. [nobbcode][styleclass=asdf][/nobbcode] will give you a <div class="asdf"> block to limit your styles to specific areas. Please note that because this is an extremely advanced feature, no further instructions will be given - if you can use it, great! If not... sorry! You can also pull in colours from the user's own site skin! The main ones are: @col-bg1 - the main background colour, default light green. @col-bg2 - the "heading" background colour, default brown. @col-bg3 - the "panel" background colour, default grey. @col-fg1 - the main text colour, default dark green. @col-fg2 - the "heading" text colour, default grey. @col-border - the colour used for borders, default dark green. @col-link1 - link colour, default blue. @col-link2 - visited link colour, default purple. @col-link3 - active link colour, default red. Hopefully this should lift any further restriction on decorating your posts however you want, but please keep in mind, it's an advanced feature for advanced tech-savvy users only ;)
Clip from Pokémon anime, re-lined by me
-- OMNOMNOM!
Featured story: Injustice Feedback welcome!
© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page