MediaWiki:Mobile.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Custom fonts */ | |||
@font-face { | |||
font-family: "Submona"; | |||
src: url("/resources/assets/submona.woff") format("woff"); | |||
} | |||
@font-face { | |||
font-family: "Giko"; | |||
src: url("/resources/assets/giko2.woff") format("woff"); | |||
} | |||
.wingdings { | |||
font-family: "Wingdings"; | |||
} | |||
/* AA mode for non-Safari browsers */ | |||
.poem.aa, .pre.aa { | |||
font-family: 'MS PGothic', 'submona', sans-serif !important; | |||
word-wrap: break-word; | |||
line-height: 1; | |||
font-size: 12pt; | |||
} | |||
/* AA mode for Safari since Safari will try to set the page to shift-jis */ | |||
@media screen and (-webkit-min-device-pixel-ratio:0) { | |||
.poem.aa, .pre.aa { | |||
font-family: 'submona', sans-serif !important; | |||
} | |||
} | |||
/* AA mode with the giko font as default for non-Safari browsers */ | |||
.poem.aagiko, .pre.aagiko { | |||
font-family: 'MS PGothic', 'giko', sans-serif !important; | |||
word-wrap: break-word; | |||
line-height: 1; | |||
font-size: 12pt; | |||
} | |||
/* AA mode with the giko font for Safari since Safari will try to set the page to shift-jis */ | |||
@media screen and (-webkit-min-device-pixel-ratio:0) { | |||
.poem.aagiko, .pre.aagiko { | |||
font-family: 'giko', sans-serif !important; | |||
} | |||
} | |||
.toc { | .toc { | ||
display: none; | display: none; |