<div class="navbar">
- <t:a t:href="$blogs/">All Posts</t:a>
- | <t:a t:href="$blogs/by">My Posts</t:a>
- | <t:a t:href="$blogs/new-post">New Post</t:a>
+ <t:a t:href="$blogs/">All Posts</t:a>
+ <t:a t:href="$blogs/by">My Posts</t:a>
+ <t:a t:href="$blogs/new-post">New Post</t:a>
<t:if t:code="furnace.auth:logged-in?">
<t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
</t:if>
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+ <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
</t:if>
<div class="navbar">
- <t:a t:href="$pastebin">Pastes</t:a>
- | <t:a t:href="$pastebin/new-paste">New Paste</t:a>
+ <t:a t:href="$pastebin">Pastes</t:a>
+ <t:a t:href="$pastebin/new-paste">New Paste</t:a>
<t:if t:code="furnace.auth:logged-in?">
<t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
</t:if>
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+ <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
</t:if>
<t:style t:include="resource:extra/webapps/planet/planet.css" />
<div class="navbar">
- <t:a t:href="$planet">Front Page</t:a>
- | <t:a t:href="$planet/feed.xml">Atom Feed</t:a>
- | <t:a t:href="$planet/admin">Admin</t:a>
+ <t:a t:href="$planet">Front Page</t:a>
+ <t:a t:href="$planet/feed.xml">Atom Feed</t:a>
+ <t:a t:href="$planet/admin">Admin</t:a>
<t:if t:code="furnace.auth:logged-in?">
<t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
</t:if>
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+ <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
</t:if>
</div>
<body>
<div class="navbar">
- <t:a t:href="$todo-list/list">List Items</t:a>
- | <t:a t:href="$todo-list/new">Add Item</t:a>
+ <t:a t:href="$todo-list/list">List Items</t:a>
+ <t:a t:href="$todo-list/new">Add Item</t:a>
<t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
</t:if>
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+ <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
</div>
<h1><t:write-title /></h1>
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
<div class="navbar">
- <t:a t:href="$user-admin">List Users</t:a>
- | <t:a t:href="$user-admin/new">Add User</t:a>
+ <t:a t:href="$user-admin">List Users</t:a>
+ <t:a t:href="$user-admin/new">Add User</t:a>
<t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
</t:if>
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+ <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
</div>
<h1><t:write-title /></h1>
<div class="navbar">
<t:a t:href="$wiki/view" t:rest="title">Latest</t:a>
- | <t:a t:href="$wiki/revisions" t:rest="title">Revisions</t:a>
- | <t:a t:href="$wiki/edit" t:rest="title" rel="nofollow">Edit</t:a>
- | <t:button t:action="$wiki/delete" t:for="title" class="link-button link">Delete</t:button>
+ <t:a t:href="$wiki/revisions" t:rest="title">Revisions</t:a>
+ <t:a t:href="$wiki/edit" t:rest="title" rel="nofollow">Edit</t:a>
+ <t:button t:action="$wiki/delete" t:for="title" class="link-button link">Delete</t:button>
</div>
</t:chloe>
<t:style t:include="resource:extra/webapps/wiki/wiki.css" />
- <table width="100%">
- <tr>
- <t:if t:value="contents">
- <td valign="top" style="width: 210px;">
- <div class="contents">
- <t:bind t:name="contents">
- <h2>
- <t:a t:href="$wiki/view" t:rest="title">
- <t:label t:name="title" />
- </t:a>
- </h2>
-
- <t:farkup t:name="content" />
- </t:bind>
- </div>
- </td>
- </t:if>
-
- <td valign="top">
-
- <div class="navbar">
-
- <t:a t:href="$wiki">Front Page</t:a>
- | <t:a t:href="$wiki/articles">All Articles</t:a>
- | <t:a t:href="$wiki/changes">Recent Changes</t:a>
- | <t:a t:href="$wiki/random">Random Article</t:a>
-
- <t:if t:code="furnace.auth:logged-in?">
-
- <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
- | <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
- </t:if>
-
- | <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
-
- </t:if>
-
- </div>
-
- <h1><t:write-title /></h1>
-
- <t:call-next-template />
-
- </td>
- </tr>
-
- <t:if t:value="footer">
- <tr>
- <td colspan="2" class="footer">
- <t:bind t:name="footer">
- <t:farkup t:name="content" />
- </t:bind>
- </td>
- </tr>
- </t:if>
- </table>
+ <div id="container">
+
+ <div id="left">
+
+ <t:if t:value="contents">
+
+ <t:style t:include="resource:extra/webapps/wiki/wiki-contents.css" />
+ <div class="contents">
+ <t:bind t:name="contents">
+ <h2>
+ <t:a t:href="$wiki/view" t:rest="title">
+ <t:label t:name="title" />
+ </t:a>
+ </h2>
+
+ <t:farkup t:name="content" />
+ </t:bind>
+ </div>
+ </t:if>
+
+ </div>
+
+ <div id="right">
+
+ <div class="navbar">
+
+ <t:a t:href="$wiki">Front Page</t:a>
+ <t:a t:href="$wiki/articles">All Articles</t:a>
+ <t:a t:href="$wiki/changes">Recent Changes</t:a>
+ <t:a t:href="$wiki/random">Random Article</t:a>
+
+ <t:if t:code="furnace.auth:logged-in?">
+
+ <t:if t:code="furnace.auth.features.edit-profile:allow-edit-profile?">
+ <t:a t:href="$realm/edit-profile" t:aside="begin">Edit Profile</t:a>
+ </t:if>
+
+ <t:button t:action="$login-realm/logout" t:aside="begin" class="link-button link">Logout</t:button>
+
+ </t:if>
+
+ </div>
+
+ <div class="page">
+ <h1><t:write-title /></h1>
+
+ <t:call-next-template />
+
+ </div>
+
+ <t:if t:value="footer">
+ <div class="footer">
+ <t:bind t:name="footer">
+ <t:farkup t:name="content" />
+ </t:bind>
+ </div>
+ </t:if>
+
+ </div>
+
+ <span style="display:none"></span>
+
+ </div>
</t:chloe>
+body {
+ margin: 0;
+}
+
+#container {
+ margin: 0 auto;
+ width: 100%;
+}
+
+#left {
+ width: 0;
+}
+
+#right {
+ max-width: 800px;
+}
+
.comparison th {
border-width: 1px;
border-color: #666;
}
.contents {
- padding: 4px;
- margin: 4px;
- border: 1px dashed gray;
- background: #f5f1fd;
- width: 200px;
+ font-size: smaller;
+ margin: 0;
+ padding: 0;
+ padding-left: 10px;
+ padding-right: 10px;
+ line-height: 125%;
+}
+
+.contents ul {
+ list-style-type: none;
+ margin: 0;
+ padding-left: 10px;
+}
+
+.page {
+ padding-left: 15px;
+ padding-right: 15px;
+ padding-bottom: 15px;
+}
+
+.page .navbar {
+ margin-left: -15px;
+ margin-right: -15px;
+ margin-bottom: -15px;
+ border-top: 1px solid #ccc;
+ border-bottom: none;
}
.footer {
- font-size: 75%;
+ border-top: 1px solid #ccc;
+ padding-left: 15px;
+ font-size: smaller;
}
+html {
+ box-sizing: border-box;
+}
+
+*, *:before, *:after {
+ box-sizing: inherit;
+}
+
body, button {
- font:9pt "Lucida Grande", "Lucida Sans Unicode", verdana, geneva, sans-serif;
- color:#444;
+ font-size: 12pt;
+ font-family: sans-serif;
+ line-height: 140%;
}
-.link-button {
- padding: 0px;
- background: none;
- border: none;
+textarea {
+ font-size: 12pt;
}
-a:link, a:visited, .link {
- color: #222;
- border-bottom:1px dotted #666;
- text-decoration:none;
+table {
+ border-spacing: 0;
+ border-collapse: collapse;
}
-a:hover, .link:hover {
- border-bottom:1px solid #66a;
+.link-button {
+ padding: 0;
+ background: none;
+ border: none;
}
+a, .link { color: #104e8b; }
+a:link, a:visited, a:active, .link { text-decoration: none; }
+a:hover, .link:hover { text-decoration: underline; }
+
.error { color: #a00; }
.errors li { color: #a00; }
.field-label {
- text-align: right;
+ text-align: right;
}
.inline {
- display: inline;
+ display: inline;
}
.navbar {
- background-color: #eeeee0;
- padding: 5px;
- border: 1px solid #ccc;
+ margin: 0;
+ padding: 15px;
+ border-bottom: 1px solid #ccc;
}
-.big-field-label {
- vertical-align: top;
+.navbar a, .navbar .link {
+ margin-right: 10px;
}
-.description {
- padding: 5px;
- color: #000;
+.big-field-label {
+ vertical-align: top;
}
.description pre {
- border: 1px dashed #ccc;
- background-color: #f5f5f5;
+ padding: 5px;
+ border: 1px dashed #ccc;
+ background-color: #f5f5f5;
+ overflow: auto;
+ font-size: smaller;
}
-.description p:first-child {
- margin-top: 0px;
-}
+.description h1 { font-size: 1.5em; }
+.description h2 { font-size: 1.17em; }
+.description h3 { font-size: 1.0em; }
+.description h4 { font-size: 0.83em; }
+.description h5 { font-size: 0.67em; }
-.description p:last-child {
- margin-bottom: 0px;
-}
+.description p:first-child { margin-top: 0px; }
+.description p:last-child { margin-bottom: 0px; }
.description table, .description td {
border-color: #666;
padding: 4px;
border-width: 1px 1px 0 0;
}
-