diff --git a/main.css b/main.css index 2c6fd60..0b68bc1 100644 --- a/main.css +++ b/main.css @@ -706,8 +706,3 @@ div.mw-lag-warn-high { .tipsy { font-size: 127%; } - -/* mediawiki.notification */ -.skin-monobook .mw-notification { - box-shadow: 0 2px 5px 0 rgba( 0, 0, 0, 0.125 ); -} diff --git a/skin.json b/skin.json index 7b39627..878d0ee 100644 --- a/skin.json +++ b/skin.json @@ -39,7 +39,8 @@ }, "ResourceModuleSkinStyles": { "monobook": { - "+mediawiki.special.preferences.styles": "skinStyles/mediawiki.special.preferences.styles.less" + "+mediawiki.special.preferences.styles": "skinStyles/mediawiki.special.preferences.styles.less", + "+mediawiki.notification": "skinStyles/mediawiki.notification.less" } }, "AutoloadClasses": { diff --git a/skinStyles/mediawiki.notification.less b/skinStyles/mediawiki.notification.less new file mode 100644 index 0000000..f548de0 --- /dev/null +++ b/skinStyles/mediawiki.notification.less @@ -0,0 +1,7 @@ +/* mediawiki.notification */ + +.mw-notification { + border: 1px solid #ccc; + border-radius: 0.5em; + box-shadow: 0 0.2em 1em rgba( 0, 0, 0, 0.3 ); +}