The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Quote, Code appearance?

View previous topic View next topic Go down

Solved Quote, Code appearance?

Post by Klonoa on March 19th 2016, 9:04 pm

How to make this:
Spoiler:
Look like this:
Spoiler:
version: phpbb2

thx


Last edited by Klonoa on March 20th 2016, 9:10 pm; edited 1 time in total

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Quote, Code appearance?

Post by SLGray on March 19th 2016, 9:57 pm



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Quote, Code appearance?

Post by Genesis on March 19th 2016, 11:47 pm

You need to be a little more specific. Do you want color for the code or do you want a different color on the top than the bottom?

Genesis
Forum Reviewer
Forum Reviewer

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Solved Re: Quote, Code appearance?

Post by Klonoa on March 20th 2016, 12:16 am

I did try that SL and what it did was nothing basically for some reason, and yes i have my script turned on and etc
@Forumedic i want both the color and border to appear

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Quote, Code appearance?

Post by Ange Tuteur on March 20th 2016, 1:00 am

The support forum uses Google's prettyprint, in case you're looking for the exact result. Here's the repository :
https://github.com/google/code-prettify

FYI It'll need to be actual code for the contents to be colored. Or am I mistaken and you're looking for the same blockquote / code design as the support forum ; not the code contents ?

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Quote, Code appearance?

Post by Klonoa on March 20th 2016, 6:44 pm


I want to spice up the design of it

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Quote, Code appearance?

Post by Ange Tuteur on March 20th 2016, 7:35 pm

Add the following CSS rules to your stylesheet.
Display > Colors > CSS stylesheet
Code:
dl.codebox {
  background:#69C;
  border:2px solid #69C;
  border-radius:3px;
}

dl.codebox dt {
  color:#FFF;
  padding:3px;
}

dl.codebox dd, .spoiler_content {
  color:#666;
  background:#FFF;
  border:none;
  padding:3px;
}
They should give you a similar result. To change the colors simply modify the hexadecimal color values. ( e.g.
Code:
#69C
,
Code:
#FFF
,
Code:
#666
, etc... )

You can use this if you need help with colors : http://www.colorpicker.com/

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Quote, Code appearance?

Post by Klonoa on March 20th 2016, 9:09 pm

Perfect! Thank you as always Smile
Solved

Klonoa
Forumember

Male Posts : 161
Reputation : 5
Language : English, Serbian
Location : Repulika Srpska

http://pokemonworldrpg.pokemonlegend.org/

Back to top Go down

Solved Re: Quote, Code appearance?

Post by APE on March 20th 2016, 9:20 pm

Topic solved and archived





APE
Manager
Manager

Male Posts : 8319
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum