cortex-reaver 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. data/README +1 -1
  2. data/bin/cortex_reaver +3 -4
  3. data/lib/cortex_reaver.rb +270 -110
  4. data/lib/cortex_reaver/cache.rb +23 -0
  5. data/lib/cortex_reaver/config.rb +178 -74
  6. data/lib/cortex_reaver/controller/admin.rb +64 -4
  7. data/lib/cortex_reaver/controller/comment.rb +4 -4
  8. data/lib/cortex_reaver/controller/controller.rb +3 -3
  9. data/lib/cortex_reaver/controller/journal.rb +4 -2
  10. data/lib/cortex_reaver/controller/main.rb +117 -26
  11. data/lib/cortex_reaver/controller/page.rb +7 -0
  12. data/lib/cortex_reaver/controller/photograph.rb +12 -10
  13. data/lib/cortex_reaver/controller/tag.rb +1 -1
  14. data/lib/cortex_reaver/controller/user.rb +7 -2
  15. data/lib/cortex_reaver/helper/attachments.rb +2 -2
  16. data/lib/cortex_reaver/helper/crud.rb +7 -7
  17. data/lib/cortex_reaver/helper/feeds.rb +56 -38
  18. data/lib/cortex_reaver/helper/form.rb +12 -16
  19. data/lib/cortex_reaver/helper/navigation.rb +35 -16
  20. data/lib/cortex_reaver/helper/photographs.rb +2 -2
  21. data/lib/cortex_reaver/helper/sidebar.rb +44 -0
  22. data/lib/cortex_reaver/helper/tags.rb +32 -9
  23. data/lib/cortex_reaver/helper/workflow.rb +2 -14
  24. data/lib/cortex_reaver/layout/blank.rhtml +27 -31
  25. data/lib/cortex_reaver/layout/text.rhtml +54 -67
  26. data/lib/cortex_reaver/migrations/014_convert_projects_to_pages.rb +79 -0
  27. data/lib/cortex_reaver/model/comment.rb +7 -8
  28. data/lib/cortex_reaver/model/page.rb +5 -3
  29. data/lib/cortex_reaver/model/photograph.rb +57 -13
  30. data/lib/cortex_reaver/model/tag.rb +1 -4
  31. data/lib/cortex_reaver/model/user.rb +6 -3
  32. data/lib/cortex_reaver/plugin.rb +1 -1
  33. data/lib/cortex_reaver/plugins/twitter.rb +185 -0
  34. data/lib/cortex_reaver/public/css/actions.css +31 -0
  35. data/lib/cortex_reaver/public/css/admin.css +50 -27
  36. data/lib/cortex_reaver/public/css/attachments.css +11 -0
  37. data/lib/cortex_reaver/public/css/autotags.css +38 -0
  38. data/lib/cortex_reaver/public/css/code.css +10 -2
  39. data/lib/cortex_reaver/public/css/colophon.css +10 -0
  40. data/lib/cortex_reaver/public/css/commments.css +7 -0
  41. data/lib/cortex_reaver/public/css/custom.css +1 -0
  42. data/lib/cortex_reaver/public/css/flash.css +17 -0
  43. data/lib/cortex_reaver/public/css/fonts.css +22 -0
  44. data/lib/cortex_reaver/public/css/form.css +15 -3
  45. data/lib/cortex_reaver/public/css/generics.css +39 -0
  46. data/lib/cortex_reaver/public/css/icons.css +4 -0
  47. data/lib/cortex_reaver/public/css/journals.css +3 -0
  48. data/lib/cortex_reaver/public/css/main.css +30 -312
  49. data/lib/cortex_reaver/public/css/pagination.css +50 -0
  50. data/lib/cortex_reaver/public/css/photo-show.css +87 -0
  51. data/lib/cortex_reaver/public/css/photo.css +28 -97
  52. data/lib/cortex_reaver/public/css/progress.css +35 -0
  53. data/lib/cortex_reaver/public/css/sidebar.css +83 -0
  54. data/lib/cortex_reaver/public/css/table-of-contents.css +26 -0
  55. data/lib/cortex_reaver/public/css/table.css +3 -0
  56. data/lib/cortex_reaver/public/css/tags.css +29 -0
  57. data/lib/cortex_reaver/public/css/text.css +19 -1
  58. data/lib/cortex_reaver/public/css/top_actions.css +50 -0
  59. data/lib/cortex_reaver/public/css/users.css +3 -0
  60. data/lib/cortex_reaver/public/images/admin/icons.png +0 -0
  61. data/lib/cortex_reaver/public/images/admin/icons.xcf +0 -0
  62. data/lib/cortex_reaver/public/images/background_tile.png +0 -0
  63. data/lib/cortex_reaver/public/images/edit_34.png +0 -0
  64. data/lib/cortex_reaver/public/images/edit_34_prelight.png +0 -0
  65. data/lib/cortex_reaver/public/images/elided.png +0 -0
  66. data/lib/cortex_reaver/public/images/grid_34.png +0 -0
  67. data/lib/cortex_reaver/public/images/grid_34_prelight.png +0 -0
  68. data/lib/cortex_reaver/public/images/next_11.png +0 -0
  69. data/lib/cortex_reaver/public/images/next_34.png +0 -0
  70. data/lib/cortex_reaver/public/images/next_34_prelight.png +0 -0
  71. data/lib/cortex_reaver/public/images/prev_11.png +0 -0
  72. data/lib/cortex_reaver/public/images/prev_34.png +0 -0
  73. data/lib/cortex_reaver/public/images/prev_34_prelight.png +0 -0
  74. data/lib/cortex_reaver/public/js/admin.js +15 -22
  75. data/lib/cortex_reaver/public/js/autotags.js +120 -0
  76. data/lib/cortex_reaver/public/js/jquery.autocomplete.js +135 -176
  77. data/lib/cortex_reaver/public/js/jquery.color.js +124 -0
  78. data/lib/cortex_reaver/public/js/jquery.corners.min.js +7 -0
  79. data/lib/cortex_reaver/public/js/jquery.hotkeys-0.7.9.js +244 -0
  80. data/lib/cortex_reaver/public/js/jquery.js +4361 -4
  81. data/lib/cortex_reaver/public/js/jquery.periodicalupdater.js +98 -0
  82. data/lib/cortex_reaver/public/js/photo.js +3 -32
  83. data/lib/cortex_reaver/public/robots.txt +3 -0
  84. data/lib/cortex_reaver/snippets/ramaze/cache/memcached.rb +13 -10
  85. data/lib/cortex_reaver/snippets/range.rb +9 -0
  86. data/lib/cortex_reaver/support/attachments.rb +12 -0
  87. data/lib/cortex_reaver/support/comments.rb +1 -3
  88. data/lib/cortex_reaver/support/renderer.rb +20 -17
  89. data/lib/cortex_reaver/support/sequenceable.rb +6 -6
  90. data/lib/cortex_reaver/support/tags.rb +15 -7
  91. data/lib/cortex_reaver/version.rb +1 -1
  92. data/lib/cortex_reaver/view/admin/configuration.rhtml +7 -0
  93. data/lib/cortex_reaver/view/admin/index.rhtml +3 -0
  94. data/lib/cortex_reaver/view/admin/regenerate_photo_sizes.rhtml +16 -0
  95. data/lib/cortex_reaver/view/adminbox.rhtml +34 -44
  96. data/lib/cortex_reaver/view/comments/comment.rhtml +1 -1
  97. data/lib/cortex_reaver/view/comments/form.rhtml +1 -2
  98. data/lib/cortex_reaver/view/comments/post_form.rhtml +2 -10
  99. data/lib/cortex_reaver/view/head.rhtml +11 -0
  100. data/lib/cortex_reaver/view/journals/journal.rhtml +3 -3
  101. data/lib/cortex_reaver/view/journals/show.rhtml +0 -4
  102. data/lib/cortex_reaver/view/js.rhtml +1 -0
  103. data/lib/cortex_reaver/view/pages/list.rhtml +3 -23
  104. data/lib/cortex_reaver/view/pages/row.rhtml +13 -0
  105. data/lib/cortex_reaver/view/photographs/grid.rhtml +30 -36
  106. data/lib/cortex_reaver/view/photographs/show.rhtml +42 -108
  107. data/lib/cortex_reaver/view/sidebar/explore_photos.rhtml +7 -0
  108. data/lib/cortex_reaver/view/sidebar/photographs.rhtml +15 -0
  109. data/lib/cortex_reaver/view/sidebar/sections.rhtml +4 -0
  110. data/lib/cortex_reaver/view/sidebar/twitter.rhtml +12 -0
  111. data/lib/cortex_reaver/view/tags/show.rhtml +0 -10
  112. data/lib/cortex_reaver/view/tracker.rhtml +0 -0
  113. data/lib/cortex_reaver/view/users/list.rhtml +1 -7
  114. data/lib/cortex_reaver/view/users/login.rhtml +1 -1
  115. metadata +103 -43
  116. data/lib/cortex_reaver/controller/project.rb +0 -53
  117. data/lib/cortex_reaver/helper/template.rb +0 -37
  118. data/lib/cortex_reaver/model/project.rb +0 -57
  119. data/lib/cortex_reaver/public/css/ramaze_error.css +0 -90
  120. data/lib/cortex_reaver/public/images/atom-xml-icon.png +0 -0
  121. data/lib/cortex_reaver/public/images/body.png +0 -0
  122. data/lib/cortex_reaver/public/images/border_bottom.png +0 -0
  123. data/lib/cortex_reaver/public/images/border_bottom_left.png +0 -0
  124. data/lib/cortex_reaver/public/images/border_bottom_right.png +0 -0
  125. data/lib/cortex_reaver/public/images/border_left.png +0 -0
  126. data/lib/cortex_reaver/public/images/border_right.png +0 -0
  127. data/lib/cortex_reaver/public/images/border_top.png +0 -0
  128. data/lib/cortex_reaver/public/images/border_top_left.png +0 -0
  129. data/lib/cortex_reaver/public/images/border_top_right.png +0 -0
  130. data/lib/cortex_reaver/public/images/header.png +0 -0
  131. data/lib/cortex_reaver/public/images/header.xcf +0 -0
  132. data/lib/cortex_reaver/public/images/indicator.gif +0 -0
  133. data/lib/cortex_reaver/public/images/rss-xml-icon.png +0 -0
  134. data/lib/cortex_reaver/public/images/sections.png +0 -0
  135. data/lib/cortex_reaver/public/images/sections_highlight.png +0 -0
  136. data/lib/cortex_reaver/public/js/jquery.autocompletefb.js +0 -125
  137. data/lib/cortex_reaver/view/photographs/sidebar.rhtml +0 -7
  138. data/lib/cortex_reaver/view/projects/form.rhtml +0 -14
  139. data/lib/cortex_reaver/view/projects/list.rhtml +0 -31
  140. data/lib/cortex_reaver/view/projects/show.rhtml +0 -42
  141. data/lib/proto/cortex_reaver.yaml +0 -47
