2 This is the CSS stylesheet that is used for the default Nucleus skin.
\r
4 Here's how the pages are built up:
\r
6 (Note: the format outlined below is NOT mandatory. If you want your
\r
7 site to use another structure, edit skins and templates, and define
\r
8 your own stylesheet. The default skins and templates only serves as
\r
9 an example of how a site running Nucleus can look.)
\r
19 div.itembody (item text)
\r
20 span.iteminfo (time / author / editlink / amount of comments)
\r
23 h1 (navigation, hidden link)
\r
32 div.itembody (item text)
\r
33 div.iteminfo (item info)
\r
40 h1 (navigation, hidden link)
\r
46 other pages are similar, having a .contents and a .menu part
\r
51 The body definitions define how the page should globally look:
\r
52 - a small verdana, arial or font from the sans-serif family
\r
53 - black text on a white background
\r
58 font-family: verdana, arial, sans-serif;
\r
60 background-color: #fff;
\r
65 The definitions below determine how the page looks.
\r
67 There are 3 main div-elements, which are all positioned absolute
\r
68 (relative to the upper left corner of the screen):
\r
70 .contents: contains the main contents of the page.
\r
71 .menu: sidebar with menu
\r
72 .logo: logo to be displayed above the sidebar
\r
76 /* definitions applying to the contents block */
\r
84 /* definitions applying to the logo */
\r
99 /* use a lighter text color (grey) and a smaller font */
\r
105 Definitions for headers in the menu (.menu h2), page titles (h1)
\r
106 and dateheads (.contents h2):
\r
107 - page titles are centered (within the .contents div)
\r
108 - menu headers (h2) use a small font
\r
109 - dateheads use a large font and are in a box
\r
113 text-align: center;
\r
121 background-color: whitesmoke;
\r
122 border: 1px solid #ccc;
\r
128 margin-bottom: 5px;
\r
132 Definitions for the item listings like they are done on the main page and in archives
\r
133 - h3.item is the title of an item (<h3 class="item">)
\r
134 - .itembody is the item contents
\r
135 - .iteminfo contains the time of posting and the name of the author, and the amount of comments
\r
137 anchors in the iteminfo (.iteminfo a) are not underlined and bold
\r
149 margin-bottom: 5px;
\r
153 font-size: x-small;
\r
158 font-weight: bolder;
\r
160 text-decoration: none;
\r
164 Definitions of how comments listings look like on item pages
\r
165 - h3.comment contains the name of the comment author
\r
166 - .commentbody contains the text from the comment
\r
167 - .commentinfo contains the time of commenting
\r
170 /* comment title */
\r
173 margin-bottom: 10px;
\r
177 text-align: justify;
\r
181 font-size: x-small;
\r
187 Some rules that apply to contents generated using the markup buttons
\r
188 "add left box" and "add right box"
\r
190 both boxes have slightly larger text, and take a maximum of 20% of
\r
191 the width of the contents.
\r
194 .leftbox, .rightbox {
\r
202 border-right: 2px solid #ccc;
\r
206 border-left: 2px solid #ccc;
\r
211 Some general rules:
\r
212 - images never have a border (even when they are inside a hyperlink)
\r
213 - elements having class="skip" are not shown
\r
214 - item lists using <ul class="nobullets"> have no list-item bullets
\r
215 - highlighted text (in search results) have a yellow background
\r
233 background-color: yellow;
\r