Skip to content

Commit 2300eba

Browse files
committed
test callouts
1 parent 0327dd7 commit 2300eba

File tree

2 files changed

+36
-5
lines changed

2 files changed

+36
-5
lines changed

manual/40-callouts.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
# Test 123
22

3+
<div class="test">
4+
<p>Image with Dark Overlay</p>
5+
</div>
6+
<div class="test2">
7+
<p>Text with some translucent background thing</p>
8+
</div>
9+
<div class="test3">
10+
<p>Floor Fade Test</p>
11+
</div>
312

4-
| <object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |<object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |<object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |<object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |
13+
14+
| <div class="image-container"> <object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> <div class="text-bubble"> This is a hex bubble! </div> </div> |<object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |<object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |<object class="hardware_svg"> ![Micron_Hexagon](https://github.com/user-attachments/assets/8a5c4950-479c-495c-a214-503d3d23a65d) </object> |
515
| --- | --- | --- | --- |
616
| **Test 123** | **Test 456** | **Test 789** | **Test ABC**|
717
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec auctor a mauris non pellentesque. Donec commodo libero risus, iaculis condimentum odio accumsan eu. | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec auctor a mauris non pellentesque. Donec commodo libero risus, iaculis condimentum odio accumsan eu. | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec auctor a mauris non pellentesque. Donec commodo libero risus, iaculis condimentum odio accumsan eu. | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec auctor a mauris non pellentesque. Donec commodo libero risus, iaculis condimentum odio accumsan eu. | Metric fastener with a cone shaped head and a flat top. | Metric fastener with a cylindrical head and hex drive. The most common fastener used on the Voron. |

manual/tool/template/screen.css

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,34 @@ table thead tr {
218218

219219
}
220220

221-
.hardware_svg {
222-
width: 50%; /* Scale the image to 50% of its container's width */
223-
height: auto; /* Maintain the aspect ratio */
221+
.image-container {
222+
position: relative;
223+
display: inline-block;
224+
}
225+
226+
.hardware_svg {
227+
width: 100%; /* Adjust as needed */
228+
height: auto;
224229
fill: #54AB3D;
225230
stroke: #008cff;
226231
color: var(--accent)
227-
}
232+
}
233+
234+
.text-bubble {
235+
background-color: rgba(0, 0, 0, 0.8);
236+
color: white;
237+
padding: 12px 20px;
238+
font-size: 14px;
239+
white-space: nowrap;
240+
text-align: center;
241+
242+
/* Hexagonal Shape */
243+
clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
244+
width: 200px; /* Adjust width as needed */
245+
position: absolute;
246+
top: 50px; /* Adjust position */
247+
left: 100px; /* Adjust position */
248+
}
228249

229250
.icon {
230251
width: 20%; /* Scale the image to 50% of its container's width */

0 commit comments

Comments
 (0)