1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/css/includecomments.css Sun Nov 03 14:53:39 2013 +0100
1.3 @@ -0,0 +1,43 @@
1.4 +/* includecomments.css - some additional styles for the IncludeComments macro
1.5 + which can be included in screen.css and print.css
1.6 + using...
1.7 +
1.8 + @import "includecomments.css";
1.9 +
1.10 + ...before any rules.
1.11 +
1.12 +Copyright (c) 2013 by Paul Boddie
1.13 +Licensed under the GNU GPL (v2 or later), see COPYING.txt for details.
1.14 +*/
1.15 +
1.16 +.included-comment {
1.17 + margin: 1em;
1.18 + border: 2px solid #ddd;
1.19 + padding: 1em;
1.20 +}
1.21 +
1.22 +.included-comment-owner {
1.23 + float: left;
1.24 + clear: left;
1.25 + margin-right: 1em;
1.26 + padding: 0.5em;
1.27 + background-color: #ddd;
1.28 + color: #000;
1.29 + font-weight: bold;
1.30 + font-size: larger;
1.31 +}
1.32 +
1.33 +/* Hide the link to the comment form when showing the form. */
1.34 +
1.35 +#includecomments-anchor:target > a {
1.36 + display: none;
1.37 +}
1.38 +
1.39 +/* Hide the comment form unless the link has been followed. */
1.40 +
1.41 +#includecomments-anchor:not(:target) .includecomments-form {
1.42 + display: none;
1.43 +}
1.44 +
1.45 +/* vim: tabstop=4 expandtab shiftwidth=4
1.46 + */