MediaWiki:ModernWikiActivity.css

/* /** * @section        Activity Feed styling * @element        .activityfeed > li */ .activityfeed > li { border-left: 5px solid #fbfbfb; border-top: none !important; margin: 0.5em; overflow: hidden; padding-left: 3em; transition: all 0.3s; font-family: var(--mwa-font); } .activityfeed > li.activity-type-edit { border-left-color: var(--mwa-edit); } .activityfeed > li.activity-type-edit strong a { color: var(--mwa-edit); } .activityfeed > li.activity-type-new { border-left-color: var(--mwa-new); } .activityfeed > li.activity-type-new strong a { color: var(--mwa-new); } .activityfeed > li.activity-type-talk { border-left-color: var(--mwa-talk); } .activityfeed > li.activity-type-talk strong a { color: var(--mwa-talk); } .activityfeed > li.activity-type-categorization { border-left-color: var(--mwa-cat); } .activityfeed > li.activity-type-categorization strong a { color: var(--mwa-cat); } .activityfeed .subtle, .activityfeed .wallfeed a { text-transform: var(--mwa-link-transform); font-size: x-small; font-weight: bold; } .activityfeed em { text-transform: var(--mwa-text-transform); font-size: smaller; font-weight: bold; font-style: normal; } .activityfeed .wall-owner { text-transform: var(--mwa-link-transform); font-size: x-small; font-weight: bold; } .activityfeed .avatar { border: 0 !important; border-radius: var(--mwa-avatar-radius); } .page-Special_WikiActivity .page-header__page-subtitle a { text-transform: var(--mwa-link-transform); font-weight: bold; font-size: x-small } .page-Special_WikiActivity a:hover { opacity: 0.8; transition: opacity 0.3s ease; text-decoration: none; } /** * @section        Icons * @element        .activityfeed > li img */    /**     * @section         Edit * @icon           pencil-small * @default        #feaf09 */ .activity-type-edit img.edit.sprite { -webkit-mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-pencil-small.svg") !important; background-image: none; height: 18px; mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-pencil-small.svg"); width: 18px; background-repeat: no-repeat; background-color: var(--mwa-edit); }   /**     * @section         Talk * @icon           comment-small * @default        grey */ .activity-type-talk img.talk.sprite { -webkit-mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-comment-small.svg"); background-image: none; height: 18px; mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-comment-small.svg"); width: 18px; background-repeat: no-repeat; background-color: var(--mwa-talk); }   /**     * @section         Categorization * @icon           tag-small * @default        #b76801 */ .activity-type-categorization img.categorization.sprite { -webkit-mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-tag-small.svg"); background-image: none; height: 18px; mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-tag-small.svg"); width: 18px; background-repeat: no-repeat; background-color: var(--mwa-cat); }   /**     * @section         New Page * @icon           add-small * @default        deepskyblue */ .activity-type-new img.new.sprite { -webkit-mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-add-small.svg"); background-image: none; height: 18px; mask-image: url("/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-add-small.svg"); width: 18px; background-repeat: no-repeat; background-color: var(--mwa-new); }   /**     * @section         Diff * @icon           magnifying-glass * @default        black * @default        white */ .activityfeed-diff img { content: url(/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-magnifying-glass-small.svg); background-image: none !important; } .oasis-dark-theme .activityfeed-diff img { -webkit-mask-image: url(/extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-magnifying-glass-small.svg); mask-image: url(extensions/wikia/DesignSystem/node_modules/design-system/dist/svg/wds-icons-magnifying-glass-small.svg); background-color: #fff; filter: brightness(9); background-image: none !important; content: none; } /** * @section        Variables * @element        .activityfeed > li */ .activity-type-edit, .activity-type-talk, .activity-type-categorization, .activity-type-new, .activity-feed li { --mwa-edit: #feaf09; --mwa-talk: grey; --mwa-cat: #b76801; --mwa-new: deepskyblue; --mwa-font: Rubik, sans-serif; --mwa-link-transform: uppercase; --mwa-text-transform: uppercase; --mwa-avatar-radius: 50%; }
 * @title: ModernWikiActivity
 * @description: Modernizes Special:WikiActivity and adds in WDS icons
 * See http://dev.fandom.com/wiki/ModernWikiActivity for more information.
 * @authors:  Americhino
 * @version:  0.9.8
 * @license:  CC-BY-SA 3.0
 * @installation:  @import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:ModernWikiActivity.css");