MediaWiki:Hydradark.css

/* CSS placed here will affect users of the Hydradark skin */

/* fonts */ /* Aclonica is a font by Astigmatic */ @font-face { font-family: 'Aclonica'; font-style: normal; font-weight: 400; src: local('Aclonica Regular'), local('Aclonica-Regular'), url(https://fonts.gstatic.com/s/aclonica/v10/K2FyfZJVlfNNSEBXGY7UAo8.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Norse'; src: local('Norse'), local('Norse'), url('/media/hydra/fonts/Norse.otf') format('opentype'); }

/* For elements which only display in the mobile view */ .mobileonly { display: none; }

/********/ /* body */ /********/ body.page-Tribes_of_Midgard_Wiki h1.firstHeading { display:none; }

body { background: url("https://static.wikia.nocookie.net/tribesofmidgard_gamepedia_en/images/3/38/Bg1920x1080.jpg/revision/latest") no-repeat fixed center center / cover #AFD5DF; -webkit-background-size: cover; -o-background-size: cover; -moz-background-size: cover; }

position: absolute; top: -20px; right: 0; width: 100%; }
 * 1) mw-head {

background: url(https://static.wikia.nocookie.net/tribesofmidgard_gamepedia_en/images/6/6f/Knots.jpg/revision/latest) repeat-x rgba(62, 96, 117,0.9); border-bottom: 0px; background-size: 40px; background-attachment: scroll; background-origin: border-box; background-position: center top; }
 * 1) mw-head-base {

div#mw-page-base { background: transparent; background-image: none; }

color: #db9fc9; }
 * 1) mw-head li.new a {

margin-left: 11em; padding: 3em 1.25em 1.25em 1.25em; background: url(https://static.wikia.nocookie.net/tribesofmidgard_gamepedia_en/images/6/6f/Knots.jpg/revision/latest) repeat-x rgba(62, 96, 117,0.9); background-size: 40px; background-attachment: scroll; background-origin: border-box; background-position: center top; }
 * 1) footer {

div#footer ul li { color: #FFFFFF; }

div#pageWrapper {}

div#content { background: rgba(62, 96, 117,0.9); border-color: none; border:none; margin-top: 0px; overflow-y: hidden; }

/********/ /* Logo */ /********/	height: 140px !important; width: 160px !important; background-size: 80%; margin-top: 4.6em; }
 * 1) p-logo,
 * 2) p-logo a {

margin-top: -50px; }
 * 1) p-logo {

/***********/ /* Anchors */ /***********/ a, a:visited, div#content a.extiw, div#content a.extiw:visited, div#content a.external, div#content a.external:visited { color: #f2d99b; font-weight: bold; }´

a.new, div#content a.new, color: #ff0000; }
 * 1) quickbar a.new {

.mw-body h1, .mw-body h2 { color: #f2d99b; font-family: "Norse", sans-serif; text-shadow: 1px 1px 1px black,1px -1px 1px black,-1px 1px 1px black,-1px -1px 1px black; font-weight: bold; border-bottom: 1px solid #f2d99b; text-transform:uppercase; }

.mw-body h3, .mw-body h4, .mw-body h5 { color: #f2d99b; font-family: "Norse", sans-serif; text-shadow: 1px 1px 1px black,1px -1px 1px black,-1px 1px 1px black,-1px -1px 1px black; font-weight: bold; text-transform:uppercase; }

/************************** /* Article navigation bar * /**************************/   display: inline; float: left; margin-bottom: -2.5em; margin-left: 12.5em; margin-top: 3em; background: none; height: 72px; }
 * 1) left-navigation {

float: right; margin-right: 1em; margin-top: 3em; background: none; height: 72px; }
 * 1) right-navigation {

div.vectorMenu div.menu { border: 1px solid white; }

div#mw-head a, .vectorTabs li a span, div#mw-head div.vectorTabs a, div#mw-head div.vectorMenu a, div.vectorMenu h3 span { color: white; font-family: "Norse", sans-serif; font-weight: bold; text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black; text-transform:uppercase; letter-spacing:0.1em; }

div.vectorTabs { background: transparent; }

div.vectorTabs ul { background: transparent; }

div.vectorTabs ul li, div.vectorTabs ul li.selected { background: transparent; border: none; }

div.vectorTabs ul li span, div.vectorTabs ul li.selected span { background: transparent; border: none; }

div.vectorTabs li span a { color: #FFFFFF; }

div.vectorTabs span a:visited { color: #FFFFFF; }

div.vectorTabs li span a:hover, div.vectorTabs span a:visited:hover { color: #a7a7a7; }

div.vectorTabs li.selected span a { color: #FFFFFF !important; }

div.vectorTabs span a:active { color: #a7a7a7; }

div.vectorMenu ul { background: #000000; border: 1px solid #B7B7B7; }

div#p-cactions h5 { background: transparent; }

div.vectorMenu h3 a { background-image: none; background-position: right bottom; background-repeat: no-repeat; display: inline-block; height: 1.9em; text-decoration: none; width: 24px; }

div.vectorMenu h3:hover span, div.vectorMenu h3:focus span { color: gray; }

div.vectorMenu h5 a { border: none; background: transparent; }

div#p-cactions div.menu ul { border: 1px solid #B7B7B7; background: #000000; color: #FFFFFF; }

div#p-cactions div.menu ul li a { background: transparent; border: none; color: #a7a7a7; }

div.vectorTabs, div.vectorTabs span, div.vectorTabs li a, div.vectorMenu h3 a { background-image: none; }

div#simpleSearch { background:black; border:1px solid white; }

div.vectorTabs, div.vectorTabs ul, div.vectorTabs span, div#mw-head div.vectorMenu h3 { background-image: none; }

/****************** /* Sidebar styles * /******************/ div#mw-panel { top: 8.3em; }

.skin-hydradark #mw-panel.collapsible-nav .portal { background-image: none; background-position: left top; background-repeat: no-repeat; margin: -11px 9px 10px 11px; padding: 0.25em 0 !important; }

.skin-hydradark div#mw-panel div.portal h3, .skin-hydradark #mw-panel.collapsible-nav .portal h3 a, .skin-hydradark #mw-panel.collapsible-nav .portal h3 a:visited, .skin-hydradark #mw-panel.collapsible-nav div.portal h3 a, .skin-hydradark #mw-panel.collapsible-nav div.portal h3 a:visited, .skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a, .skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a:visited { color: #B7B7B7; font-size: 110%; text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black; font-weight:bold; font-family: "Norse", sans-serif; text-transform:uppercase; letter-spacing:0.1em; }

.skin-hydradark div#mw-panel.collapsible-nav div#p-socialProfiles.portal, .skin-hydradark #mw-panel.collapsible-nav #p-sitePromos.portal { background-image: none; }

div#mw-panel div.portal div.body ul li a { color: #FFFFFF; }

div#mw-panel div.portal div.body ul li a:visited { color: #FFFFFF; }

div#mw-panel div.portal div.body ul li a:hover { color:#a7a7a7; }

div#mw-panel div.portal div.body ul li a:link { color: white; font-family: sans-serif; text-shadow: 1px 1px 1px black, 1px -1px 1px black, -1px 1px 1px black, -1px -1px 1px black; font-weight:normal; }

text-decoration: none; }
 * 1) mw-panel.collapsible-nav .portal.collapsed h3:hover {

ul { list-style-type: square ; list-style-image: none; }

/* Preferences */ .skin-hydradark #preftoc, .skin-hydradark #preftoc li, .skin-hydradark #preferences, .skin-hydradark #preftoc li a { background-color: rgba(0, 0, 0, 0); background-image: none; color: #e0e0e0; /* this font color may need tweaking, depending on your background choices */ }

.skin-hydradark #preftoc li:first-child, .skin-hydradark #preftoc li:first-child { margin-bottom: 7px; margin-left: 5px; }

.skin-hydradark #preftoc li.selected a, .skin-hydradark #preftoc li.selected a { background: rgba(0, 0, 0, 0.4); border-color: #e0e0e0 #e0e0e0 rgba(0, 0, 0, 0.3); border-radius: 3px 3px 0 0; border-style: double; border-width: 3px; color: #B7B7B7; /* this font color may need tweaking, depending on your background choices */ }

.skin-hydradark #preferences { background-color: rgba(0, 0, 0, 0.3); border: 3px double #e0e0e0; border-radius: 3px; }

.skin-hydradark #preferences fieldset { border-color: #080808; }

.skin-hydradark #preferences legend { color: #e0e0e0; }

.htmlform-tip { font-size: x-small; padding: 0.2em 2em; color: #808080; }

/* wiki editor styling */ div.wikiEditor-ui { background: rgba(0, 0, 0, 0); border: none; }

div.wikiEditor-ui-tabs div { border-bottom: 1px solid #080808; border-right: 1px solid #080808; }

div.wikiEditor-ui-buttons { background: rgba(0, 0, 0, 0); border-top: none; margin-right: 5px; }

div.wikiEditor-ui-toolbar { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.4); }

div.wikiEditor-ui-toolbar .tabs span.tab a, div.wikiEditor-ui-toolbar .tabs span.tab a:visited { color: #e0e0e0; }

div.wikiEditor-ui-toolbar .tabs span.tab a.current, div.wikiEditor-ui-toolbar .tabs span.tab a.current:visited { color: #e0e0e0; font-weight: bold; }

div.wikiEditor-ui-toolbar .sections .section { background-color: rgba(0, 0, 0, 0.2); border-top: 1px solid #080808; color: #e0e0e0; }

div.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid #080808; color: #e0e0e0; }

div.wikiEditor-ui-toolbar .booklet .pages { background-color: rgba(0, 0, 0, 0.2); }

div.wikiEditor-ui-toolbar .booklet .index .current { background-color: rgba(0, 0, 0, 0.2); color: #f5deb3; font-weight: bold; }

div.wikiEditor-ui-toolbar .booklet .index div { color: #e0e0e0; }

div.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(0, 0, 0, 0.2); border-color: #f5deb3; color: #f5deb3; font-weight: bold; }

div.wikiEditor-ui-toolbar .page-table th, div.wikiEditor-ui-toolbar .page-table td { color: #e0e0e0; }

div.wikiEditor-ui-toolbar .page-table td { border-top: 1px solid #080808; }

div.wikiEditor-ui-tabs div a { background: none repeat scroll 0 0 #181818; display: inline-block; color: #FFFFFF; }

div.wikiEditor-ui-tabs div.current { border-bottom: 1px solid #080808; }

div.wikiEditor-ui-tabs div.current a { color: #fda440; font-weight: bold; }

div.wikiEditor-ui-tabs { border-left: 1px solid #080808; border-top: 1px solid #080808; }

div.wikiEditor-preview-contents { border-color: #080808; border-style: solid; border-width: 0 1px 1px; color: #e0e0e0; }

div.wikiEditor-ui-controls { background: rgba(0, 0, 0, 0); border-bottom: 1px solid #080808; }

div.wikiEditor-preview-contents, div.wikiEditor-preview-loading { background-color: rgba(0, 0, 0, 0); }

div.editOptions { background-color: rgba(0, 0, 0, 0.4); border-color: -moz-use-text-color #080808 #080808; border-image: none; border-radius: 0 0 3px 3px; border-style: none solid solid; border-width: medium 1px 1px; }

/* tables */ table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: rgba(0,0,0,0.5); color: white; text-align: center; }

table.wikitable > tr > td, table.wikitable > * > tr > td { background: rgba(0, 0, 0, 0.2); } /* Sortable table headers */ th.header-bg.th.headerSort, table.jquery-tablesorter th.headerSort { background-attachment: scroll; background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/3/36/Sort_both_white.gif"); background-repeat: no-repeat, repeat; background-position: center right, center center; padding-right: 21px; }

th.header-bg.th.headerSortDown, table.jquery-tablesorter th.headerSortDown { background-attachment: scroll; background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/5/56/Sort_down_white.gif"); background-repeat: no-repeat, repeat; background-position: center right, center center; padding-right: 21px; }

th.header-bg.th.headerSortUp, table.jquery-tablesorter th.headerSortUp { background-attachment: scroll; background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/8/82/Sort_up_white.gif"); background-repeat: no-repeat, repeat; background-position: center right, center center; padding-right: 21px; }

/* Visual editor */ .oo-ui-popupToolGroup .oo-ui-toolGroup-tools { background-color: #282828; border: 1px solid #383838; box-shadow: 0 2px 2px 0 rgba(255,255,255,0.2); }

.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label { color: #e0e0e0; }

.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover, .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover, .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover, .oo-ui-widget.oo-ui-widget-enabled.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-outlineOptionWidget.oo-ui-outlineOptionWidget-level-0.oo-ui-iconElement.oo-ui-labelElement:hover { background-color: rgba(255,255,255,0.2); }

.oo-ui-decoratedOptionWidget .oo-ui-iconElement-icon, .oo-ui-decoratedOptionWidget .oo-ui-indicatorElement-indicator, .oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header > .oo-ui-iconElement-icon { filter: invert(100%); }

.oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-iconElement-icon { filter: unset; }

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button { border-color: #ffffff; }

.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active { background-color: rgba(255,255,255,0.2); }

.oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon, .oo-ui-popupToolGroup.oo-ui-labelElement.oo-ui-indicatorElement .oo-ui-popupToolGroup-handle .oo-ui-labelElement-label, .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon { filter: invert(100%); }

.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover { background-color: #282828; }

.oo-ui-indicator-down { background-image: linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/0/00/Light_down_arrow.svg); filter: unset; }

.ve-ui-mwSaveDialog-options { background-color: #282828; }

.ve-ui-mwSaveDialog-license { color: #e0e0e0; }

/* Page history tweaks */ td.diff-addedline .diffchange { background: none; color: #bfd959; }

td.diff-deletedline .diffchange { background: none; color: #e62444; }

td.diff-addedline, td.diff-deletedline { border-color: transparent; }

table.diff, td.diff-otitle, td.diff-ntitle { background-color: rgba(80,80,80,0.5); }

td.diff-context { background-color: rgba(0,0,0,0.2); border: none; color: #e0e0e0; }

color: #e0e0e0; background-color: rgba(80,80,80,0.5); border-color: #e0e0e0; border-style: solid; border-width: 1px 0; }
 * 1) pagehistory li.selected {

/* Interwiki page legend tweak */ .mw-collapsible-toggle.mw-collapsible-toggle-expanded a, .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a { color: #ffffff; }

/* Notifications */ .mw-echo-ui-notificationsInboxWidget-toolbarWrapper, .mw-echo-ui-crossWikiNotificationItemWidget-group, .mw-echo-ui-bundleNotificationItemWidget-group { background: inherit; }

/* for "edit this page" tab and "discussion" tab etc */ .pagetab { border-style: solid solid none; border-width: thin; border-color: #808080; padding: 0.25ex 1ex 0ex; font-size: 95%; }

.ambox { background-color: rgba(0,0,0,0.4); border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; }

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(0, 0, 0, 0.4); border: 1px solid #505050; color: #ffffff; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; background-color: rgba(0, 0, 0, 0.4); }

.infoboxtable td > div { background-color: #181818; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: rgba(0,0,0,0.4); font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { background-color: rgba(0,0,0,0.4); padding: 0em; }

/* copyright images tweak */ .skin-hydradark .copyright-icon { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png"); background-size: 100%; height: 32px; width: 32px; }

.feature { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 5px; padding: 10px; }

/* Navbox template style */ table.navbox { border: 1px solid #505050; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(0, 0, 0, 0.1); }

.navbox-list { border-color: rgba(0, 0, 0, 0.1); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(0, 0, 0, 0.2); color: #fff; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(0, 0, 0, 0.2); color: #fff; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.1); color: #fff; }

/* Even row striping */ .navbox-even { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { background: transparent; border: 0; border-bottom: 0; font-family: "Norse", sans-serif; text-shadow: 1px 1px 1px black,1px -1px 1px black,-1px 1px 1px black,-1px -1px 1px black; font-weight: bold; text-transform:uppercase; letter-spacing:0.1em; }

.fpbox { background: rgba(0,0,0,0.3); border: 3px double #e0e0e0; }

.fplink:not(.fplink-plain) { background: #202020; border: 0; border-radius: 5px; }

.fplink:not(.fplink-plain):hover { background: #505050; border: 0; border-radius: 5px; box-shadow: 0 0.1em 0.8em #D5D4D4; }

.fplink a { color: wheat !important; font-size: 130%; text-shadow: 1px 1px 1px black,1px -1px 1px black,-1px 1px 1px black,-1px -1px 1px black; font-weight: bold; text-decoration: none; }

.fplink-fullwidth .fplink:not(.fplink-plain) { background: rgba(0,0,0,0.4); }

.linkslabel { border-bottom: 2px solid #505050; }

/* this CSS governs the responsive 2 column main page layout */ .fpmaybecols { overflow: hidden; margin: -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px; }

.fpbox .heading .smalllink { color: #e0e0e0; font-size: 75%; font-weight: bold; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

@media (min-width: 990px) { .fpmain { padding-right: 520px; width: auto; }

#fpbottomsection, #fptopsection { float: left; width: 100%; }

#fpflexsection { float: right; width: 520px; margin-right: -520px; }

#fpbottomsection { margin-top: -5px; } }

/* colour fixes */ html .thumbimage { background-color: #000; }

code { color: #f5deb3; font-weight: bold; background-color: rgba(245, 222, 179,0.5); border: 1px solid #f5deb3; }

li.gallerybox div.thumb, div#toc, div.toc, div.mw-warning { background-color: rgba(0,0,0,0.2); border-color: rgba(0,0,0,0.2); }

.CategoryTreeToggle { color: #505050; }

.toc, .mw-warning { background-color: rgba(0,0,0,0.2); border-color: transparent; }
 * 1) catlinks,
 * toc,

.mw-plusminus-pos { color: #00b200; }

.font_block { background: rgba(62, 96, 117,0.8); border: 1px solid #666; border-radius: 4px; display: block; margin-bottom: 10px; padding: 5px 10px; }

/* Table pager */ .skin-hydradark .TablePager th, .skin-hydradark .mw-datatable th, skin-hydradark table.mw_metadata th { background-color: rgba(0,0,0,0.5); border: 1px solid #505050; color: #ffffff; }

.skin-hydradark .TablePager tr:hover td, .skin-hydradark .mw-datatable tr:hover td { background-color: rgba(0,0,0,0.2); color: #ffffff; }

/* special search options */ .skin-hydradark .mw-search-profile-tabs { background-color: rgba(0,0,0,0.5); border: 1px solid #383838; margin-top: 1em; }

.skin-hydradark fieldset#mw-searchoptions { background-color: rgba(0,0,0,0.2); border-color: #383838; }

fieldset { border-color: #22323D; }

/* belongs to search. Colour needed a tweak */ .mw-search-result-data { color: #99ff93; font-size: 97%; }

/***********/ /* some fx */ /***********/ .mpimages { }

.mpimages img { }

.mpimages:hover img { opacity: 0.5; filter: alpha(opacity=50); /* For IE8 and earlier */ }