websites.concatenative: cleanup css a bit.
parent
5ab131108a
commit
a59a4fef02
|
@ -9,16 +9,16 @@
|
|||
<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/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>
|
||||
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
<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/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>
|
||||
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
|
||||
<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/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>
|
||||
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
|
||||
<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/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>
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
<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/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>
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
|
||||
<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>
|
||||
|
|
|
@ -8,10 +8,13 @@
|
|||
|
||||
<t:style t:include="resource:extra/webapps/wiki/wiki.css" />
|
||||
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<div id="container">
|
||||
|
||||
<div id="left">
|
||||
|
||||
<t:if t:value="contents">
|
||||
<td valign="top" style="width: 210px;">
|
||||
|
||||
<t:style t:include="resource:extra/webapps/wiki/wiki-contents.css" />
|
||||
<div class="contents">
|
||||
<t:bind t:name="contents">
|
||||
<h2>
|
||||
|
@ -23,46 +26,50 @@
|
|||
<t:farkup t:name="content" />
|
||||
</t:bind>
|
||||
</div>
|
||||
</td>
|
||||
</t:if>
|
||||
|
||||
<td valign="top">
|
||||
</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: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: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>
|
||||
|
||||
<div class="page">
|
||||
<h1><t:write-title /></h1>
|
||||
|
||||
<t:call-next-template />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
|
||||
<t:if t:value="footer">
|
||||
<tr>
|
||||
<td colspan="2" class="footer">
|
||||
<div class="footer">
|
||||
<t:bind t:name="footer">
|
||||
<t:farkup t:name="content" />
|
||||
</t:bind>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</t:if>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<span style="display:none"></span>
|
||||
|
||||
</div>
|
||||
|
||||
</t:chloe>
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#left {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
#right {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.comparison th {
|
||||
border-width: 1px;
|
||||
border-color: #666;
|
||||
|
@ -39,13 +56,36 @@
|
|||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
|
|
@ -1,23 +1,35 @@
|
|||
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%;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.link-button {
|
||||
padding: 0px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
a:link, a:visited, .link {
|
||||
color: #222;
|
||||
border-bottom:1px dotted #666;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:hover, .link:hover {
|
||||
border-bottom:1px solid #66a;
|
||||
}
|
||||
a, .link { color: #104e8b; }
|
||||
a:link, a:visited, a:active, .link { text-decoration: none; }
|
||||
a:hover, .link:hover { text-decoration: underline; }
|
||||
|
||||
.error { color: #a00; }
|
||||
|
||||
|
@ -32,32 +44,35 @@ a:hover, .link:hover {
|
|||
}
|
||||
|
||||
.navbar {
|
||||
background-color: #eeeee0;
|
||||
padding: 5px;
|
||||
border: 1px solid #ccc;
|
||||
margin: 0;
|
||||
padding: 15px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.navbar a, .navbar .link {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.big-field-label {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.description {
|
||||
padding: 5px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.description pre {
|
||||
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;
|
||||
|
@ -75,4 +90,3 @@ a:hover, .link:hover {
|
|||
padding: 4px;
|
||||
border-width: 1px 1px 0 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue