notes.less
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
// TODO .note { .mix-box(@light-gray, @gray-5, @light-gray); p { margin-top: 0; margin-bottom: 0; &:first-child { font-size: 105%; font-style: italic; color: @text-color; } } } .warning { border-top: 2px solid @gray-5; border-bottom: 2px solid @gray-5; background-color: @light-gray; margin: 10px auto; padding:7px 7px 0 7px; p { margin-top: 0; margin-bottom: 0; &:first-child { font-size: 105%; font-weight: bold; color: @text-color; } } } .sidebar { .mix-box(@light-gray, @gray-5, @light-gray); p { margin-top: 0; margin-bottom: 0; &:first-child { font-size: 105%; font-weight: bold; color: @text-color; } } } .note, .warning { width: 66.6667%; } @media screen and (max-width: 599px) { .note, .warning { width: 96%; } } @media screen and (min-width: 600px) { .note, .warning { width: 66.6667%; } } |