more and more

This commit is contained in:
Galen Wolfe-Pauly 2015-10-19 16:27:22 -07:00
parent 1b4dd86073
commit 51c30a9202
8 changed files with 20 additions and 4 deletions

View File

@ -92,12 +92,17 @@ html {
}
a {
color: #000;
border-bottom: 1px solid #000;
text-decoration: none;
display: inline-block;
line-height: 0.8rem;
}
a:visited {
opacity: 0.5;
}
a code {
line-height: inherit;
}
hr {
display: inline-block;
width: 6rem;
@ -146,6 +151,7 @@ pre {
background-color: #f5f5f5;
padding: 0.3rem;
margin-left: -0.3rem;
white-space: pre-line;
}
code {
line-height: 1.2rem;
@ -266,7 +272,7 @@ h3.time {
overflow: hidden;
}
#nav #sibs > div {
margin-bottom: 4px;
margin-bottom: 0.6rem;
}
.focus #sibs {
margin-top: 0 !important;

View File

@ -22,12 +22,17 @@ html
a
color #000
border-bottom 1px solid #000
text-decoration none
display inline-block
line-height .8rem
a:visited
opacity .5
a code
line-height inherit
hr
display inline-block
width 6rem
@ -76,6 +81,7 @@ pre
background-color #f5f5f5
padding .3rem
margin-left -.3rem
white-space pre-line
code
line-height 1.2rem
@ -193,7 +199,7 @@ h3.time
overflow hidden
#nav #sibs > div
margin-bottom 4px
margin-bottom .6rem
.focus #sibs
margin-top 0 !important

View File

@ -15,7 +15,7 @@ module.exports = query {body:'r',path:'t',meta:'j'}, recl
body.unshift((img {className:"logo #{@props.meta.logo}"}, ""))
if @props.meta.footer?
body.push((div {className:"footer"}, [
(p {}, "This page was generated by one of 2^32 Urbit planets.")])
(p {}, "This page was served by Urbit.")])
)
(div {
id:'body',

View File

@ -43,6 +43,7 @@ module.exports = query {
for item in _.values _keys
path = @props.path+"/"+item
elem = @props.kids[item]
if elem.meta.hide? then continue
href = window.tree.basepath path
if elem.meta.link then href = elem.meta.link
parts = []

View File

@ -466,7 +466,7 @@ module.exports = query({
if (this.props.meta.footer != null) {
body.push(div({
className: "footer"
}, [p({}, "This page was generated by one of 2^32 Urbit planets.")]));
}, [p({}, "This page was served by Urbit.")]));
}
return div({
id: 'body',
@ -743,6 +743,9 @@ module.exports = query({
item = ref5[i];
path = this.props.path + "/" + item;
elem = this.props.kids[item];
if (elem.meta.hide != null) {
continue;
}
href = window.tree.basepath(path);
if (elem.meta.link) {
href = elem.meta.link;