1/** 2 * Action Plugin for authsmf20. 3 * 4 * @package SMF DokuWiki 5 * @file style.css 6 * @author Vadim Nevorotin <malamut@ubuntu.ru> 7 * @author digger <digger@mysmf.net> 8 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 9 * @version 1.0 10 */ 11 12a.userlink { 13 padding-left: 18px; 14 position: relative; 15 z-index: 42; 16} 17 18div.dokuwiki .user > a.userlink { 19 color: inherit; 20} 21 22a.userlink:hover, 23a.userlink:active { 24 text-decoration: none; 25 z-index: 45; 26} 27 28a.userlink.gender-male { 29 background: url('images/user-male.png') no-repeat 0% 50%; 30} 31 32a.userlink.gender-female { 33 background: url('images/user-female.png') no-repeat 0% 50%; 34} 35 36a.userlink.gender-unknown { 37 background: url('images/user-unknown.png') no-repeat 0% 50%; 38} 39 40/* Popup */ 41 42a.userlink:hover span.userlink-popup { 43 display: block; 44 white-space: pre; 45} 46 47span.userlink-popup { 48 display: none; 49 position: absolute; 50 top: 100%; 51 left: 18px; 52 padding: 8px; 53 height: auto; 54 min-height: 20px; 55 background: __background__; 56 color: __text__; 57 border: 1px solid __border__; 58 border-radius: 2px; 59 box-shadow: 0 0 .5em #999; 60 max-width: 400px; 61 font-size: 1em; 62 line-height: 1em; 63 font-weight: normal; 64 font-style: normal; 65 overflow: hidden; 66 word-wrap: break-word; 67} 68 69span.userlink-popup.top { 70 top: auto; 71 bottom: 100%; 72} 73 74span.userlink-popup > * { 75 display: inline-block; 76 vertical-align: text-top; 77 padding-left: 8px; 78} 79 80span.userlink-popup > img { 81 max-width: 100px; 82 max-height: 100px; 83} 84 85span.userlink-popup > * > * { 86 display: block; 87 float: left; 88 clear: left; 89 margin-top: 8px; 90} 91 92span.userlink-popup > * > *:first-child { 93 margin-top: 0px; 94} 95 96span.userlink-popup strong { 97 font-size: 1.2em; 98 line-height: 1.2em; 99} 100