MediaWiki:Common.css: Difference between revisions

be more specific in the selector
Try adjusting the display of the searchbox; Remove forbiddend display:none; Fix comment syntax; Fix font-face declaration
Line 1: Line 1:
/** CSS placed here will be applied to all skins */
/** CSS placed here will be applied to all skins */
/** Make it so the search box does not collapse (Chameleon-only?) */
@media (min-width: 768px) {
    .p-search {
        width: max-content;
    }
}


/** make lists more like Microsoft Word  
/** make lists more like Microsoft Word  
Line 66: Line 73:
}
}


 
/** fix google maps little man in responsive skin */
 
// hide the upload file link in 'Tools'
// for some reason, had no effect in testing?!
/** #t-upload {display:none;} */
 
// fix google maps little man in responsive skin  
.gm-style img { max-width: none; }
.gm-style img { max-width: none; }


// styles for 'message boxes'
/** styles for 'message boxes' */
.message-box {
.message-box {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-family: Verdana, Arial, Helvetica, sans-serif;
Line 127: Line 128:
}
}


/** Declare the @font-face rules used on the Font page*/
/** Declare the @font-face rules used on the Font page
using the Fontspring bulletproof syntax
*/
@font-face {
@font-face {
   font-family: 'gillius-adf', gillius-sans, sans-serif;
   font-family: 'gillius-adf';
   src: local ('gillius adf'),
  src: url('/usr/local/share/fonts/GilliusADF-Regular.eot'); /* IE9 Compat Modes */
        local ('gillius ADF',
   src: url('/usr/local/share/fonts/GilliusADF-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/usr/local/share/fonts/GilliusADF-Regular.otf') format('opentype');
      url('/usr/local/share/fonts/GilliusADF-Regular.woff2') format('woff2'), /* Super Modern Browsers */
      url('/usr/local/share/fonts/GilliusADF-Regular.woff') format('woff'), /* Modern Browsers */
      url('/usr/local/share/fonts/GilliusADF-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
      url('/usr/local/share/fonts/GilliusADF-Regular.svg#GilliusADF-Regular') format('svg'); /* Legacy iOS */
   font-weight: normal;
   font-weight: normal;
   font-style: normal;
   font-style: normal;