--- doc/tmpl/css/main.css 2015/07/04 14:36:38 2784 +++ doc/tmpl/css/main.css 2017/01/16 14:08:15 3090 @@ -551,6 +551,13 @@ clear:both; } +/* automatically center the 1st paragraph (block) directly after a h1 type header (since that header type is centered as well) */ +article h1 + p { + display:table; /*HACK: "block" would stretch the entire page width */ + margin-left:auto; + margin-right:auto; +} + article a { font-weight:400; color:#1ba1dd; @@ -564,6 +571,10 @@ text-decoration:none; } +article li img { + float:left; +} + article a:hover { text-decoration:underline; } @@ -742,7 +753,7 @@ } article th { - background-color:#e8e2e2; + background-color:#e0e0ff; padding:0px 8px 0px 8px; margin:0 0 0 0; border:3px solid white; @@ -791,6 +802,10 @@ max-width: calc(100% - 145px); } +article td > note { + display:block; /*HACK: override "table" default value assigned above in the context of a table cell, otherwise padding will be ignored */ +} + article note.important { border-left:solid 10px #ff4141; } @@ -809,7 +824,7 @@ article p img { display:inline-block; float:left; - margin:4px 20px 0px 0px; + margin:4px 20px 19px 0px; padding:0 0 0 0; /*border:solid 1px #8e8e8e;*/ border:none;