@@ -0,0 +1,31 @@
1
+ /* Actions */
2
+ ul.actions {
3
+ margin: 0;
4
+ padding: 2px;
5
+ }
6
+ .actions li {
7
+ color: #000;
8
+ }
9
+ .actions li.elided {
10
+ color: #555;
11
+ }
12
+ .actions li a {
13
+ color: #000;
14
+ }
15
+ .actions li.current {
16
+ background: #fff;
17
+ }
18
+ .actions li.current a {
19
+ color: #000;
20
+ }
21
+
22
+ /* Footer actions on journals, pages, etc */
23
+ .footer .actions {
24
+ font-size: 80%;
25
+ }
26
+ .footer .actions li:before {
27
+ content: '|';
28
+ }
29
+ .footer .actions li:first-child:before {
30
+ content: none;
31
+ }
@@ -1,45 +1,68 @@
1
- #adminbox {
2
- display: none;
3
- padding: 0.5em;
4
- margin: -1px 0 1em 0;
5
- background-color: #eaeaea;
6
- border: 1px solid #aaa;
7
- border-top: none;
1
+ .admin.bar {
2
+ background: #fffaea;
3
+ border-bottom: 1px solid #382700;
4
+ margin: -0;
5
+ padding: 4px 4px;
8
6
  font-size: 80%;
7
+ text-align: center;
8
+ display: none;
9
9
  }
