Difference between revisions of "MediaWiki:Common.css"
From DIQA-Homepage
(Created page with "→CSS placed here will be applied to all skins: .tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; /* If you want dots under the h...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | body { | |
− | + | overflow-anchor: none; // repariert das Geister-Scrollen in Chrome | |
− | |||
− | |||
− | |||
} | } | ||
− | + | ||
− | . | + | .infolink:before |
− | + | { | |
− | + | content: '?'; | |
− | + | display: inline-block; | |
− | + | font-family: sans-serif; | |
− | + | font-weight: bold; | |
− | + | text-align: center; | |
− | + | width: 2.2ex; | |
− | + | height: 2.2ex; | |
− | + | font-size: 2ex; | |
− | + | border-radius: 3ex; | |
− | + | margin-right: 4px; | |
+ | padding: 2px; | ||
+ | color: white; | ||
+ | background: lightgray; | ||
+ | border: 2px solid lightgray; | ||
+ | text-decoration: none; | ||
+ | margin-left: 5px; | ||
+ | line-height: 1.4ex; | ||
+ | } | ||
+ | |||
+ | .infolink:hover:before | ||
+ | { | ||
+ | color: lightgray; | ||
+ | background: white; | ||
+ | border-color: white; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #lang-small { | ||
+ | position: relative; | ||
+ | float: right; | ||
+ | margin-right: 15px; | ||
+ | top: 28px; | ||
+ | font-weight: 900; | ||
+ | color: gray; | ||
+ | } | ||
+ | |||
+ | #lang-small a { | ||
+ | color: gray !important; | ||
} | } | ||
− | + | @media (min-width: 1020px) { | |
− | + | #lang-small { | |
− | + | display: none; | |
+ | } | ||
} | } |
Latest revision as of 13:52, 16 April 2021
body { overflow-anchor: none; // repariert das Geister-Scrollen in Chrome } .infolink:before { content: '?'; display: inline-block; font-family: sans-serif; font-weight: bold; text-align: center; width: 2.2ex; height: 2.2ex; font-size: 2ex; border-radius: 3ex; margin-right: 4px; padding: 2px; color: white; background: lightgray; border: 2px solid lightgray; text-decoration: none; margin-left: 5px; line-height: 1.4ex; } .infolink:hover:before { color: lightgray; background: white; border-color: white; text-decoration: none; } #lang-small { position: relative; float: right; margin-right: 15px; top: 28px; font-weight: 900; color: gray; } #lang-small a { color: gray !important; } @media (min-width: 1020px) { #lang-small { display: none; } }