-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscript.js
More file actions
96 lines (96 loc) · 2.32 KB
/
script.js
File metadata and controls
96 lines (96 loc) · 2.32 KB
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
function d(){
document.getElementsByClassName("paper")
[0].style.fontFamily = ("Poppins")
}
function a(){
document.getElementsByClassName("paper")
[0].style.fontFamily = ("Arial")
}
function f(){
document.getElementsByClassName("paper")
[0].style.fontFamily = ("Fantasy")
}
function c(){
document.getElementsByClassName("paper")
[0].style.fontFamily = ("Cursive")
}
function p9(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("9px")
}
function p12(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("12px")
}
function p20(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("20px")
}
function p36(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("36px")
}
function p48(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("48px")
}
function p60(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("60px")
}
function p72(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("72px")
}
function p96(){
document.getElementsByClassName("paper")
[0].style.fontSize = ("96px")
}
function bold(){
document.getElementsByClassName("paper")
[0].style.fontWeight = ("bold")
}
function ebold(){
document.getElementsByClassName("paper")
[0].style.fontWeight = ("bolder")
}
function ita(){
document.getElementsByClassName("paper")
[0].style.fontStyle = ("italic")
}
function und(){
document.getElementsByClassName("paper")
[0].style.textDecoration = ("underline")
}
function red(){
document.getElementsByClassName("paper")
[0].style.color = ("red")
}
function blue(){
document.getElementsByClassName("paper")
[0].style.color = ("blue")
}
function green(){
document.getElementsByClassName("paper")
[0].style.color = ("green")
}
function royal(){
document.getElementsByClassName("paper")
[0].style.color = ("#BA55D3")
}
function cen(){
document.getElementsByClassName("paper")
[0].style.textAlign = ("Center")
}
function sta(){
document.getElementsByClassName("paper")
[0].style.textAlign = ("Start")
}
function end(){
document.getElementsByClassName("paper")
[0].style.textAlign = ("End")
}
function jus(){
document.getElementsByClassName("paper")
[0].style.textAlign = ("Justify")
}