| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,328 @@ |
| 1 |
+/* Some definitions used everywhere */ |
|
| 2 |
+BODY {
|
|
| 3 |
+ background: #000; |
|
| 4 |
+ color: #FFF; |
|
| 5 |
+ margin: 0; |
|
| 6 |
+ padding: 0; |
|
| 7 |
+} |
|
| 8 |
+ |
|
| 9 |
+IMG {
|
|
| 10 |
+ border: 0; |
|
| 11 |
+ padding: 0; |
|
| 12 |
+ margin: 0; |
|
| 13 |
+} |
|
| 14 |
+/* Header cells in tables throughout the site */ |
|
| 15 |
+TH {
|
|
| 16 |
+ background: #000; |
|
| 17 |
+ color: #FFF; |
|
| 18 |
+ font-weight: bold; |
|
| 19 |
+} |
|
| 20 |
+/* links */ |
|
| 21 |
+A {
|
|
| 22 |
+ color: #333; |
|
| 23 |
+ font-weight: bold; |
|
| 24 |
+ text-decoration: underline; |
|
| 25 |
+} |
|
| 26 |
+/* hovering links */ |
|
| 27 |
+A:hover {
|
|
| 28 |
+ text-decoration: underline overline; |
|
| 29 |
+} |
|
| 30 |
+/* the box at the top of the page */ |
|
| 31 |
+#banner {
|
|
| 32 |
+ text-align: center; |
|
| 33 |
+ background: #000; |
|
| 34 |
+} |
|
| 35 |
+/* The appearance of your site's name in the banner area*/ |
|
| 36 |
+#sitename {
|
|
| 37 |
+ font-size: 44px; |
|
| 38 |
+ font-weight: bold; |
|
| 39 |
+ color: #CCC; |
|
| 40 |
+} |
|
| 41 |
+/* The appearance of your site's slogan in the banner area */ |
|
| 42 |
+#slogan {
|
|
| 43 |
+ font-size: 26px; |
|
| 44 |
+ font-weight: bold; |
|
| 45 |
+ color: #AAA; |
|
| 46 |
+} |
|
| 47 |
+/* The location of the div containing the skin change drop menu in the banner area */ |
|
| 48 |
+#skin {
|
|
| 49 |
+ position: absolute; |
|
| 50 |
+ right: 30px; |
|
| 51 |
+ top: 25px; |
|
| 52 |
+} |
|
| 53 |
+/* The location of the div containing the RSS link in the banner area */ |
|
| 54 |
+#rss {
|
|
| 55 |
+ position: absolute; |
|
| 56 |
+ right: 50px; |
|
| 57 |
+ top: 55px; |
|
| 58 |
+} |
|
| 59 |
+ |
|
| 60 |
+/* the following defines your menu below the banner div */ |
|
| 61 |
+/* the box around the menu and aligning the text to center */ |
|
| 62 |
+#menu {
|
|
| 63 |
+ border-top: 3px double #000; |
|
| 64 |
+ border-bottom: 3px double #000; |
|
| 65 |
+ background: #CCC; |
|
| 66 |
+ text-align: center; |
|
| 67 |
+} |
|
| 68 |
+/* links in the menu */ |
|
| 69 |
+#menu a {
|
|
| 70 |
+ color: #333; |
|
| 71 |
+ font-weight: bold; |
|
| 72 |
+ text-decoration: none; |
|
| 73 |
+ padding-left: 4px; |
|
| 74 |
+ padding-right: 4px; |
|
| 75 |
+} |
|
| 76 |
+/* Hovered links in the menu */ |
|
| 77 |
+#menu a:hover {
|
|
| 78 |
+ background: #000; |
|
| 79 |
+ padding-left: 2px; |
|
| 80 |
+ padding-right: 2px; |
|
| 81 |
+ border-left: 2px solid #FFF; |
|
| 82 |
+ border-right: 2px solid #FFF; |
|
| 83 |
+ color: #FFF; |
|
| 84 |
+} |
|
| 85 |
+/* The link for the currently displayed page in the menu */ |
|
| 86 |
+#menu #current {
|
|
| 87 |
+ text-decoration: underline; |
|
| 88 |
+} |
|
| 89 |
+/* end menu setup */ |
|
| 90 |
+ |
|
| 91 |
+/* the footer box at the bottom of the page */ |
|
| 92 |
+#footer {
|
|
| 93 |
+ border-top: 3px double #CCC; |
|
| 94 |
+ background: #000; |
|
| 95 |
+ color: #FFF; |
|
| 96 |
+ padding: 10px; |
|
| 97 |
+ clear: both; |
|
| 98 |
+} |
|
| 99 |
+ |
|
| 100 |
+/* End universal page setup */ |
|
| 101 |
+ |
|
| 102 |
+/* this is a carryover from 1.1. Generally it is used around tables and table cells. */ |
|
| 103 |
+.tblborder {
|
|
| 104 |
+ border: 1px solid #000; |
|
| 105 |
+ padding: 6px; |
|
| 106 |
+ border-collapse: collapse; |
|
| 107 |
+ color: #000; |
|
| 108 |
+} |
|
| 109 |
+ |
|
| 110 |
+/* Main page surrounds the text between the header and the footer. |
|
| 111 |
+For IE, height is set to 650 to force the footer down to the bottom of the page where the content is short. |
|
| 112 |
+And the second declaration is for everyone else so that it will scroll if longer but be a minimum of 650px |
|
| 113 |
+*/ |
|
| 114 |
+#mainpage {
|
|
| 115 |
+ height: 550px; |
|
| 116 |
+ padding-bottom: 1em; |
|
| 117 |
+ background: #FFF; |
|
| 118 |
+ color: #000; |
|
| 119 |
+} |
|
| 120 |
+html>body #mainpage {
|
|
| 121 |
+ height: auto; |
|
| 122 |
+ min-height: 550px; |
|
| 123 |
+} |
|
| 124 |
+ |
|
| 125 |
+/* Most pages use pagetitle to format the page's title */ |
|
| 126 |
+#pagetitle {
|
|
| 127 |
+ text-align: center; |
|
| 128 |
+ font-size: 25px; |
|
| 129 |
+ color: #333; |
|
| 130 |
+ margin-top: 1em; |
|
| 131 |
+} |
|
| 132 |
+ |
|
| 133 |
+/* |
|
| 134 |
+Where there's a list of alphabet links #alphabet controls their look. |
|
| 135 |
+Just to make things simpler #pagelinks controls the look of the links at the bottom of multi-page results |
|
| 136 |
+and will be set here too. Generally, they look alike. |
|
| 137 |
+*/ |
|
| 138 |
+/* the box around the links */ |
|
| 139 |
+#alphabet, #pagelinks {
|
|
| 140 |
+ text-align: center; |
|
| 141 |
+ word-spacing: -.3em; |
|
| 142 |
+ margin: 1em; |
|
| 143 |
+} |
|
| 144 |
+/* each link */ |
|
| 145 |
+#alphabet A, #pagelinks A {
|
|
| 146 |
+ color: #FFF; |
|
| 147 |
+ text-decoration: none; |
|
| 148 |
+ font-weight: bold; |
|
| 149 |
+ background: #000; |
|
| 150 |
+ border: 1px solid #CCC; |
|
| 151 |
+ border-collapse: collapse; |
|
| 152 |
+ padding: 0 2px; |
|
| 153 |
+} |
|
| 154 |
+/* each link when hovered over */ |
|
| 155 |
+#alphabet A:hover, #pagelinks A:hover {
|
|
| 156 |
+ background: #CCC; |
|
| 157 |
+ color: #333; |
|
| 158 |
+} |
|
| 159 |
+/* the currently selected letter and currently selected page */ |
|
| 160 |
+#alphabet #current_letter, #pagelinks #currentpage {
|
|
| 161 |
+ background: #FFF; |
|
| 162 |
+ color: #333; |
|
| 163 |
+ font-weight: bold; |
|
| 164 |
+ border: 1px solid #CCC; |
|
| 165 |
+ padding: 0 2px; |
|
| 166 |
+} |
|
| 167 |
+/* End alphabet and page link declarations */ |
|
| 168 |
+ |
|
| 169 |
+/* labels throughout the site in forms and in other places */ |
|
| 170 |
+LABEL, .classification {
|
|
| 171 |
+ color: #666; |
|
| 172 |
+ font-weight: bold; |
|
| 173 |
+} |
|
| 174 |
+/* Admin options in various places. */ |
|
| 175 |
+.adminoptions {
|
|
| 176 |
+ color: #666; |
|
| 177 |
+ font-weight: bold; |
|
| 178 |
+} |
|
| 179 |
+ |
|
| 180 |
+/* The listings of stories etc. */ |
|
| 181 |
+/* .sectionheader styles the headings "Stories" and "Series" */ |
|
| 182 |
+.sectionheader {
|
|
| 183 |
+ text-align: center; |
|
| 184 |
+ font-size: 22px; |
|
| 185 |
+ font-weight: bold; |
|
| 186 |
+ color: #333; |
|
| 187 |
+} |
|
| 188 |
+ |
|
| 189 |
+/* The box around each individual story */ |
|
| 190 |
+.listbox {
|
|
| 191 |
+ margin: 1em 5%; |
|
| 192 |
+ border: 1px solid #000; |
|
| 193 |
+} |
|
| 194 |
+ |
|
| 195 |
+/* The title bar for each story box. */ |
|
| 196 |
+.listbox .title {
|
|
| 197 |
+ background: #000; |
|
| 198 |
+ padding: 6px; |
|
| 199 |
+ color: #FFF; |
|
| 200 |
+ font-weight: bold; |
|
| 201 |
+} |
|
| 202 |
+/* Because the background is black, the link colors need to be changed. */ |
|
| 203 |
+.listbox .title A {
|
|
| 204 |
+ color: #CCC; |
|
| 205 |
+} |
|
| 206 |
+/* The content of the box...summary, categories, etc. */ |
|
| 207 |
+.listbox .content {
|
|
| 208 |
+ padding: 6px; |
|
| 209 |
+} |
|
| 210 |
+ |
|
| 211 |
+/* The tail info published date etc. on the last line */ |
|
| 212 |
+.listbox .tail {
|
|
| 213 |
+ background: #000; |
|
| 214 |
+ padding: 6px; |
|
| 215 |
+ color: #FFF; |
|
| 216 |
+} |
|
| 217 |
+/* And again because of the black background change the color of the links. */ |
|
| 218 |
+.listbox .tail A {
|
|
| 219 |
+ color: #CCC; |
|
| 220 |
+} |
|
| 221 |
+ |
|
| 222 |
+/*End story/series listings */ |
|
| 223 |
+ |
|
| 224 |
+/* titleblock is used for the title information in series and challenges */ |
|
| 225 |
+#titleblock {
|
|
| 226 |
+ margin: 0 10%; |
|
| 227 |
+} |
|
| 228 |
+ |
|
| 229 |
+/* The pulldown jump menus on several pages. */ |
|
| 230 |
+.jumpmenu {
|
|
| 231 |
+ text-align: right; |
|
| 232 |
+ margin-right: 1em; |
|
| 233 |
+} |
|
| 234 |
+ |
|
| 235 |
+/* On the story page, there's a jumpmenu at the bottom. It looks better centered, so this will replace the declaration above for that |
|
| 236 |
+drop down list ONLY */ |
|
| 237 |
+#pagelinks .jumpmenu {
|
|
| 238 |
+ text-align: center; |
|
| 239 |
+} |
|
| 240 |
+ |
|
| 241 |
+/* This is used on series and challenges and other places where a response is solicited */ |
|
| 242 |
+.respond {
|
|
| 243 |
+ text-align: center; |
|
| 244 |
+ padding: 6px; |
|
| 245 |
+} |
|
| 246 |
+ |
|
| 247 |
+/* The sort menu on the categories page */ |
|
| 248 |
+#sort { text-align: center; }
|
|
| 249 |
+ |
|
| 250 |
+ |
|
| 251 |
+/* On pages that don't use listings, the content is surrounded by a div labeled output to */ |
|
| 252 |
+#output {
|
|
| 253 |
+ padding: 10px; |
|
| 254 |
+} |
|
| 255 |
+ |
|
| 256 |
+/* User Profile stuff */ |
|
| 257 |
+/* The top list of information */ |
|
| 258 |
+#profile {
|
|
| 259 |
+ margin: 1em 10%; |
|
| 260 |
+} |
|
| 261 |
+/* The sort menu in the profile */ |
|
| 262 |
+#profile #sort {
|
|
| 263 |
+ text-align: right; |
|
| 264 |
+ font-weight: bold; |
|
| 265 |
+ color: #666; |
|
| 266 |
+ } |
|
| 267 |
+/* The following declarations control the tabs */ |
|
| 268 |
+/* The outer tab box */ |
|
| 269 |
+#tabs {
|
|
| 270 |
+ background: #000; |
|
| 271 |
+ border-top: 1px solid #000; |
|
| 272 |
+ border-bottom: 1px solid #000; |
|
| 273 |
+ text-align: center; |
|
| 274 |
+ margin: 0; |
|
| 275 |
+ padding: 0; |
|
| 276 |
+} |
|
| 277 |
+/* The individual tabs. */ |
|
| 278 |
+#tabs span {
|
|
| 279 |
+ font-size: 12px; |
|
| 280 |
+ background: #CCC; |
|
| 281 |
+ border: 1px solid #000; |
|
| 282 |
+ padding: 3px; |
|
| 283 |
+} |
|
| 284 |
+/* Links in the tabs */ |
|
| 285 |
+ |
|
| 286 |
+#tabs #active {
|
|
| 287 |
+ background: #FFF; |
|
| 288 |
+ color: #666; |
|
| 289 |
+} |
|
| 290 |
+ |
|
| 291 |
+/* This controls the look of the blocks on the index page. */ |
|
| 292 |
+ |
|
| 293 |
+/* The box around the block */ |
|
| 294 |
+.block {
|
|
| 295 |
+ margin: 1em; |
|
| 296 |
+ border: 1px solid #000; |
|
| 297 |
+} |
|
| 298 |
+ |
|
| 299 |
+/* The block's title */ |
|
| 300 |
+.block .title {
|
|
| 301 |
+ background: #000; |
|
| 302 |
+ color: #FFF; |
|
| 303 |
+ font-weight: bold; |
|
| 304 |
+ padding: 6px; |
|
| 305 |
+} |
|
| 306 |
+ |
|
| 307 |
+/* The block's content */ |
|
| 308 |
+.block .content {
|
|
| 309 |
+ padding: 6px; |
|
| 310 |
+} |
|
| 311 |
+ |
|
| 312 |
+#leftindex {
|
|
| 313 |
+ width: 200px; |
|
| 314 |
+ float: left; |
|
| 315 |
+} |
|
| 316 |
+html>body #leftindex {
|
|
| 317 |
+ margin-top: -1em; |
|
| 318 |
+} |
|
| 319 |
+ |
|
| 320 |
+#rightindex {
|
|
| 321 |
+ margin-left: 220px; |
|
| 322 |
+} |
|
| 323 |
+/* The next link at the bottom of a multi-chapter story */ |
|
| 324 |
+#next { float: right; }
|
|
| 325 |
+/* The previous link at the bottom of a multi-chapter story */ |
|
| 326 |
+#prev { float: left; }
|
|
| 327 |
+ |
|
| 328 |
+#browse #category_content { width: 95% !important; margin: 1em auto; }
|
|
| 0 | 329 |
\ No newline at end of file |