mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 04:35:28 +08:00
Update the style of notes
This commit is contained in:
@@ -1,12 +1,24 @@
|
|||||||
.admonition-title {
|
.important .admonition-title, .attention .admonition-title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note .admonition-title {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
|
background: #6ab0de;
|
||||||
|
color: #FFF;
|
||||||
|
display: block;
|
||||||
|
margin: -12px;
|
||||||
|
margin-bottom: 10px !important;
|
||||||
|
padding: 6px 12px;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.admonition p{
|
.admonition p{
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.important, .note, .attention {
|
.important, .attention {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
@@ -24,6 +36,12 @@
|
|||||||
border: 2px solid #E0B3B3;
|
border: 2px solid #E0B3B3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.important {
|
.note {
|
||||||
background: #dbfaf4;
|
display: block;
|
||||||
|
padding: 12px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
color: #444;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #E7F2FA;
|
||||||
|
border: 2px solid #6AB0DE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user