1 /* moinshare.css - some additional styles for the SharedContent macro 2 which can be included in screen.css and print.css 3 using... 4 5 @import "moinshare.css"; 6 7 ...before any rules. 8 9 Copyright (c) 2013 by Paul Boddie 10 Licensed under the GNU GPL (v2 or later), see COPYING.txt for details. 11 */ 12 13 div.moinshare-update { 14 margin: 1em; 15 border: 1px solid black; 16 padding: 0.5em; 17 position: relative; 18 } 19 20 div.moinshare-author, 21 div.moinshare-date { 22 margin: 0.5em; 23 text-align: right; 24 } 25 26 /* Put the alternative part navigation inside the update container, overlaying 27 empty space belong to each of the parts. */ 28 29 div.moinshare-alternatives { 30 position: absolute; 31 bottom: 0; 32 left: 0; 33 padding: 0.5em; 34 } 35 36 div.moinshare-alternatives a { 37 background: #eee; 38 margin-right: 1em; 39 padding: 0.5em; 40 } 41 42 div.moinshare-alternative { 43 padding-bottom: 3em; /* empty space for the navigation */ 44 } 45 46 /* Always show primary parts. */ 47 48 div.moinshare-alternative.moinshare-default { 49 display: block; 50 } 51 52 /* Hide secondary parts unless selected. */ 53 54 div.moinshare-alternative.moinshare-other:not(:target) { 55 display: none; 56 } 57 58 div.moinshare-alternative.moinshare-other:target { 59 display: block; 60 } 61 62 /* PGP key information. */ 63 64 table.moinshare-pgp-keys { 65 border: 1px solid black; 66 }