The "easyweb" (ie. EWM) alternative stylesheet now displays the
authorrich <rich>
Thu, 9 Sep 2004 10:16:19 +0000 (10:16 +0000)
committerrich <rich>
Thu, 9 Sep 2004 10:16:19 +0000 (10:16 +0000)
site menu and edit menu on the left.

Removed &nbsp;'s from items on the edit menu to allow them to wrap.

html/_css/easyweb.css
templates/page.html

index 574ede7..34a2dce 100644 (file)
@@ -1,6 +1,64 @@
 /* Stylesheet for EWM.
- * $Id: easyweb.css,v 1.1 2004/09/08 17:07:24 rich Exp $
+ * $Id: easyweb.css,v 1.2 2004/09/09 10:16:19 rich Exp $
  */
 
 /* Based on the standard stylesheet. */
-@import url("/_css/standard.css");
\ No newline at end of file
+@import url("/_css/standard.css");
+
+body {
+  margin-top: 4em;
+  margin-left: 8em;
+}
+
+/* Make the top menu disappear.  It's only appropriate for wikis. */
+ul#topmenu {
+  display: none;
+}
+
+/* Put the bottom menu on the right, and revert it to a list style. */
+ul#bottommenu {
+  position: absolute;
+
+  margin: 0px;
+  padding: 0px;
+  border: 0px;
+
+  top: 4em;
+  left: 10px;
+  width: 7.4em;
+
+  list-style-type: square;
+}
+
+ul#bottommenu li {
+  display: list-item;
+
+  padding-left: 0px;
+  margin-left: 8px;
+  border-left: none;
+  margin-bottom: 0.7em;
+}
+
+/* Edit menu. */
+ul#editmenu {
+  position: absolute;
+
+  margin: 0px;
+  padding: 0px;
+  border: 0px;
+
+  top: 24em;
+  left: 10px;
+  width: 7.4em;
+
+  list-style-type: square;
+}
+
+ul#editmenu li {
+  display: list-item;
+
+  padding-left: 0px;
+  margin-left: 8px;
+  border-left: none;
+  margin-bottom: 0.7em;
+}
index 22bfbd1..d692949 100644 (file)
 </ul>
 
 <ul id="editmenu" class="menu">
-<li class="first"> ::if(user_logged_in):: ::username_html:: <a href="/_logout">(logout)</a> ::else:: <a href="/_login">Create&nbsp;account&nbsp;or&nbsp;log&nbsp;in</a> ::end:: </li>
+<li class="first"> ::if(user_logged_in):: ::username_html:: <a href="/_logout">(logout)</a> ::else:: <a href="/_login">Create account or log in</a> ::end:: </li>
 ::if(can_edit)::
-<li> <a href="/::page_html_tag::/edit"><strong>Edit&nbsp;this&nbsp;page</strong></a> </li>
-<li> <a href="/_recent">Recent&nbsp;changes</a> </li>
-<li> <a href="/::page_html_tag::/history">Versions&nbsp;of&nbsp;this&nbsp;page</a> </li>
+<li> <a href="/::page_html_tag::/edit"><strong>Edit this page</strong></a> </li>
+<li> <a href="/_recent">Recent changes</a> </li>
+<li> <a href="/::page_html_tag::/history">Versions of this page</a> </li>
 <li> <a href="/_images">Images</a> </li>
 <li> <a href="/_files">Files</a> </li>
-<li> <a href="/::page_html_tag::/editcss">Edit&nbsp;stylesheet&nbsp;for&nbsp;this&nbsp;page</a> </li>
-<li> <a href="/_bin/edit_sitemenu.cmo">Edit&nbsp;site&nbsp;menu</a> </li>
+<li> <a href="/::page_html_tag::/editcss">Edit stylesheet for this page</a> </li>
+<li> <a href="/_bin/edit_sitemenu.cmo">Edit site menu</a> </li>
 ::end::
 ::if(can_manage_users)::
-<li> <a href="/_users">Manage&nbsp;users</a> </li>
+<li> <a href="/_users">Manage users</a> </li>
 ::end::
 ::if(can_edit)::
-<li> <a href="/_bin/admin/admin.cmo">Server&nbsp;administration</a> </li>
+<li> <a href="/_bin/admin/admin.cmo">Server administration</a> </li>
 ::end::
 </ul>