/* ** 'The Register' layout CSS ** ** by Hannah Dee & Smylers ** ** gecko edition ** ** This file just specifies things such as layout, formatting, and positioning. ** All colours (foreground, background, border, and background images) are set ** in a separate style-sheet, so that it's easy for different sections to have ** different colour schemes but keep everything else the same. */ /* ** General Page Settings */ /* no spacing round the edge, so that borders and boxes can go right to the ** window edge; spaces are inserted on other boxes in the pages: */ html, body { margin: 0; padding: 0; } body, textarea { font-family: Helvetica, Arial, sans-serif; /* bevel down left: */ background-repeat: repeat-y; } h2 { font-size: 150%; /* no top margin, so flush with top of adverts on homepage; bottom margin of ** .YouAreHere provides a gap on other pages: */ margin: 0 0 0.7ex; padding: 0.5ex 0; /* watermark: */ background-position: top right; background-repeat: no-repeat; /* room for the buttons on articles, even for users with very small fonts: */ min-height: 21px; border-style: solid none; border-width: 1px; } /* gap between paragraphs (and other things used in a similar to paragraphs) ** achieved with top margin on subsequent paragraphs: */ p, form, .Ad > div { margin-top: 1.6ex; margin-bottom: 0; } p, form { padding: 0; } /* no margin above first paragraph (nor indeed below the last one) to allow for ** situations such as paragraphs in a box where these should go outside the ** borders; no margin after subheading, to allow this gap to be determined by ** the bottom margin on the subheading: */ p:first-child, noscript:first-child + form, form:first-child, h3 + p, h4 +p, .Ad > div:first-child { margin-top: 0; } td { vertical-align: top; } img { border: none; } /* For bullet lists (such as those on daily archive index pages) don't have the ** indent for the bullet being _quite_ so big as by default, and have a smidgen ** of space between items: */ ul { padding: 0 0 0 1.6em; } li { margin: 0 0 0.3ex; padding: 0; } blockquote { margin: 1ex 1em; padding: 0; font-weight: bold; } .Sidebar { width: 25%; min-width: 100px; float: right; margin-left: 1em; } .NoCSS { display: none; } /* level-3 headings only a little bigger than ordinary text (though still bolder), and ** with extra space above and below: */ h3 { font-size: 110%; margin: 2ex 0 0.8ex; } /* level-4 headings same size as ordinary text (though still bolder), and ** with extra space above and below: */ h4 { font-size: 100%; margin: 2ex 0 0.8ex; } /* ** Menus ** ** lists of links; only makes sense to apply .Menu or .VertMenu to a