A lot of projects ported from the old metanohi site.
This commit is contained in:
@@ -41,7 +41,7 @@ set_min_height = function() {
|
||||
metadiv.style.width = (contentdiv.offsetWidth - 42) + 'px';
|
||||
contentdiv.style.paddingBottom = h + 'px';
|
||||
|
||||
h = wh - h - menudiv.offsetHeight - 145;
|
||||
h = wh - h - menudiv.offsetHeight - 165;
|
||||
contentdiv.style.minHeight = h + 'px';
|
||||
};
|
||||
|
||||
|
||||
@@ -304,14 +304,14 @@ del {
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 4px 0;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
|
||||
/* Lists */
|
||||
|
||||
ul, ol {
|
||||
margin-bottom: 4px;
|
||||
margin-top: 5px;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
@@ -370,7 +370,7 @@ dl > dl {
|
||||
/* Tables */
|
||||
|
||||
table {
|
||||
margin: 0 auto;
|
||||
margin: 5px auto;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
@@ -529,7 +529,11 @@ div.left-float, img.left-float, video.left-float, audio.left-float {
|
||||
border: 1px outset black;
|
||||
}
|
||||
|
||||
.note p, .warning p {
|
||||
.notice {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
.notice p, .note p, .warning p {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!--@exec
|
||||
page.title = run_macros(page.title)
|
||||
page.summary = run_macros(page.summary)
|
||||
if page.is_dynamic:
|
||||
page.title = run_macros(page.title)
|
||||
page.summary = run_macros(page.summary)
|
||||
@--><?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN'
|
||||
'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
|
||||
@@ -88,7 +89,7 @@ for x in('projects', 'writings', 'about', 'sitemap'):
|
||||
<!--@eval run_macros(page.metadata_html)@-->
|
||||
<!--@exec
|
||||
if page.is_dynamic:
|
||||
print("<p><a href='{}'>View source</a></p>".format(page.sourcepath), end='')@-->
|
||||
print("<p><a href='{}' rel='nofollow'>View source</a></p>".format(page.sourcepath), end='')@-->
|
||||
</div>
|
||||
</div>
|
||||
<div id='logo'>
|
||||
|
||||
Reference in New Issue
Block a user