-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoptions.html
129 lines (113 loc) · 3.13 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="bootstrap.css" type="text/css" /> <!-- Bootstrap reference -->
<style type="text/css">
:root{
--main-bg-color: #F2F2F2;
}
body {
background-color: var(--main-bg-color);
}
.tg {
border-collapse:collapse;
border-spacing:0;
}
.tg td {
border-color:black;
border-style:solid;
border-width:1px;
font-family:Roboto, sans-serif;
padding: 5px;
font-size:18px;
overflow:hidden;padding:15px 5px;word-break:normal;
}
.tg th {
border-color:black;
border-style:solid;
border-width:1px;
font-family:Roboto, sans-serif;
font-size:18px;
font-weight:normal;
overflow:hidden;
padding:20px 5px;
word-break:normal;
}
.tg .tg-0lax {
text-align:left;
vertical-align:top
}
#t01 th {
background-color: black;
color: white;
}
#t01 tr:nth-child(even) {
background-color: #eee;
}
#t01 tr:nth-child(odd) {
background-color: #fff;
}
button {
color: #494949 !important;
text-decoration: none;
background: #ffffff;
font-size:18px;
padding: 5px;
border: 2px solid #494949 !important;
display: inline-block;
transition: all 0.2s ease 0s;
}
.lightbutton:hover {
color: #000000 !important;
background-color: #A7ACC6;
border-color: #A7ACC6 !important;
transition: all 0.2s ease 0s;
cursor: pointer;
}
.darkbutton:hover {
color: #ffffff !important;
background-color: #000000;
border-color: #000000 !important;
transition: all 0.2s ease 0s;
cursor: pointer;
}
table.center {
margin-left:auto;
margin-right:auto;
}
</style>
</head>
<body>
<div>
<h1 class="featurette-heading" style="text-align:center;">Settings</h1>
</div>
<hr>
<!-- Start Theme Changer Table -->
<table class="tg center" id="t01">
<thead>
<tr>
<th class="tg-0lax" colspan="2" style="text-align:center;">Themes</th>
</tr>
</thead>
<tbody>
<tr>
<td>Light Mode</td>
<td>
<div>
<button id="lightbtn" class="lightbutton">Change to light theme</button>
</div>
</td>
</tr>
<tr>
<td>Dark Mode</td>
<td>
<div>
<button id="darkbtn" class="darkbutton">Change to dark theme</button>
</div>
</td>
</tr>
</tbody>
</table>
</body>
<script src="options.js"></script> <!-- options.js reference -->
</html>