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