MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
KMA (Diskussion | Beiträge) |
KMA (Diskussion | Beiträge) |
||
Zeile 3: | Zeile 3: | ||
.tooltip{ | |||
display: inline; | |||
position: relative; | |||
} | |||
.tooltip:hover:after{ | |||
background: #333; | |||
background: rgba(0,0,0,.8); | |||
border-radius: 5px; | |||
bottom: 26px; | |||
color: #fff; | |||
content: attr(title); | |||
left: 20%; | |||
padding: 5px 15px; | |||
} | position: absolute; | ||
z-index: 98; | |||
width: 220px; | |||
} | |||
.tooltip:hover:before{ | |||
border: solid; | |||
border-color: #333 transparent; | |||
border-width: 6px 6px 0 6px; | |||
bottom: 20px; | |||
content: ""; | |||
left: 50%; | |||
} | position: absolute; | ||
z-index: 99; | |||
} | |||
#mpo { | #mpo { |
Version vom 16. Juni 2014, 20:53 Uhr
#ca-viewsource { display: none !important; } #ca-talk { display: none !important; } .tooltip{ display: inline; position: relative; } .tooltip:hover:after{ background: #333; background: rgba(0,0,0,.8); border-radius: 5px; bottom: 26px; color: #fff; content: attr(title); left: 20%; padding: 5px 15px; position: absolute; z-index: 98; width: 220px; } .tooltip:hover:before{ border: solid; border-color: #333 transparent; border-width: 6px 6px 0 6px; bottom: 20px; content: ""; left: 50%; position: absolute; z-index: 99; } #mpo { background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8e9ea)); background: -moz-linear-gradient(center top, #ffffff 0%, #e8e9ea 100%); -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: .3em; text-shadow: 1px 1px 0px #ffffff; border-color: #c9cdd1; border-width: 1px; border-style: solid; line-height: 12px; padding: .4em .7em; font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif; text-align: center; display: inline; display: inline-block; } #redicon { display: inline; display: inline-block; background-color: #ff0000; color: #ffffff; border: none; line-height: 12px; padding: .3em .4em .3em .25em; font: normal 1em/1 "Lucida Grande", Lucida, Arial, sans-serif; font-weight: bold; text-align: center; } /* ------------------------------------------------------------------ */ /** * KEYS.css * * A simple stylesheet for rendering beautiful keyboard-style elements. * * Author: Michael Hüneburg * Website: http://michaelhue.com/keyscss * License: MIT License (see LICENSE.txt) */ /* Base style, essential for every key. */ kbd, .key { display: inline; display: inline-block; min-width: 1em; padding: .2em .3em .1em .3em; font: normal .85em/1 "Lucida Grande", Lucida, Arial, sans-serif; text-align: center; text-decoration: none; -moz-border-radius: .3em; -webkit-border-radius: .3em; border-radius: .3em; border: none; cursor: default; -moz-user-select: none; -webkit-user-select: none; user-select: none; } /* Dark style for display on light background. This is the default style. */ kbd, kbd.dark, .dark-keys kbd, .key, .key.dark, .dark-keys .key { background: rgb(80, 80, 80); background: -moz-linear-gradient(top, rgb(60, 60, 60), rgb(80, 80, 80)); background: -webkit-gradient(linear, left top, left bottom, from(rgb(60, 60, 60)), to(rgb(80, 80, 80))); color: rgb(250, 250, 250); text-shadow: -1px -1px 0 rgb(70, 70, 70); -moz-box-shadow: inset 0 0 1px rgb(150, 150, 150), inset 0 -.05em .4em rgb(80, 80, 80), 0 .1em 0 rgb(30, 30, 30), 0 .1em .1em rgba(0, 0, 0, .3); -webkit-box-shadow: inset 0 0 1px rgb(150, 150, 150), inset 0 -.05em .4em rgb(80, 80, 80), 0 .1em 0 rgb(30, 30, 30), 0 .1em .1em rgba(0, 0, 0, .3); box-shadow: inset 0 0 1px rgb(150, 150, 150), inset 0 -.05em .4em rgb(80, 80, 80), 0 .1em 0 rgb(30, 30, 30), 0 .1em .1em rgba(0, 0, 0, .3); } /* Light style for display on dark background. */ kbd.light, .light-keys kbd, .key.light, .light-keys .key { background: rgb(250, 250, 250); background: -moz-linear-gradient(top, rgb(210, 210, 210), rgb(255, 255, 255)); background: -webkit-gradient(linear, left top, left bottom, from(rgb(210, 210, 210)), to(rgb(255, 255, 255))); color: rgb(50, 50, 50); text-shadow: 0 0 2px rgb(255, 255, 255); -moz-box-shadow: inset 0 0 1px rgb(255, 255, 255), inset 0 0 .4em rgb(200, 200, 200), 0 .1em 0 rgb(130, 130, 130), 0 .11em 0 rgba(0, 0, 0, .4), 0 .1em .11em rgba(0, 0, 0, .9); -webkit-box-shadow: inset 0 0 1px rgb(255, 255, 255), inset 0 0 .4em rgb(200, 200, 200), 0 .1em 0 rgb(130, 130, 130), 0 .11em 0 rgba(0, 0, 0, .4), 0 .1em .11em rgba(0, 0, 0, .9); box-shadow: inset 0 0 1px rgb(255, 255, 255), inset 0 0 .4em rgb(200, 200, 200), 0 .1em 0 rgb(130, 130, 130), 0 .11em 0 rgba(0, 0, 0, .4), 0 .1em .11em rgba(0, 0, 0, .9); } /* ---------------------------------------------------------- */