diff options
Diffstat (limited to 'local.css')
-rw-r--r-- | local.css | 73 |
1 files changed, 63 insertions, 10 deletions
@@ -24,9 +24,6 @@ copyright assignment notice, buttons and footer are visible at once, without having to scroll. This means that the text editing box should be resized in height as needed (within limits, of course). --tschwinge - - (2) `.pagecopyright' and `.pagelicense' should get the spacing between them - removed and should get some margins. */ @@ -37,6 +34,11 @@ body padding: 1em; } +p +{ + clear: left; +} + hr { height: 1px; @@ -55,23 +57,28 @@ pre padding: 0.5em; } -/* Format these elements table-like with the background of the upper element - shinig through between the cells. TODO. This is currently achieved with - ``border: white''. */ +/* Put these elements side by side. */ .pagedate, .pagecopyright, .pagelicense { display: table-cell; - border-left: solid 7px white; - border-right: solid 7px white; + padding: 0.15em; } - -/* Nullify the paragraph tag following ``License:''. */ +.pagecopyright p, .pagelicense p { display: inline; } +/* But add some spacing between them. */ +.pagedate + .pagecopyright, +.pagedate + .pagelicense, +.pagecopyright + .pagelicense, +.pagecopyright + .pagedate, +.pagelicense + .pagedate +{ + padding-left: 1em; +} .header { @@ -129,6 +136,52 @@ pre margin-right: auto; } +/* News items on the front page. */ +.newsitem +{ + padding-top: 2px; +} +.newsitem + .newsitem +{ + clear: left; +} +.newsitemheader +{ + max-width: 30%; + float: left; + margin-right: 10px; +} +.newsitem .header, +.newsitem .author +{ + font-size: medium; + font-style: italic; +} +.newsitem .actions +{ + font-size: small; +} +.newsitem .actions ul +{ + padding: 0; + border-bottom: 0; +} +.newsitem .actions li +{ + display: block; +} +.newsitemcontent +{ + /* TODO. Why is this needed to make the floating text appear on the same + vertical height as is the item's title? */ + margin-top: -10px; +} +.newsitemcontent p +{ + clear: none; +} + + .table_style_1 { text-align: left; |