Jump to content
vBWarez - Rest In Peace

change CODE and PHP tags design


Recommended Posts

[B][COLOR="#FF0000"]vB Version: 5.0.0[/COLOR][/B]

New Simple design for CODE and PHP tags

Open css_global.css template

[B][COLOR="#FF0000"]find:[/COLOR][/B]

[CODE].bbcode_container .bbcode_code {
font-family:Courier,'Courier New',Monaco,Monospace;
font-size: {vb:stylevar bbcode_code_fontsize};
background: {vb:stylevar autosuggest_background};
border: 1px solid {vb:stylevar form_dropdown_border_color};
overflow: auto;
padding: 6px;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}[/CODE]

[B][COLOR="#FF0000"]replace it with:[/COLOR][/B]

[CODE].bbcode_container .bbcode_code {
font-family: Courier,'Courier New',Monaco,Monospace;
overflow: auto;
padding: 6px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #8CC8FF;
width: 700px;
max-height: 400px;
font-size: 13px;
background-color: #CDE7FF;
}[/CODE]

[B][COLOR="#FF0000"]then in the same template, find:[/COLOR][/B]

[CODE].bbcode_container .bbcode_description {
margin-top:10px;
}[/CODE]

[B][COLOR="#FF0000"]and replace it with:[/COLOR][/B]

[CODE].bbcode_container .bbcode_description {
margin-top: 10px;
color: #8CC8FF;
padding: 6px;
display: block;
border: 1px solid;
background-color: #CDE7FF;
width: 686px;
font-size: 14px;
font-weight: bold;
}[/CODE]

[B][COLOR="#FF0000"]Done![/COLOR][/B]
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...