Skip to content

Commit 1a106fe

Browse files
committed
add language attribute to HTML tags and clean up CSS styles
1 parent 6030f90 commit 1a106fe

10 files changed

+11
-24
lines changed

examples/arNFT_event_example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft event example showing a simple red cube</title>
6-
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=1" />
6+
<meta name="viewport" content="widtha si=device-width, initial-scale=1, minimum-scale=0.5, maximum-scale=1" />
77
<link rel="stylesheet" href="css/nft-style.css" />
88
</head>
99

examples/arNFT_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft example showing a simple red cube</title>

examples/arNFT_gltf_brave_robot_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft example with a gltf model</title>

examples/arNFT_gltf_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft example with a gltf model</title>

examples/arNFT_image_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft example showing an image</title>

examples/arNFT_multi_dispose_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft multi example showing some simple meshes</title>

examples/arNFT_multi_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft multi example showing some simple meshes</title>

examples/arNFT_multi_one_worker_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft example showing a simple red cube</title>

examples/arNFT_video_example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<title>ARnft example showing a video</title>

examples/css/nft-style.css

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ html {
99
}
1010

1111
#loading {
12-
width: 100%;
1312
position: absolute;
1413
display: flex;
1514
flex-direction: column;
@@ -32,9 +31,7 @@ html {
3231

3332
.ui {
3433
position: fixed;
35-
3634
margin: 0.5rem;
37-
3835
background-color: rgba(255, 255, 255, 0.6);
3936
border-radius: 6px;
4037
}
@@ -53,7 +50,6 @@ html {
5350

5451
.stats-item-title {
5552
margin: 0 0 0.25rem;
56-
5753
font-size: 0.75rem;
5854
}
5955

@@ -67,7 +63,6 @@ html {
6763
z-index: 200;
6864
margin: 0.5rem;
6965
padding: 0.25rem 0.5rem;
70-
7166
font-size: 0.75rem;
7267
color: inherit;
7368
text-decoration: none;
@@ -85,14 +80,11 @@ html {
8580
border-radius: 6px;
8681
z-index: 200;
8782
width: 100px;
88-
margin: 10px;
89-
margin-left: auto;
83+
margin: 10px auto;
9084
text-align: center;
9185
line-height: 75px;
9286
font-size: 0.8em;
93-
9487
text-decoration: none;
95-
9688
cursor: pointer;
9789
}
9890

@@ -102,20 +94,17 @@ html {
10294
z-index: 200;
10395
margin: 0.5rem;
10496
padding: 0.25rem 0.5rem;
105-
10697
font-size: 0.75rem;
10798
color: red;
10899
background-color: rgba(210, 30, 0, 0);
109100
text-decoration: none;
110-
111101
cursor: pointer;
112102
}
113103

114104
#app {
115105
position: fixed;
116106
top: 0;
117107
left: 0;
118-
119108
width: 100%;
120109
height: 100%;
121110
}
@@ -124,7 +113,6 @@ html {
124113
position: absolute;
125114
top: 0;
126115
left: 0;
127-
128116
display: block;
129117
width: 100% !important;
130118
height: 100% !important;
@@ -136,7 +124,6 @@ html {
136124
left: 0;
137125
top: 0;
138126
z-index: 100;
139-
140127
display: block;
141128
width: 100% !important;
142129
height: 100% !important;

0 commit comments

Comments
 (0)