Difference between revisions of "MediaWiki:Common.css"
From Game Detectives Wiki
(removed pulse2, pulsecp) |
|||
Line 520: | Line 520: | ||
div#p-tb.portal.navFloat { | div#p-tb.portal.navFloat { | ||
left: 0.5%; | left: 0.5%; | ||
− | top: | + | top:160px; |
} | } | ||
div#userloginForm { | div#userloginForm { |
Revision as of 20:01, 28 December 2019
/* CSS placed here will be applied to all skins */ body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text { /* The message body cell(s) */ border: none; /* @noflip */ padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.mbox-image { /* The left image cell */ border: none; /* @noflip */ padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright { /* The right image cell */ border: none; /* @noflip */ padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.mbox-empty-cell { /* An empty narrow cell */ border: none; padding: 0; width: 1px; } /* Article message box styles */ table.ambox { margin: 0 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background: #fbfbfb; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox th.mbox-text, .ambox td.mbox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.mbox-image { /* The left image cell */ /* @noflip */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } .ambox td.mbox-imageright { /* The right image cell */ /* @noflip */ padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } table.ambox-notice { /* @noflip */ border-left: 10px solid #36c; /* Blue */ } table.ambox-speedy { /* @noflip */ border-left: 10px solid #b32424; /* Red */ background: #fee7e6; /* Pink */ } table.ambox-delete { /* @noflip */ border-left: 10px solid #b32424; /* Red */ } table.ambox-content { /* @noflip */ border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { /* @noflip */ border-left: 10px solid #fc3; /* Yellow */ } table.ambox-move { /* @noflip */ border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { /* @noflip */ border-left: 10px solid #a2a9b1; /* Gray-gold */ } /* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "html body.mediawiki" is so they override "table.ambox + table.ambox" above. */ html body.mediawiki .mbox-small { /* For the "small=yes" option. */ /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; box-sizing: border-box; width: 238px; font-size: 88%; line-height: 1.25em; } html body.mediawiki .mbox-small-left { /* For the "small=left" option. */ /* @noflip */ margin: 4px 1em 4px 0; box-sizing: border-box; overflow: hidden; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; } /* Style for compact ambox */ /* Hide the images */ .compact-ambox table .mbox-image, .compact-ambox table .mbox-imageright, .compact-ambox table .mbox-empty-cell { display: none; } /* Remove borders, backgrounds, padding, etc. */ .compact-ambox table.ambox { border: none; border-collapse: collapse; background: transparent; margin: 0 0 0 1.6em !important; padding: 0 !important; width: auto; display: block; } body.mediawiki .compact-ambox table.mbox-small-left { font-size: 100%; width: auto; margin: 0; } /* Style the text cell as a list item and remove its padding */ .compact-ambox table .mbox-text { padding: 0 !important; margin: 0 !important; } .compact-ambox table .mbox-text-span { display: list-item; line-height: 1.5em; list-style-type: square; list-style-image: url(/w/skins/MonoBook/bullet.gif); } .skin-vector .compact-ambox table .mbox-text-span { list-style-type: disc; list-style-image: url(/w/skins/Vector/images/bullet-icon.svg); list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9; } /* Allow for hiding text in compact form */ .compact-ambox .hide-when-compact { display: none; } /* Other pages message box styles */ table.ombox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; /* Default "notice" gray */ background: #f8f9fa; box-sizing: border-box; } table.ombox-notice { border: 1px solid #a2a9b1; /* Gray */ } table.ombox-speedy { border: 2px solid #b32424; /* Red */ background: #fee7e6; /* Pink */ } table.ombox-delete { border: 2px solid #b32424; /* Red */ } table.ombox-content { border: 1px solid #f28500; /* Orange */ } table.ombox-style { border: 1px solid #fc3; /* Yellow */ } table.ombox-move { border: 1px solid #9932cc; /* Purple */ } table.ombox-protection { border: 2px solid #a2a9b1; /* Gray-gold */ } /* Begin Custom CSS */ /* Support for <div class="mattyRawImg">ImageURL</div> on wiki pages */ div.mattyRawImg { height: auto; width: inherit; max-height: inherit; max-width: 100%; margin: inherit; border: inherit; padding: inherit; } /* SMW table styles */ .smwtable .row-even { background-color: #fff; } .smwtable .row-odd { background-color: #e6e6e6; } .smwtable .smwtype_txt{ text-align: center; } .smwtable .smwtype_dat{ text-align: center; } /* Keyframe Animations */ @-moz-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 0.3;} } @-webkit-keyframes fadeIn { 0% {opacity: 0;} 100% {opacity: 0.3;} } @-moz-keyframes fadeIn2 { 0% {opacity: 0;} 100% {opacity: 1;} } @-webkit-keyframes fadeIn2 { 0% {opacity: 0;} 100% {opacity: 1;} } @-moz-keyframes highlight { 0% {background-color: rgba(255, 204, 204, 0);} 100% {background-color: rgba(255, 204, 204, 1)} } @-webkit-keyframes highlight { 0% {background-color: rgba(255, 204, 204, 0);} 100% {background-color: rgba(255, 204, 204, 1);} } @-moz-keyframes flash { 25% {background-color: rgba(255, 204, 204, 1);} 50% {background-color: rgba(255, 204, 204, 0);} 75% {background-color: rgba(255, 204, 204, 1);} 100% {background-color: rgba(255, 204, 204, 0);} } @-webkit-keyframes flash { 25% {background-color: rgba(255, 204, 204, 1);} 50% {background-color: rgba(255, 204, 204, 0);} 75% {background-color: rgba(255, 204, 204, 1);} 100% {background-color: rgba(255, 204, 204, 0);} } @-moz-keyframes pulse { 0% {background-color: rgba(255, 204, 204, 1);} 50% {background-color: rgba(255, 204, 204, 0);} 100% {background-color: rgba(255, 204, 204, 1);} } @-webkit-keyframes pulse { 0% {background-color: rgba(255, 204, 204, 1);} 50% {background-color: rgba(255, 204, 204, 0);} 100% {background-color: rgba(255, 204, 204, 1);} } /* Matty Table Styles */ table.matty tbody tr:hover td:not(:nth-child(2)) { -webkit-animation: pulse 2s linear 1s infinite; -moz-animation: pulse 2s linear 1s infinite; background-color: #ffcccc; } table.matty tbody tr.tableAnimation { -webkit-animation: flash 0.35s linear; -moz-animation: flash 0.35s linear; } table.matty, table.matty th, table.matty td { border: 1px black solid; } table.matty th { height: 50px; padding-left: 20px; font-size: x-large; } .tableRowEven { background-color: #eee; } .tableRowOdd { background-color: #fff; } /* jQuery UI Dialog Styles */ .ui-dialog { text-align: center; border: 1px red; } .ui-widget-header a, .ui-widget-content a { color: #b02e2e !important; } span.ui-dialog-title { margin-left: -5px; } .ui-effects-transfer { border: 2px solid black; } .ui-widget-overlay { -moz-animation: fadeIn 1s; -webkit-animation: fadeIn 1s; } .ui-dialog, .ui-dialog-buttonpane, .ui-dialog-buttonset { text-align: center; float: none !important; background: url(https://i.imgur.com/323RLD2.png) !important; padding-left: 18px; } .ui-dialog-content.ui-widget-content { font-size: 25px; text-align: center; color: white !important; } div.ui-dialog-buttonset { height: initial !important; max-height: initial !important; } .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix { border: 0px !important; } img.dialogImage { max-width:400px; } /* jQuery UI Dialog Scrollbar Styles */ /* Width */ div.ui-dialog-content.ui-widget-content::-webkit-scrollbar { width: 9px; } /* Track */ div.ui-dialog-content.ui-widget-content::-webkit-scrollbar-track { background: #f1f1f1; box-shadow: inset 0 0 5px grey; border-radius: 10px; } /* Handle */ div.ui-dialog-content.ui-widget-content::-webkit-scrollbar-thumb { background: rgba(176, 46, 46, 0.81); border-radius: 10px; box-shadow: outset 0 0 5px grey; } /* Handle on hover */ div.ui-dialog-content.ui-widget-content::-webkit-scrollbar-thumb:hover { background: #b02e2e; } /* TOC Float Styles */ .tocFloatHidden { width:auto !important; } .tocFloatHidden div.toctitle { border-bottom:none !important; padding-bottom:0 !important; } div.tocFloatContainer { width:160px; position:fixed; bottom:64px; left:0.5%; z-index:1; max-height:65%; overflow-y:scroll !important; overflow-x:hidden !important; overflow-wrap:break-word !important; display:block; } div#tocFloatContainer div.toc { padding-top: 0; margin: 0 auto; } div#tocFloatContainer div.toc div.toctitle { position: sticky; top:0; padding-top: 5px; padding-bottom: 5px; z-index:10; border-bottom: 1px black solid; margin: 0 auto; background: #f8f9fa; } div#tocFloatContainer div.toc ul { display:block; z-index:1; overflow-x:hidden !important; overflow-wrap:break-word !important; } div#tocFloatContainer div.toc ul ul { margin: 0 0 0 1em !important; padding: 0 !important; font-size:12px; display:show !important; } div#tocFloatContainer div.toc li { margin: 0 !important; padding: 0 !important; font-size:12px; } div#tocFloatContainer div.toc div.toctitle, div#tocFloatContainer div.toc ul { max-width:148px; } div#tocFloatContainer div.toc ul li ul li span.toctext{ word-break:break-word; } .highlight { animation: highlight 250ms; background-color: rgba(255, 204, 204, 1); } /* TOC Float Scrollbar Styles */ /* Width */ div.tocFloatContainer::-webkit-scrollbar { width: 7px; } /* Track */ div.tocFloatContainer:hover::-webkit-scrollbar-track { background: #f1f1f1; box-shadow: inset 0 0 5px grey; border-radius: 10px; } /* Handle */ div.tocFloatContainer:hover::-webkit-scrollbar-thumb { background: rgba(176, 46, 46, 0.81); border-radius: 10px; box-shadow: outset 0 0 5px grey; } /* Handle on hover */ div.tocFloatContainer:hover::-webkit-scrollbar-thumb:hover { background: #b02e2e; } /* Fancy Editor Scrollbar */ textarea.mw-editfont-monospace::-webkit-scrollbar { width: 9x; } textarea.mw-editfont-monospace::-webkit-scrollbar-track { background: #f1f1f1; box-shadow: inset 0 0 5px grey; border-radius: 10px; } textarea.mw-editfont-monospace::-webkit-scrollbar-thumb { background: rgba(176, 46, 46, 0.81); border-radius: 10px; box-shadow: outset 0 0 5px grey; } textarea.mw-editfont-monospace::-webkit-scrollbar-thumb:hover { background: #b02e2e; } /* Fancy Review Footer Scrollbar */ form#mw-fr-reviewform::-webkit-scrollbar { height: 7px; } form#mw-fr-reviewform:hover::-webkit-scrollbar-track { background: #f1f1f1; box-shadow: inset 0 0 5px grey; border-radius: 10px; } form#mw-fr-reviewform:hover::-webkit-scrollbar-thumb { background: rgba(176, 46, 46, 0.81); border-radius: 10px; box-shadow: outset 0 0 5px grey; } form#mw-fr-reviewform:hover::-webkit-scrollbar-thumb:hover { background: #b02e2e; } /* The Responsive Movement - brought to you by CSSears */ html{ height:100%; min-height:100%; } body{ min-height:100%; } pre { overflow-wrap: break-all; word-break: break-all; } code { overflow-wrap: break-all; word-break: break-word; } div { overflow-wrap: break-word; } img { width: inherit; max-width: 100%; height: auto; } div.thumbinner { max-width: inherit; } div.thumb { max-width: 100%; } div.portal.navFloat { position: fixed !important; } div#p-navigation.portal.navFloat { left: 0.5%; top:0; } div#p-tb.portal.navFloat { left: 0.5%; top:160px; } div#userloginForm { max-width: 100%; } form.mw-htmlform.mw-ui-vform.mw-ui-container { max-width: inherit; } div.navMobile { display:none; } form#mw-fr-reviewform { overflow-x:scroll; } .mw-parser-output p:not(.gallerytext p), .mw-parser-output pre, .mw-parser-output ul:not(.gallery), .mw-parser-output ol, .mw-parser-output div:not(.center) { text-align:left; } .mw-parser-output center p, .mw-parser-output center pre, .mw-parser-output center ul { text-align:center; } table.argbox img { max-width:100% !important; } body { z-index: 0; } .mw-body-content { z-index: auto; } /* On screens 1024px and smaller */ @media only screen and (max-width: 1024px) { div#left-navigation { float:left; margin-left:194px; } div.mw-body:not(table.matty) { font-size: 110%; } div.mw-head { left:1.1em; } div#tocFloatContainer div.toc ul { font-size: 12px; } div#tocFloatContainer div.toc li { font-size: 12px; } li#ca-talk { display:none; } } /* On screens 982px and smaller */ @media only screen and (max-width: 982px) { div#left-navigation { margin-left:176px; } } /* On screens 768px and smaller */ @media only screen and (max-width: 768px) { div.mw-parser-output p, div.mw-parser-output h1, div.mw-parser-output h2, div.mw-parser-output h3, div.mw-parser-output h4 { clear:both; } div.thumb { clear:both; float:none; display: inline-block; margin:0 auto; } div.thumbinner { width:inherit !important; } .mw-parser-output a.image { width:768px; max-width:100%; } .mw-parser-output, .mw-parser-output div.thumbcaption { text-align:center; } .mw-parser-output ul, .mw-parser-output ol { display:inline-block; } .mw-parser-output div.toc ul, .mw-parser-output div.toc ol { display:table !important; } table.wikitable.argbox { width: inherit !important; max-width: 100% !important; height: auto !important; } div.mw-body { margin-right: 1%; margin-left: 1%; margin-top: 140px; } div#mw-panel { position:absolute; display:block; top:30px; left:0; right:0; margin:auto; padding-top:0; height:140px; } div#p-logo { top:0; } div#left-navigation { float:right; margin-top:181px; margin-right:30px; margin-left:0; left:0; } div#right-navigation { margin-top:181px; margin-right:0; } div#rightNavMobile { top:56px; right:1%; text-align:right; } div#rightNavMobile ul li { text-align: right !important; } div#rightNavMobile h3 { display:none; } div#leftNavMobile { top:0; left:1%; } div.navMobile { position:absolute !important; font-size:70%; z-index:1; display:block !important; animation: fadeIn2 500ms linear; } div.navMobile div.body ul { list-style-type: none; list-style-image: none !important; list-style:none; margin:0; } div#p-navigation { visibility:hidden; } div#p-tb { visibility:hidden; } h3#p-tb-label { display:none; } div#p-search { display:none; } li#pt-mytalk { display: none; } li#pt-mytalk { display: none; } li.icon.mw-watchlink { display:none; } li#pt-watchlist { display:none; } div#footer { float:right; text-align:right; padding: 1%; } #footer-icons { clear:both; float:right; } #footer-places ul { float:right !important; } #footer-places li { margin: 0 0 0 0 !important; padding: 5px 0 5px 10px !important; float:right !important; text-align:right; } pre { display:inline-block; clear:both; text-align:left; } ol li, ul li { text-align:left; } ul li#footer-info-lastmod { text-align:right; } } /* On screens 425px and smaller */ @media only screen and (max-width: 425px) { div#leftNavMobile { font-size:60%; } li#pt-mycontris { display:none; } div.mw-body:not(table.matty) { font-size:115%; } div#tocFloatContainer div.toc ul { font-size:11px; } div#tocFloatContainer div.toc li { font-size:11px; } } /* Misc aka i'm too lazy i'll sort this later*/ div.ev_left { margin: 7.2px 19.6px 18.2px 0; } div.ev_right { margin: 7.2px 0 18.2px 19.6px; } img.mainButtonLeft { float: right; } img.mainButtonRight { float: left; } table.mainNavButtons td { width:210px; } table.mainSocialButtons td { width:150px; } img.mainImg { max-width: 100% !important; } .flaggedrevs_unreviewed a { color:#b02e2e !important; } div.flaggedrevs_unreviewed { clear:both; margin:0 0 0 0; } #footer-info li { color:#ffffff !important; } table.matty td { word-break:break-word; overflow:hidden; } table.pageValidation th.reviewed, table.pageValidation td.reviewed { background-color: #eaf3ff !important; } table.pageValidation th.quality, table.pageValidation td.quality { background-color: #d5fdf4 !important; } table.pageValidation th.pristine, table.pageValidation td.pristine { background-color: #fef6e7 !important; } .matty td { min-width: 40px; } td { word-break: break-word; } table.wikitable.argbox td { word-break: normal; }