You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+29-27Lines changed: 29 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -15,61 +15,58 @@
15
15
padding:0;
16
16
box-sizing: border-box;
17
17
}
18
-
19
18
body {
20
19
font-family:'Arial', sans-serif;
21
20
line-height:1.6;
22
21
color:#333;
23
22
background-color:#f4f4f9;
24
23
}
25
-
26
24
.container {
27
25
max-width:800px;
28
26
margin:0 auto;
29
27
padding:020px;
30
28
}
31
-
32
29
/* Header Styles */
33
30
header {
34
31
background-color:#2c3e50;
35
32
color: white;
36
33
text-align: center;
37
34
padding:3rem0;
38
35
}
39
-
40
36
headerh1 {
41
37
font-size:2.5rem;
42
38
margin-bottom:0.5rem;
43
39
}
44
-
45
40
headerp {
46
41
font-size:1.2rem;
47
42
opacity:0.9;
48
43
}
49
-
50
44
/* Main Section */
51
45
.installer-section {
52
46
padding:3rem0;
53
47
text-align: center;
54
48
}
55
-
56
49
.installer-sectionh2 {
57
50
font-size:2rem;
58
51
margin-bottom:1rem;
59
52
color:#2c3e50;
60
53
}
61
-
62
54
.installer-sectionp {
63
55
max-width:600px;
64
56
margin:0 auto 1.5rem;
65
57
color:#555;
66
58
}
67
-
59
+
.device-selection {
60
+
margin:1.5rem0;
61
+
}
62
+
.device-selectionlabel {
63
+
margin:01rem;
64
+
font-size:1.1rem;
65
+
}
68
66
esp-web-install-button {
69
67
display: inline-block;
70
68
margin:1.5rem0;
71
69
}
72
-
73
70
.instructions {
74
71
margin-top:2rem;
75
72
text-align: left;
@@ -78,64 +75,56 @@
78
75
border-radius:8px;
79
76
box-shadow:02px4pxrgba(0,0,0,0.1);
80
77
}
81
-
82
78
.instructionsh3 {
83
79
font-size:1.5rem;
84
80
margin-bottom:1rem;
85
81
color:#2c3e50;
86
82
}
87
-
88
83
.instructionsol {
89
84
padding-left:1.5rem;
90
85
margin-bottom:1rem;
91
86
}
92
-
93
87
.instructionsli {
94
88
margin-bottom:0.5rem;
95
89
}
96
-
97
90
.instructionsp {
98
91
color:#555;
99
92
}
100
-
101
93
/* Footer Styles */
102
94
footer {
103
95
background-color:#2c3e50;
104
96
color: white;
105
97
text-align: center;
106
98
padding:1.5rem0;
107
99
}
108
-
109
100
footerp {
110
101
margin-bottom:0.5rem;
111
102
}
112
-
113
103
footera {
114
104
color:#1abc9c;
115
105
text-decoration: none;
116
106
}
117
-
118
107
footera:hover {
119
108
text-decoration: underline;
120
109
}
121
-
122
110
/* Responsive Design */
123
111
@media (max-width:600px) {
124
112
headerh1 {
125
113
font-size:2rem;
126
114
}
127
-
128
115
headerp {
129
116
font-size:1rem;
130
117
}
131
-
132
118
.installer-sectionh2 {
133
119
font-size:1.5rem;
134
120
}
135
-
136
121
.container {
137
122
padding:015px;
138
123
}
124
+
.device-selectionlabel {
125
+
display: block;
126
+
margin:0.5rem0;
127
+
}
139
128
}
140
129
</style>
141
130
</head>
@@ -146,35 +135,48 @@ <h1>MicroPythonOS</h1>
146
135
<p>Effortlessly install MicroPythonOS on your microcontroller.</p>
147
136
</div>
148
137
</header>
149
-
150
138
<main>
151
139
<sectionclass="installer-section">
152
140
<divclass="container">
153
141
<h2>Install MicroPythonOS</h2>
154
142
<p>Click the button below to flash MicroPythonOS firmware onto your ESP device using WebSerial. Ensure your device is connected via USB and you're using a supported browser (e.g., Chrome or Edge).</p>
155
143
<p>Don't have a device yet? Buy a supported one, like the <ahref="https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-2">Waveshare ESP32-S3-Touch-LCD-2</a>. Or check out <ahref="https://docs.micropythonos.com">the docs</a> to see how you can run it on your desktop PC.</p>
0 commit comments