OLD | NEW |
(Empty) | |
| 1 |
| 2 .mdn { |
| 3 border: solid 1px hsl(10, 80%, 90%); |
| 4 border-radius: 4px; |
| 5 font-size: 16px; |
| 6 line-height: 22px; |
| 7 margin: 22px 0; |
| 8 padding: 21px 21px 0 21px; |
| 9 } |
| 10 |
| 11 /* Try to massage the MDN content a bit to look nicer. This makes sure we don't |
| 12 double pad the insides of the box. */ |
| 13 .mdn > *:first-child { |
| 14 margin-top: 0; |
| 15 } |
| 16 |
| 17 .mdn > *:last-child { |
| 18 margin-bottom: 0; |
| 19 } |
| 20 |
| 21 .mdn .note { |
| 22 background: hsl(220, 80%, 93%); |
| 23 font: 400 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 24 sans-serif; |
| 25 color: hsl(220, 40%, 40%); |
| 26 border-radius: 4px; |
| 27 padding: 11px; |
| 28 } |
| 29 |
| 30 .mdn .warning { |
| 31 background: hsl(40, 80%, 90%); |
| 32 font: 400 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 33 sans-serif; |
| 34 color: hsl(40, 40%, 30%); |
| 35 border-radius: 4px; |
| 36 padding: 11px; |
| 37 } |
| 38 |
| 39 .mdn h6 { |
| 40 font: 600 14px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 41 sans-serif; |
| 42 color: #999; |
| 43 margin: 22px 0 0 0; |
| 44 } |
| 45 |
| 46 /* End MDN massage. */ |
| 47 |
| 48 .mdn-note { |
| 49 font: 600 11px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 50 sans-serif; |
| 51 color: hsl(10, 60%, 80%); |
| 52 text-align: right; |
| 53 line-height: 21px; /* To absorb bottom border 1px. */ |
| 54 margin-right: -14px; |
| 55 } |
| 56 |
| 57 .mdn-note a { |
| 58 color: hsl(10, 60%, 80%); |
| 59 } |
| 60 |
| 61 .mdn-note a:hover { |
| 62 color: hsl(10, 60%, 60%); |
| 63 } |
| 64 |
| 65 .mdn-attribution { |
| 66 background: hsl(10, 80%, 95%); |
| 67 border-radius: 4px; |
| 68 font: 400 13px/22px 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', |
| 69 sans-serif; |
| 70 color: hsl(10, 30%, 30%); |
| 71 padding: 22px 22px 22px 75px; |
| 72 } |
| 73 |
| 74 .mdn-logo { |
| 75 float: left; |
| 76 margin-left: -53px; |
| 77 /*padding-right: 11px;*/ |
| 78 } |
| 79 |
| 80 .correspond { |
| 81 font: italic 400 14px/22px 'Open Sans', 'Lucida Sans Unicode', |
| 82 'Lucida Grande', sans-serif; |
| 83 color: #666; |
| 84 } |
| 85 |
| 86 .correspond .crossref { |
| 87 font: inherit; |
| 88 } |
OLD | NEW |