diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss index a86384dc2ef1aabae4d041bbf8597305a9f83d2c..9fe7a24b46112644b169a9dc5d8e3b1b1c602d0a 100644 --- a/app/assets/stylesheets/sections/notes.scss +++ b/app/assets/stylesheets/sections/notes.scss @@ -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 {