X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=common.css;h=a79230a05de2572adcc04eeb236ebfbe60cb19f3;hp=d6a931604d58c17c0fb0124a739a194f8d61de27;hb=38314fd1bc5cdc37422e38de39c8212783d5a2a8;hpb=9451cddb9f3422c050b7c4d3c01d10a177f3e36b diff --git a/common.css b/common.css index d6a9316..a79230a 100644 --- a/common.css +++ b/common.css @@ -17,6 +17,7 @@ body { } ul, ol, dl, table, p { margin-bottom: .5em; } +p:only-child { margin-bottom: 0; } a { font-style: italic; @@ -44,6 +45,12 @@ ul, ol { margin-left: 1.125em; } dl dt { font-weight: bolder; } table th { font-weight: bold; } +li p + ul, li p + ol { + margin-top: -.25em; +} + +hr { border-bottom: 1pt solid; } + h1, h2, h3 { font-weight: bold; margin-top: .75em; @@ -109,7 +116,8 @@ input + label { *[tooltip]:hover:after { display: block; position: absolute; - bottom: -100%; left: 50%; transform: translate(-50%, 0); + min-width: 12em; + bottom: 100%; left: 50%; transform: translate(-50%, 0); content: attr(tooltip); padding: .5em; color: #000; background-color: #FFC;