10
10
 
11
- #main #adminbox {
12
- margin: -1em 0em 1em 0em;
11
+ .admin.bar p {
12
+ margin: 0;
13
+ padding: 0;
13
14
  }
14
15
 
15
- #adminbox .actions-table {
16
- width: 100%;
16
+ .admin.bar ul {
17
+ margin: 0;
18
+ padding: 0;
19
+ display: inline;
17
20
  }
18
21
 
19
- #adminbox p {
22
+ .admin.bar li {
23
+ display: inline-block;
20
24
  margin: 0;
21
25
  padding: 0;
22
26
  }
23
27
 
24
- #adminbox td.title {
25
- font-weight: bold;
28
+ .admin.bar .button {
29
+ line-height: 200px;
30
+ background-image: url('/images/admin/icons.png');
31
+ background-repeat: no-repeat;
32
+ height: 32px;
33
+ width: 32px;
34
+ overflow: hidden;
35
+ padding: 0;
36
+ margin: 0px;
37
+ display: block;
26
38
  }
27
39
 
28
- #adminbox input[type=text] {
29
- width: 160px;
40
+ .admin.bar .workflow.actions {
41
+ float: left;
30
42
  }
31
-
32
- #admin_section_actions {
33
- text-align: center;
43
+ .admin.bar .navigation.actions {
34
44
  }
