1
0
mirror of https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git synced 2025-08-22 20:25:28 +08:00

Update the style of notes

This commit is contained in:
Meow J
2016-07-04 20:19:27 +08:00
parent 48657b2d12
commit b1a436e503

View File

@@ -1,12 +1,24 @@
.admonition-title {
.important .admonition-title, .attention .admonition-title {
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{
margin: auto;
}
.important, .note, .attention {
.important, .attention {
display: block;
margin: 20px;
padding: 15px;
@@ -24,6 +36,12 @@
border: 2px solid #E0B3B3;
}
.important {
background: #dbfaf4;
.note {
display: block;
padding: 12px;
margin-bottom: 24px;
color: #444;
border-radius: 5px;
background-color: #E7F2FA;
border: 2px solid #6AB0DE;
}