-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (111 loc) · 5.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="rgba(252, 70, 107, 1)" />
<link rel="apple-touch-icon" sizes="180x180" href="favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon_io/favicon-16x16.png">
<link rel="manifest" href="favicon_io/site.webmanifest">
<title>Assignment Maker</title>
<link href="https://unpkg.com/boxicons@2.0.9/css/boxicons.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css" />
<style>
@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");
:root {
--font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto,
"Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";
--sliderHeight: 25px;
}
body {
font-family: "Ubuntu", sans-serif;
background-image: url(bg.jpg);
}
</style>
</head>
<body>
<div class="body">
<main>
<nav id="nav">
<div>
<h2 class="cname">Assignment Maker By Gaurav Tripathi</h2>
</div>
<div class="switch">
<input type="color" name="color input" id="inputColor" value="#2424fb" title="Ink color"
style="vertical-align: middle" />
<i class="bx bx-cog bx-md bx-spin" id="changeMode" title="Change mode"></i>
</div>
</nav>
<div class="input">
<textarea name="inputText" id="inputText" placeholder="Enter the text you want to written in paper ..."
title="Write the text here"></textarea>
</div>
<div class="options">
<div class="buttons">
<input type="button" value="Upload Page" id="UploadPage" />
<input type="button" value="Default Page" id="DefaultPage" />
<input type="button" value="Change Font" id="ChangeFont" />
<input type="button" value="Upload Font" id="UploadFont" />
<input type="button" value="Download Page" id="DownloadPage" />
</div>
<div class="rangev1">
<div class="itm">
<label for="adjustX">Adjust X axis</label>
<input type="range" name="adjustX" id="adjustX" value="28" min="0" max="100" />
</div>
<div class="itm">
<label for="adjustY">Adjust Y axis</label>
<input type="range" name="adjustY" id="adjustY" value="44" min="0" max="100" />
</div>
<div class="itm">
<label for="adjfontSize">Font Size</label>
<input type="range" name="fontSize" id="adjfontSize" value="22" min="12" max="100" />
</div>
<div class="itm">
<label for="adjustWidth">width</label>
<input type="range" name="adjustWidth" id="adjustWidth" value="720" min="50" max="850"
step="0.3" />
</div>
</div>
<div class="rangev2">
<div class="itm">
<label for="adjLetterSpacing">letter-spacing</label>
<input type="range" name="letter-spacing" id="adjLetterSpacing" value="0" min="0" max="15"
step="0.1" />
</div>
<div class="itm">
<label for="adjWordSpacing">word-spacing</label>
<input type="range" name="word-spacing" id="adjWordSpacing" value="0" min="0" max="20"
step="0.1" />
</div>
<div class="itm">
<label for="adjLineHeight">line-height</label>
<input type="range" name="line-height" id="adjLineHeight" value="24" min="16" max="60" />
</div>
</div>
</div>
<div id="page">
<canvas id="canvas" width="793px" height="1123px"></canvas>
</div>
</main>
<footer>
made with
<i class="bx bxs-heart bx-flashing" style="
color: rgb(236, 149, 18);
font-size: 25px;
vertical-align: middle;
"></i>
GAURAV TRIPATHI
<i class="bx bx-md bxl-github" style="vertical-align: middle" id="githubbottom"></i>
</footer>
</div>
<script src="js/script.js"></script>
<script src="js/controls.js"></script>
<script src="js/switch.js"></script>
<script src="js/extend.js"></script>
</body>
</html>