From: Mike Taylor Date: Mon, 19 May 2014 16:44:17 +0000 (+0100) Subject: Towards CSS for Credo widget. X-Git-Tag: 1.0.0~649 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=171ff55ac7848d4d0eb3eb4511f9129fcdcddc85;p=mkws-moved-to-github.git Towards CSS for Credo widget. --- diff --git a/examples/htdocs/mkws-widget-credo.css b/examples/htdocs/mkws-widget-credo.css index 4cb10cb..a7bad4b 100644 --- a/examples/htdocs/mkws-widget-credo.css +++ b/examples/htdocs/mkws-widget-credo.css @@ -1,3 +1,38 @@ .mkwsCredo { font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; } + +.mkwsCredo table { + width: 90%; + border-collapse: collapse; +} + +.mkwsCredo table tr.front { + background: #ddf3c3; +} + +.mkwsCredo table tr:first-child td:first-child { + width: 70%; +} + +.mkwsCredo table tr:first-child .section { + margin: 10px; + border: 1px solid #c0c0c0; +} + +.mkwsCredo table tr { + vertical-align: top; +} + +.mkwsCredo div.title { + font-size: 150%; + font-weight: bold; + color: white; + background: #666699; + padding: 0.25em 0.5em; +} + +.mkwsCredo div.content { + background: white; + padding: 0.5em 1em; +}