Merge pull request #3970 from jacargentina/notes-highlight

Style target notes for easy visual identification
This commit is contained in:
Dmitriy Zaporozhets 2013-05-29 23:52:12 -07:00
commit 01a8f3886e
1 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,13 @@
/**
* Notes
*/
@-webkit-keyframes target-note {
from { background:#fffff0; }
50% { background:#ffffd3; }
to { background:#fffff0; }
}
ul.notes {
display: block;
list-style: none;
@ -91,6 +98,11 @@ ul.notes {
}
}
.note:target {
-webkit-animation:target-note 2s linear;
background: #fffff0;
}
// paint top or bottom borders depending on notes direction
&:not(.reversed) .note,
&:not(.reversed) .discussion {