MediaWiki:Mobile.css: Difference between revisions

Jump to navigation Jump to search
Fix/cleanup some stuff.
(Improve infobox CSS.)
(Fix/cleanup some stuff.)
Line 5: Line 5:
     --color-secondary__h: 255;
     --color-secondary__h: 255;
   --color-surface-0: hsl(var(--color-primary__h) 10% 10%);
   --color-surface-0: hsl(var(--color-primary__h) 10% 10%);
    --color-surface-0: hsl(var(--color-secondary__h) 12% 12%);
   --color-surface-1: hsl(var(--color-primary__h) 10% 10%);
   --color-surface-1: hsl(var(--color-primary__h) 10% 10%);
   --color-surface-2: hsl(var(--color-primary__h) 5% 12%);
   --color-surface-2: hsl(var(--color-primary__h) 5% 12%);
Line 154: Line 153:
font-family: 'Linux Libertine', 'Georgia', serif;
font-family: 'Linux Libertine', 'Georgia', serif;
}
}
/* Spoilers */
.bg3wiki-spoiler-blur {
    filter: blur(3px);
    opacity: 0.2;
    transition-property: filter, opacity;
    transition-duration: .4s;
}
.bg3wiki-spoiler-blur:hover, .bg3wiki-spoiler-blur:focus {
    filter: none;
    opacity: 1;
}


:root {
:root {
Line 254: Line 238:
/* License box */
/* License box */
#mw-license-preview .bg3wiki-license-box-container {
#mw-license-preview .bg3wiki-license-box-container {
margin: auto auto auto 0; /* Don't want margin in the preview box because that breaks things */
/* Don't want margin in the preview box because that breaks things */
margin: auto auto auto 0;
}
}


Navigation menu