MediaWiki:Mobile.css: Difference between revisions
mNo edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
mNo edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the mobile site */ | /* All CSS here will be loaded for users of the mobile site */ | ||
.minerva-header .branding-box { | @media (max-width: 768px) { | ||
.minerva-header .branding-box::after { | |||
min-width: auto; | |||
content: "Short Title"; /* Change this to your preferred short title */ | |||
display: block; | |||
font-size: 14px !important; | |||
font-weight: bold; | |||
white-space: nowrap; | |||
} | overflow: hidden; | ||
text-overflow: ellipsis; | |||
} | |||
.minerva-header .branding-box { | .minerva-header .branding-box { | ||
visibility: hidden; /* Hides the original long title */ | |||
position: relative; | |||
} | } | ||
} | } | ||
/* Fix heading positionning. */ | /* Fix heading positionning. */ | ||