Skip to content

Commit c6bceef

Browse files
authored
Adjusting alert CSS (#61)
Enlarging title Adding icons: * πŸ“ Note * πŸ’‘ Tip * ❓ Warning Indenting entire alert, 10% Example: ![IMG_4436](https://github.com/user-attachments/assets/fe741d85-7a74-4d9f-9717-648a392f96e7)
1 parent ff067f0 commit c6bceef

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

β€Žepub/stylesheet.css

+46-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
/* wrap long lines of code */
12
pre, code {
23
white-space: pre-wrap !important;
3-
}
4+
}
5+
6+
7+
/* for all alerts */
8+
.title {
9+
font-weight: bold;
10+
font-size: 150%;
11+
margin-left: 10%;
12+
}
13+
14+
15+
/* for notes */
16+
.note::before {
17+
content: "πŸ“";
18+
float: left;
19+
font-size: 150%;
20+
}
21+
22+
.note {
23+
margin-left: 10%;
24+
}
25+
26+
27+
/* for tips */
28+
.tip::before {
29+
content: "πŸ’‘";
30+
float: left;
31+
font-size: 150%;
32+
}
33+
34+
.tip {
35+
margin-left: 10%;
36+
}
37+
38+
39+
/* for warnings */
40+
.warning::before {
41+
content: "❓";
42+
float: left;
43+
font-size: 150%;
44+
}
45+
46+
.warning {
47+
margin-left: 10%;
48+
}

0 commit comments

Comments
Β (0)