-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
134 lines (119 loc) · 5.39 KB
/
index.html
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HELLO! My name is</title>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="assets/images/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="assets/images/favicon-16x16.png" sizes="16x16" />
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<div class="wrapper">
<div class="options">
<div class="options__left">
<div class="option">
<label for="change-text" class="label" style="color: #218a33; font-weight: 500;">Change Text</label>
<div class="option__inner">
<input type="text" value="" id="change-text" placeholder="Your text here" autofocus onkeypress="updateValue();" onkeydown="updateValue();" oninput="updateValue();">
</div>
</div>
<div class="option">
<label class="label" for="opt-fontfamily">Select Font</label>
<div class="option__inner">
<select name="opt-fontfamily" id="opt-fontfamily" onchange="changeFontFamily()">
<option value="jacksilver">Jacksilver</option>
<option value="a-dripping-marker">A Dripping Marker</option>
<option value="street-wars">Steet Wars</option>
<option value="marsneveneksk">Marsneveneksk</option>
<option value="don-graffiti">Don Graffiti</option>
<option value="the-gunslinger">The Gunslinger</option>
<option value="aftershock">Aftershock</option>
<option value="fat-wandals">Fat Wandals</option>
</select>
</div>
</div>
<div class="option">
<label class="label" for="opt-fontsize">
Font Size
<span class="string-font-size">120 px</span>
</label>
<div class="option__inner">
<input type="range" id="opt-fontsize" min="10" max="260" value="120">
</div>
</div>
<div class="option">
<label class="label" for="opt-offset-y">
Offset Y
<span class="string-offset-y">0 px</span>
</label>
<div class="option__inner">
<input type="range" id="opt-offset-y" min="-40" max="40" value="0">
</div>
</div>
<div class="option">
<label class="label" for="opt-offset-x">
Offset X
<span class="string-offset-x">0 px</span>
</label>
<div class="option__inner">
<input type="range" id="opt-offset-x" min="-40" max="40" value="0">
</div>
</div>
<div class="option">
<label class="label" for="opt-rotate">
Rotate
<span class="string-rotate">0 deg</span>
</label>
<div class="option__inner">
<input type="range" id="opt-rotate" min="-20" max="20" value="0">
</div>
</div>
<div class="option">
<label class="label" for="letter-spacing">
Letter Spacing
<span class="string-letter-spacing">0 px</span>
</label>
<div class="option__inner">
<input type="range" id="letter-spacing" min="-10" max="10" value="0">
</div>
</div>
<div class="option colors">
<span class="label">BG Colors</span>
<div class="option__inner">
<div class="colors__inner" id="colors-inner">
<span class="color active" id="color-red" onClick="changeCardBG('#ce1920')"></span>
<span class="color" id="color-blue" onClick="changeCardBG('#1e61f9')"></span>
<span class="color" id="color-green" onClick="changeCardBG('#20843e')"></span>
<span class="color" id="color-yellow" onClick="changeCardBG('#ffaa0e')"></span>
<span class="color" id="color-nelson" onClick="changeCardBG('linear-gradient(90deg, rgba(242,112,156,1) 0%, rgba(255,148,114,1) 100%)')"></span>
<span class="color" id="color-reef" onClick="changeCardBG('linear-gradient(90deg, rgba(0,210,255,1) 0%, rgba(58,123,213,1) 100%)')"></span>
<span class="color" id="color-neon" onClick="changeCardBG('linear-gradient(90deg, rgb(190, 189, 236) 0%, rgb(178, 234, 252) 20%, rgb(119, 208, 198) 45%, rgb(249, 238, 238) 74%, rgb(255, 223, 236) 100%)')"></span>
</div>
</div>
</div>
</div>
<div class="options__right">
<div class="option" style="padding: 6px 20px;">
<span class="label">Created by:</span>
<div class="option__inner">
<h4><a href="http://mariospittas.com" target="_blank">Marios</a></h4>
</div>
</div>
</div>
</div>
<div class="card">
<div id="top" class="card__top card__bg">
<h1>HELLO</h1>
<h4>my name is</h4>
</div>
<div class="card__middle">
<h2 class="card__title" id="card-text">Zeko</h2>
</div>
<div id="top" class="card__bottom card__bg"></div>
</div>
</div>
<script src="js/functions.js"></script>
</body>
</html>