Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93148886
CelerityLargeFontPostprocessor.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 26, 14:12
Size
678 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 14:12 (2 d)
Engine
blob
Format
Raw Data
Handle
22584331
Attached To
rPH Phabricator
CelerityLargeFontPostprocessor.php
View Options
<?php
final
class
CelerityLargeFontPostprocessor
extends
CelerityPostprocessor
{
public
function
getPostprocessorKey
()
{
return
'fontsizeplusone'
;
}
public
function
getPostprocessorName
()
{
return
pht
(
'Use Larger Font Size'
);
}
public
function
buildVariables
()
{
return
array
(
'basefont'
=>
"14px 'Segoe UI', 'Segoe UI Web Regular', "
.
"'Segoe UI Symbol', 'Lato', 'Helvetica Neue', Helvetica, "
.
"Arial, sans-serif"
,
// Font Sizes
'biggestfontsize'
=>
'16px'
,
'biggerfontsize'
=>
'15px'
,
'normalfontsize'
=>
'14px'
,
'smallerfontsize'
=>
'13px'
,
'smallestfontsize'
=>
'12px'
,
);
}
}
Event Timeline
Log In to Comment