35
-
36
- #admin_page_actions {
45
+ .admin.bar .user.actions {
46
+ float: right;
37
47
  }
38
48
 
39
- #admin_new_actions {
40
- float: left;
41
- }
49
+ .admin.bar a.journals { background-position: 0px 0px }
50
+ .admin.bar a.photographs { background-position: -32px 0px }
51
+ .admin.bar a.pages { background-position: -64px 0px }
52
+ .admin.bar a.tags { background-position: -128px 0px }
53
+ .admin.bar a.comments { background-position: -160px 0px }
54
+ .admin.bar a.users { background-position: -192px 0px }
55
+ .admin.bar a.admin { background-position: -224px 0px }
56
+ .admin.bar a.new { background-position: -256px 0px }
57
+ .admin.bar a.edit { background-position: -288px 0px }
58
+ .admin.bar a.delete { background-position: -320px 0px }
42
59
 
43
- #admin_user_actions {
44
- float: right;
45
- }
60
+ .admin.bar a.new.journal { background-position: 0px -32px }
61
+ .admin.bar a.new.photograph { background-position: -32px -32px }
62
+ .admin.bar a.new.page { background-position: -64px -32px }
63
+
64
+
65
+ .admin.bar a.new.user { background-position: -192px -32px }
66
+
67
+ .admin.bar a.docs { background-position: -288px -32px }
68
+ .admin.bar a.exit { background-position: -320px -32px }
@@ -0,0 +1,11 @@
1
+ .attachments {
2
+ margin-bottom: 1em;
3
+ }
4
+
5
+ .attachments table {
6
+ width: 100%;
7
+ }
8
+
9
+ .attachments td.date {
10
+ text-align: right;
11
+ }
@@ -0,0 +1,38 @@
1
+ .tag-editor {
2
+ float: left;
3
+ width: 600px;
4
+ display: block;
5
+ }
6
+
7
+ .tag-editor ul {
8
+ font-size: 75%;
9
+ list-style-type: none;
10
+ margin: 0;
11
+ padding: 0;
12
+ }
13
+
14
+ .tag-editor ul li {
15
+ display: block;
16
+ float: left;
17
+ background: #EAF8EC;
18
+ border: 1px solid #37B757;
19
+ -webkit-border-radius: 3px;
20
+ -moz-border-radius: 3px;
21
+ padding: 2px;
22
+ margin: 2px;
23
+ }
24
+
25
+ .tag-editor li a {
26
+ color: #000 !important;
27
+ padding: 2px;
28
+ font-weight: bolder;
29
+ text-decoration: none !important;
30
+ margin-left: 2px;
31
+ }
32
+
33
+ .tag-editor input {
34
+ margin: 1px;
35
+ font-size: 75%;
36
+ width: 10em;
37
+ float: left;
38
+ }
@@ -1,12 +1,20 @@
1
- code {
1
+ code.block {
2
2
  display: block;
3
3
  margin: 1em 0;
4
4
  padding: 4pt;
5
5
  color: #fff;
6
6
  background: #000;
7
- /* white-space: pre */
7
+ white-space: pre-wrap;
8
8
  }
9
9
 
10
+ .Identifier { color: #00ffff; font-weight: bold; }
11
+ .Special { color: #ff6060; font-weight: bold; }
12
+ .Constant { color: #ff40ff; font-weight: bold; }
13
+ .Comment { color: #00ffff; font-weight: bold; }
14
+ .Type { color: #00ff00; font-weight: bold; }
15
+ .PreProc { color: #8080ff; font-weight: bold; }
16
+ .Statement { color: #ffff00; font-weight: bold; }
17
+
10
18
  code .r { color: #FCE94F; font-weight: bolder; }
11
19
  code .cl { color: #8AE234; font-weight: bolder;}
12
20
  code .c { color: #34E2E2; }
@@ -0,0 +1,10 @@
1
+ #colophon {
2
+ font-size: 80%;
3
+ margin: 20px auto;
4
+ color: #ccc;
5
+ text-align: center;
6
+ }
7
+
8
+ #colophon a {
9
+ color: #fff;
10
+ }
@@ -0,0 +1,7 @@
1
+ .journal > .comments {
2
+ margin-top: 2em;
3
+ }
4
+
5
+ .comment {
6
+ margin-bottom: 10px;
7
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,17 @@
1
+ .flash {
2
+ width: 700px;
3
+ padding: 0.5em;
4
+ margin: 10px;
5
+ }
6
+
7
+ #flash_notice {
8
+ border: 1px solid #00b;
9
+ color: #00b;
10
+ background: #e6e6ff;
11
+ }
12
+
13
+ #flash_error {
14
+ border: 1px solid #b00;
15
+ color: #b00;
16
+ background: #ffe6e6;
17
+ }
@@ -0,0 +1,22 @@
1
+ body {
2
+ font-size: 14px;
3
+ font-family: sans-serif;
4
+ }
5
+
6
+ h1 {
7
+ margin-top: 0;
8
+ font-size: 180%
9
+ }
10
+
11
+ h2 {
12
+ font-size: 150%;
13
+ margin-top: 0;
14
+ }
15
+
16
+ h3 {
17
+ font-size: 120%;
18
+ }
19
+
20
+ .byline {
21
+ font-size: 75%;
22
+ }
@@ -1,8 +1,12 @@
1
1
  textarea {
2
- width: 90%;
2
+ width: 99%;
3
3
  height: 400px;
4
4
  }
5
5
 
6
+ form p {
7
+ clear: both;
8
+ }
9
+
6
10
  .comment-form label {
7
11
  width: 4em;
8
12
  margin-top: 2px;
@@ -24,6 +28,12 @@ textarea {
24
28
  margin-top: 2px;
25
29
  float: left;
26
30
  }
31
+
32
+ .edit-form label.textarea {
33
+ width: auto;
34
+ float: none;
35
+ }
36
+
27
37
  .edit-form label.checkbox {
28
38
  width: auto;
29
39
  float: none;
@@ -93,7 +103,9 @@ textarea {
93
103
  cursor: default;
94
104
  display: block;
95
105
  width: 100%;
96
- font: bold menu 12px;
106
+ font: menu;
107
+ font-weight: bolder;
108
+ font-size: 12px;
97
109
  overflow: hidden;
98
110
  -moz-user-select: none;
99
111
  -khtml-user-select: none;
@@ -110,7 +122,7 @@ textarea {
110
122
  padding: 1px 5px 2px;
111
123
  background: transparent;
112
124
  margin: 0 5px 4px 0;
113
- font: 11px "Lucida Grande", "Verdana";
125
+ font: 11px;
114
126
  }
115
127
 
116
128
  * html ul.acfb-holder,*:first-child+html ul.acfb-holder {
@@ -0,0 +1,39 @@
1
+ img {
2
+ border: none;
3
+ margin: 0;
4
+ }
5
+
6
+ a {
7
+ text-decoration: none;
8
+ }
9
+
10
+ a[href]:hover {
11
+ text-decoration: underline;
12
+ }
13
+
14
+ a > img {
15
+ display: block;
16
+ }
17
+
18
+ th {
19
+ text-align: left;
20
+ }
21
+
22
+ .clear {
23
+ height: 0px;
24
+ width: 0px;
25
+ clear: both;
26
+ }
27
+
28
+ .dont-read-me {
29
+ display: none;
30
+ }
31
+
32
+ .draft, .draft h2 a {
33
+ color: #777;
34
+ }
35
+
36
+ .current {
37
+ font-weight: bolder;
38
+ }
39
+
@@ -0,0 +1,4 @@
1
+ .footer .icon, .icon {
2
+ display: inline;
3
+ margin: 2px 0px -1px 0px;
4
+ }
@@ -0,0 +1,3 @@
1
+ .journal {
2
+ margin-bottom: 2em;
3
+ }
@@ -1,336 +1,54 @@
1
1
  body {
2
- font-family: sans-serif;
3
- font-size: 90%;
4
- margin: 0;
5
- padding: 0;
6
- background: #f6f6f6 url(/images/body.png) repeat-x scroll 0px 0px;
7
- }
8
-
9
- body.blank {
10
- padding: 0em 1em;
11
- }
12
-
13
- img {
14
- border: none;
15
- margin: 0;
16
- }
17
-
18
- a {
19
- text-decoration: none;
20
- }
21
-
22
- a[href]:hover {
23
- text-decoration: underline;
24
- }
25
-
26
- a > img {
27
- display: block;
28
- }
29
-
30
- h2 {
31
- font-size: 140%;
32
- border-bottom: 1px solid #aaa;
33
- margin-top: 0px;
34
- margin-bottom: 0px;
35
- }
36
-
37
- .comment h2 {
38
- font-size: 120%;
39
- }
40
-
41
- h3 {
42
- font-size: 120%;
43
- }
44
-
45
- h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
2
+ background: url('/images/background_tile.png');
46
3
  color: #000;
4
+ margin: 0;
47
5
  }
48
6
 
49
- th {
50
- text-align: left;
7
+ #content {
8
+ width: 970px;
9
+ position: relative;
10
+ margin: auto;
11
+ background: #fee;
51
12
  }
52
13
 
53
14
  #top {
54
- margin: 0px auto;
55
- width: 760px;
56
- height: 210px;
57
- background: transparent;
58
- text-align: center;
59
- border-width: 0px 1px;
60
- border-style: solid;
61
- border-color: #666;
62
- }
63
-
64
- #sections {
65
- margin: 0px auto;
15
+ padding: 20px 10px 10px 10px;
16
+ text-align: right;
17
+ position: absolute;
18
+ display: block;
19
+ height: 100px;
66
20
  width: 760px;
67
- background: url(/images/sections.png) repeat-x;
68
- height: 24px;
69
- font-size: 12px;
70
- text-align: center;
71
- border-width: 0px 1px;
72
- border-style: solid;
73
- border-color: #666;
74
- }
75
-
76
- #sections ul {
77
- margin: 0px;
78
- padding: 4px 0px;
79
- }
80
-
81
- #sections li {
82
- margin: 1em 1em;
83
- display: inline;
84
- }
85
-
86
- #sections a, #sections a:hover, #sections a:visited, #sections a:active {
21
+ left: 0px;
87
22
  color: #fff;
88
23
  }
89
24
 
90
- #middle {
91
- margin: 0px auto;
92
- width: 760px;
93
- border: 1px solid #666;
94
- }
95
-
96
- #columns {
97
- margin: 0px;
98
- padding: 0px;
99
- width: 100%;
100
- border-collapse: collapse;
101
- }
102
-
103
- #main {
104
- vertical-align: top;
105
- background: #fff;
106
- padding: 0.8em;
107
- border-top: none;
108
- }
109
-
110
- #sidebar {
111
- vertical-align: top;
112
- background: #c6c6c6;
113
- padding: 6px;
114
- border-left: 1px solid #bbb;
115
- width: 158px;
116
- }
117
-
118
- #sidebar .box {
119
- background-color: #fff;
120
- margin-top: 6px;
121
- padding: 4px;
122
- }
123
-
124
- #sidebar .box:first-child {
125
- margin: 0;
126
- }
127
-
128
- #colophon {
129
- font-size: 80%;
130
- margin: 2em;
131
- padding: 2em;
132
- text-align: center;
133
- }
134
-
135
-
136
-
137
- /* Actions */
138
- .actions {
139
- margin: 0px;
140
- padding: 0px;
141
- }
142
-
143
- .actions li {
144
- display: inline;
145
- }
146
-
147
- .actions li:before {
148
- content: ' | ';
149
- }
150
-
151
- .actions li:first-child:before {
152
- content: none;
153
- }
154
-
155
-
156
- /* Navigation actions */
157
-
158
- .actions.navigation {
159
- width: 100%;
160
- position: relative;
161
- text-align: center;
162
- }
163
-
164
- .actions.navigation:first-child {
165
- margin-bottom: 1em;
25
+ #top h1 {
26
+ margin-top: 16px;
166
27
  }
