Skip to content

Commit e77da82

Browse files
committed
Caution with css and html
1 parent 84e33a0 commit e77da82

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

assets/css/style.scss

+26
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,29 @@
108108
}
109109
}
110110

111+
.alert {
112+
padding: 15px;
113+
margin-bottom: 20px;
114+
border: 1px solid transparent;
115+
border-radius: 4px;
116+
}
117+
.alert-caution {
118+
color: #856404;
119+
background-color: #fff3cd;
120+
border-color: #ffeeba;
121+
}
122+
.alert-info {
123+
color: #0c5460;
124+
background-color: #d1ecf1;
125+
border-color: #bee5eb;
126+
}
127+
.alert-success {
128+
color: #155724;
129+
background-color: #d4edda;
130+
border-color: #c3e6cb;
131+
}
132+
.alert-danger {
133+
color: #721c24;
134+
background-color: #f8d7da;
135+
border-color: #f5c6cb;
136+
}

index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ on your MCU.
2424

2525
### Install
2626

27-
> [!CAUTION]
28-
> Installing MicroPython will erase everything in the the MCU flash chip.
27+
<div class="alert alert-danger">
28+
<strong>Caution:</strong>Installing MicroPython will erase everything in the the MCU flash chip.
29+
</div>
2930

3031
After completing the pre-install checklist above,
3132
select a build for a generic board with your flash and RAM size, or for a specific board:

0 commit comments

Comments
 (0)