View Single Post
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 07-23-2018 , 12:21   Re: [CS:GO PANORAMA] \t and size on PrintHintText
Reply With Quote #9

Quote:
Originally Posted by hmmmmm View Post
List of supported HTML tags in Panorama panels (some may not work in hint text):
Code:
<br>
<i>
<img>
<em>
<p>
<strong>
<li>
<span>
<h1>
<h2>
<font>
<child>
<pre>
<panel>
<a>
<b>
To change font and/or size you can use <span class='XXX'> like SHUFEN mentioned. For a list of valid classes you can use, check the panorama code in code.pbin. The styles available to you in hinttext are found in csgostyles.css and hudhinttext.css.

The most interesting ones are the font size ones, I'll list them here for convenience:
Code:
fontSize-xs - 8px
fontSize-s - 12px
fontSize-sm - 16px
fontSize-m - 18px
fontSize-l - 24px
fontSize-xl - 32px
fontSize-xxl - 40px


Found fontWeight but doesn't seem to work.

Tried this for example
Code:
<span class='fontWeight-Bold'> and <span class='fontWeight-light'>
Proz is offline