167
28
 
168
- .actions.navigation .previous {
169
- position: absolute;
170
- left: 0px;
171
- }
172
-
173
- .actions.navigation .up {
29
+ #top a {
30
+ color: #fff;
174
31
  }
175
32
 
176
- .actions.navigation .next {
33
+ #boxes {
177
34
  position: absolute;
35
+ width: 170px;
36
+ top: 100px;
178
37
  right: 0px;
179
38
  }
180
39
 
181
-
182
- /* Nav styles */
183
- .pagination.actions {
184
- text-align: center;
185
- }
186
-
187
- .pagination.actions li {
188
- margin-right: 0.15em;
189
- margin-left: 0.15em;
190
- }
191
-
192
- .pagination.actions li:before {
193
- content: none;
194
- }
195
-
196
-
197
- /* Flash */
198
- .flash {
199
- padding: 0.5em;
200
- margin: 1em 0;
201
- }
202
-
203
- #flash_notice {
204
- border: 1px solid #00b;
205
- color: #00b;
206
- background: #e6e6ff;
207
- }
208
-
209
- #flash_error {
210
- border: 1px solid #b00;
211
- color: #b00;
212
- background: #ffe6e6;
213
- }
214
-
215
-
216
- /* Table of Contents */
217
- .table-of-contents {
218
- margin: 1em auto 2em auto;
219
- border: 1px solid #ccc;
220
- padding: 0 0.6em 0.6em 0.6em;
221
- font-size: 80%;
222
- }
223
-
224
- .table-of-contents h2 {
225
- position: relative;
226
- top: -0.6em;
227
- left: 2em;
228
- padding: 0 0.25em;
229
- background-color: #fff;
230
- border: none;
231
- display: inline;
232
- width: auto;
233
- }
234
-
235
- .table-of-contents .date {
236
- padding-right: 1em;
237
- }
238
-
239
-
240
- /* Misc */
241
- .clear {
242
- height: 0px;
243
- width: 0px;
244
- clear: both;
245
- }
246
-
247
- .dont-read-me {
248
- display: none;
249
- }
250
-
251
- .draft, .draft h2 a {
252
- color: #777;
253
- }
254
-
255
- .current {
256
- font-weight: bolder;
257
- }
258
-
259
- .byline {
260
- font-size: 75%;
261
- }
262
-
263
- ul.tags {
264
- margin: 0px;
265
- padding: 0px;
266
- background: url(/images/tag.gif) no-repeat;
267
- background-position: 0px 3px;
268
- padding-left: 12px;
269
- }
270
-
271
- .tags li {
272
- display: inline;
273
- }
274
-
275
- .tags li:before {
276
- content: ', '
277
- }
278
-
279
- .tags li:first-child:before {
280
- content: none;
281
- }
282
-
283
- /* Icons */
284
- .footer .icon, .icon {
285
- display: inline;
286
- margin: 2px 0px -1px 0px;
287
- }
288
-
289
- /* Attachments */
290
- .attachments {
291
- margin-bottom: 1em;
292
- }
293
-
294
- .attachments table {
295
- width: 100%;
296
- }
297
-
298
- .attachments td.date {
299
- text-align: right;
300
- }
301
-
302
- /* Tags */
303
- .tags > table {
304
- width: 100%;
305
- }
306
-
307
- .tags > table thead {
308
- display: none;
309
- }
310
-
311
- /* Projects */
312
- .projects > table {
313
- width: 100%;
314
- }
315
- .projects > table thead {
316
- display: none;
317
- }
318
-
319
- /* Users */
320
- table.users {
321
- width: 100%;
40
+ #main-container {
41
+ position: absolute;
42
+ left: 0px;
43
+ top: 100px;
44
+ width: 780px;
322
45
  }
323
46
 
324
- /* Percentage Bar */
325
- .percent-bar {
326
- display: block;
327
- background-color: #3366ff;
328
- color: #fff;
329
- font-size: 75%;
330
- padding: 0.2em;
47
+ body.blank #main-container {
48
+ width: 900px;
331
49
  }
332
50
 
333
- /* Page Footer */
334
- .footer {
335
- font-size: 75%;
51
+ #main {
52
+ min-height: 260px;
53
+ padding: 10px;
336
54
  }