Mercurial > p > roundup > code
comparison website/issues/html/style.css @ 4024:c2d0d3e9099d website
svn repository setup
| author | Stefan Seefeld <stefan@users.sourceforge.net> |
|---|---|
| date | Fri, 06 Feb 2009 13:16:31 +0000 |
| parents | |
| children | 277aca1f531d |
comparison
equal
deleted
inserted
replaced
| 4023:86c38b5aed66 | 4024:c2d0d3e9099d |
|---|---|
| 1 /* layout*/ | |
| 2 body | |
| 3 { | |
| 4 font-family: sans-serif, Arial, Helvetica; | |
| 5 background-color: white; | |
| 6 color: #333; | |
| 7 margin:0; | |
| 8 padding: 0 3em 0 13em; | |
| 9 } | |
| 10 body > .header { margin: 0 0 0 -13em;} | |
| 11 body > .footer { margin: 0 0 0 -13em; clear:both;} | |
| 12 body > .navigation | |
| 13 { | |
| 14 margin-left: -13em; | |
| 15 width: 13em; | |
| 16 float: left; | |
| 17 } | |
| 18 body > .content | |
| 19 { | |
| 20 width: 100%; | |
| 21 margin: 0; | |
| 22 } | |
| 23 body > .header > #searchbox { position: absolute; right: 1em; top: 1em;} | |
| 24 | |
| 25 /* style */ | |
| 26 | |
| 27 :link { color: #bb0000; text-decoration: none;} | |
| 28 :visited { color: #770000; text-decoration: none;} | |
| 29 | |
| 30 .header h1 { margin-left: 1em; } | |
| 31 | |
| 32 body | |
| 33 { | |
| 34 font-family: sans-serif, Arial, Helvetica; | |
| 35 background-color: #f5f5f5; | |
| 36 color: #333; | |
| 37 } | |
| 38 | |
| 39 .menu { padding: 0; margin-right: 1em;} | |
| 40 .menu ul | |
| 41 { | |
| 42 padding: 0; | |
| 43 margin: 0; | |
| 44 } | |
| 45 .menu li | |
| 46 { | |
| 47 margin: 5pt 0; | |
| 48 } | |
| 49 .menu > ul > li > * | |
| 50 { | |
| 51 display: block; | |
| 52 padding: 2pt 2pt 2pt 10pt; | |
| 53 border: solid thin #dadada; | |
| 54 background-color:#ffffff; | |
| 55 } | |
| 56 .menu > ul > li.current > * | |
| 57 { | |
| 58 background-color:#dddddd; | |
| 59 } | |
| 60 | |
| 61 .menu ul li:first-child { margin-top:0;} | |
| 62 .menu ul { list-style-type:none;} | |
| 63 | |
| 64 /* sub-menus are indented */ | |
| 65 .menu > ul > li > ul, | |
| 66 .menu > ul > li.current > ul | |
| 67 { | |
| 68 border:none; | |
| 69 background-color: inherit; | |
| 70 } | |
| 71 .menu ul ul | |
| 72 { | |
| 73 margin-left: 2em; | |
| 74 font-size: smaller; | |
| 75 } | |
| 76 | |
| 77 /* sub-menu items draw a separator */ | |
| 78 .menu ul ul > li | |
| 79 { | |
| 80 margin: 0; | |
| 81 padding: 0; | |
| 82 border: none; | |
| 83 border-top: solid thin #dadada; | |
| 84 background-color: inherit; | |
| 85 } | |
| 86 .menu ul ul > li:first-child | |
| 87 { | |
| 88 border-top: none; | |
| 89 } | |
| 90 | |
| 91 .footer | |
| 92 { | |
| 93 font-size: small; | |
| 94 text-align: center; | |
| 95 color: lightgrey; | |
| 96 } | |
| 97 | |
| 98 .content | |
| 99 { | |
| 100 padding: 1em; | |
| 101 border: solid thin #dadada; | |
| 102 background-color: #ffffff; | |
| 103 } | |
| 104 | |
| 105 /* This is a little hack to inject a 'news' block into the title | |
| 106 page without having to set up a custom directive. */ | |
| 107 #roundup-issue-tracker .note | |
| 108 { | |
| 109 float: right; | |
| 110 width: auto; | |
| 111 border: solid thin #dadada; | |
| 112 background-color:#f5f5f5; | |
| 113 padding: 1em; | |
| 114 margin: 1em; | |
| 115 } | |
| 116 #roundup-issue-tracker .note .admonition-title { display: none; } | |
| 117 | |
| 118 table | |
| 119 { | |
| 120 border-collapse: collapse; | |
| 121 border-spacing: 1px; | |
| 122 background-color: #fafafa; | |
| 123 } |
