This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
/
popup.html
125 lines (116 loc) · 2.18 KB
/
popup.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
<html>
<head>
<title>Huruf</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<style>
html, body{
width: 200px;
background-color: #efefef;
color: #222;
margin: 0;
padding: 0;
font-family: "Helvetica Neue";
}
#size, #height{
width: 70%;
text-align: center;
}
header {
background-color: #3a7295;
color: #efefef;
padding: 20px;
text-align: center;
font-family: "Droid Arabic Naskh";
font-size: 2.7em;
}
div[role="main"]{
margin: 0,auto;
padding: 5px;
text-align: center;
}
footer {
color: #999;
text-align: center;
font-size: .8em;
}
hr {
border: none;
border-bottom: solid 1px #aaa;
}
a {
color: #3a7295;
text-decoration: none;
}
a:hover, a:active {
text-decoration: underline;
}
td {
font-weight: 300;
}
input[type=range]{
-webkit-appearance: none;
margin-bottom: 10px;
}
input[type=range]::-webkit-slider-runnable-track {
width: 300px;
height: 5px;
background: #ddd;
border: none;
border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: #999;
margin-top: -6px;
}
input[type=range]:focus {
outline: none;
}
table {
border: none;
width: 80%;
margin: 12px auto;
border-bottom: solid 1px #ccc;
}
.label {
text-align: left;
}
.value {
text-align: right;
}
</style>
</head>
<body>
<header>
<bdi dir="rtl" lang="ar">حروف</bdi>
</header>
<div role="main">
<table>
<tr>
<td class="label">Font Size:</td>
<td class="value" id="sizeValue"></td>
</tr>
</table>
<input type="range" name="size" min="100" max="150" id="size"/>
<br>
<br>
<table>
<tr>
<td class="label">Line Height:</td>
<td class="value" id="heightValue"></td>
</tr>
</table>
<input type="range" name="height" min="100" max="150" id="height"/>
<br>
</div>
<!-- <hr /> -->
<footer>
<p>Made with <3 by <a target="_blank" href="https://github.com/jopetty">Jackson Petty</a></p>
</footer>
<script src="options.js"></script>
</body>
</html>