# HG changeset patch # User Paul Boddie # Date 1383486819 -3600 # Node ID b529131f65da5e0c0bc73528af760cd20b75a2c9 # Parent 553d60e9fb058f162515150d6f886ee40ed23be6 Added styles for the extensions. diff -r 553d60e9fb05 -r b529131f65da css/includecomments.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/includecomments.css Sun Nov 03 14:53:39 2013 +0100 @@ -0,0 +1,43 @@ +/* includecomments.css - some additional styles for the IncludeComments macro + which can be included in screen.css and print.css + using... + + @import "includecomments.css"; + + ...before any rules. + +Copyright (c) 2013 by Paul Boddie +Licensed under the GNU GPL (v2 or later), see COPYING.txt for details. +*/ + +.included-comment { + margin: 1em; + border: 2px solid #ddd; + padding: 1em; +} + +.included-comment-owner { + float: left; + clear: left; + margin-right: 1em; + padding: 0.5em; + background-color: #ddd; + color: #000; + font-weight: bold; + font-size: larger; +} + +/* Hide the link to the comment form when showing the form. */ + +#includecomments-anchor:target > a { + display: none; +} + +/* Hide the comment form unless the link has been followed. */ + +#includecomments-anchor:not(:target) .includecomments-form { + display: none; +} + +/* vim: tabstop=4 expandtab shiftwidth=4 + */