-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprettyprecss.php
106 lines (86 loc) · 3.05 KB
/
prettyprecss.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<? header("Content-type: text/css");
if (($_GET['style']=='1') || ($_GET['admin']=='1')) { ?>
pre, .standard { /* Standard pre style */
background: #f3f3f7 !important;
border: 1px solid #dedee3 !important;
padding: 11px !important;
font-size: 12px !important;
line-height: 1.3em !important;
overflow: auto !important;
font-size: <?php echo $_GET['ts']; ?>px !important;
}
<? } if (($_GET['style']=='3') || ($_GET['admin']=='1')) { ?>
pre, .linux { /* Linux Terminal */
background:#000000 !important;
color:#ffffff !important;
padding: 11px !important;
font-size: <?php echo $_GET['ts']; ?>px !important;
}
<? } if (($_GET['style']=='2') || ($_GET['admin']=='1')) { ?>
@font-face { /* Import Press Start 2P Font from Google */
font-family: 'Press Start 2P';
font-style: normal;
font-weight: 400;
src: local('Press Start 2P'), local('PressStart2P-Regular'), url(http://fonts.gstatic.com/s/pressstart2p/v3/8Lg6LX8-ntOHUQnvQ0E7o3dD2UuwsmbX3BOp4SL_VwM.woff) format('woff');
}
pre, .apple { /* Apple IIe */
background:#000000 !important;
color:#67e744 !important;
font-size: <?php echo $_GET['ts']-2; ?>px !important;
font-family: 'Press Start 2P', Arial, serif !important;
font-weight: 50 !important;
padding: 11px !important;
}
<? } if (($_GET['style']=='4') || ($_GET['admin']=='1')) { ?>
@font-face {
font-family: 'Oswald';
font-style: normal;
font-weight: 400;
src: local('Oswald Regular'), local('Oswald-Regular'), url(http://themes.googleusercontent.com/static/fonts/oswald/v8/-g5pDUSRgvxvOl5u-a_WHw.woff) format('woff');
}
pre, .suzette { /* Suzette Terminal */
font-family: 'Oswald', Arial, serif !important;
background:#4b0082 !important;
color:#FF0080 !important;
padding: 11px !important;
font-size: <?php echo $_GET['ts']; ?>px !important;
}
<? } if (($_GET['style']=='5') || ($_GET['admin']=='1')) { ?>
@font-face {
font-family: 'VT323';
font-style: normal;
font-weight: 400;
src: local('VT323'), local('VT323-Regular'), url(http://fonts.gstatic.com/s/vt323/v6/LfMzj2MWAZU6qzlnp1MNbg.woff) format('woff');
}
pre, .dos { /* DOS Terminal */
font-family: 'VT323', Arial, serif !important;
background:#000000 !important;
color:#ffffff !important;
padding: 11px !important;
font-size: <?php echo $_GET['ts']+2; ?>px !important;
}
<? } if (($_GET['style']=='6') || ($_GET['admin']=='1')) { ?>
@font-face {
font-family: 'CSIXFOUR';
src: url(http://prettypre.com/assets/fonts/c64.woff);
}
pre, .commodore { /* Commodore64 Terminal */
font-family: 'CSIXFOUR', Arial, serif !important;
background:#5048b2 !important;
color:#8bcad1 !important;
padding: 11px !important;
font-size: <?php echo $_GET['ts']; ?>px !important;
}
<? } if (($_GET['style']=='7') || ($_GET['admin']=='1')) { ?>
@font-face {
font-family: 'handwritten';
src: url(http://prettypre.com/assets/fonts/VAG-HandWritten-webfont.woff);
}
pre, .hand { /* handwritten */
font-family: 'handwritten', Arial, serif !important;
background:#FFFFFF !important;
color:#333333 !important;
padding: 11px !important;
font-size: <?php echo $_GET['ts']+6; ?>px !important;
}
<? } ?>