105 lines
1.8 KiB
CSS
105 lines
1.8 KiB
CSS
.table-of-contents {
|
|
margin: 2em 0;
|
|
padding: 1em;
|
|
border: 1px solid var(--outline-color);
|
|
border-radius: 6px;
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
.table-of-contents::before {
|
|
content: "Table of Contents";
|
|
display: block;
|
|
margin-bottom: 0.5em;
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.table-of-contents ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.table-of-contents li {
|
|
position: relative;
|
|
margin: 0.4em 0;
|
|
padding-left: 1.2em;
|
|
}
|
|
.table-of-contents li::before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.table-of-contents a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.custom-block {
|
|
position: relative;
|
|
margin: 1.5em 0;
|
|
padding: 1em 1.25em;
|
|
border-left: 4px solid var(--outline-color);
|
|
border-radius: 6px;
|
|
background-color: var(--background-color);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.custom-block .custom-block-title {
|
|
margin-top: 0;
|
|
margin-bottom: 0.5em;
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.note.custom-block {
|
|
border-color: #2196f3;
|
|
}
|
|
.note .custom-block-title {
|
|
color: #2196f3;
|
|
}
|
|
.note .custom-block-title::before {
|
|
content: "📝 ";
|
|
}
|
|
|
|
.tip.custom-block {
|
|
border-color: #4caf50;
|
|
}
|
|
.tip .custom-block-title::before {
|
|
content: "💡 ";
|
|
}
|
|
.tip .custom-block-title {
|
|
color: #4caf50;
|
|
}
|
|
|
|
.important.custom-block {
|
|
border-color: #e91e63;
|
|
}
|
|
.important .custom-block-title::before {
|
|
content: "❗️ ";
|
|
}
|
|
.important .custom-block-title {
|
|
color: #e91e63;
|
|
}
|
|
|
|
.warning.custom-block {
|
|
border-color: #ff9800;
|
|
}
|
|
.warning .custom-block-title::before {
|
|
content: "⚠️ ";
|
|
}
|
|
.warning .custom-block-title {
|
|
color: #ff9800;
|
|
}
|
|
|
|
.caution.custom-block {
|
|
border-color: #ff5722;
|
|
}
|
|
.caution .custom-block-title::before {
|
|
content: "🔥 ";
|
|
}
|
|
.caution .custom-block-title {
|
|
color: #ff5722;
|
|
}
|