tree@dad34f4

This commit is contained in:
Galen Wolfe-Pauly 2016-04-19 10:22:39 -07:00
parent 9b5372af38
commit a469654081
3 changed files with 29 additions and 22 deletions

View File

@ -6069,6 +6069,13 @@ h3.child {
padding-bottom: 0; padding-bottom: 0;
} }
blockquote {
padding-left: 1rem;
font-style: italic;
color: #55595c;
border-left: 3px solid #b1b7bd;
}
.gray { .gray {
color: #55595c; color: #55595c;
} }

View File

@ -97,40 +97,31 @@ div.logo.inverse:before {
.loading.state-3:before { .loading.state-3:before {
content: "\25D0"; } content: "\25D0"; }
@media (min-width: 544px) {
.ctrl {
width: 114px; }
.ctrl.open,
.ctrl:hover {
max-width: 258px;
min-width: 114px;
width: auto; } }
@media (min-width: 768px) { @media (min-width: 768px) {
.ctrl { .ctrl {
width: 150px; } width: 180px; }
.ctrl.open, .ctrl.open,
.ctrl:hover { .ctrl:hover {
max-width: 330px; max-width: 360px;
min-width: 150px; min-width: 180px;
width: auto; } } width: auto; } }
@media (min-width: 992px) { @media (min-width: 992px) {
.ctrl { .ctrl {
width: 205px; } width: 235px; }
.ctrl.open, .ctrl.open,
.ctrl:hover { .ctrl:hover {
max-width: 440px; max-width: 470px;
min-width: 205px; min-width: 235px;
width: auto; } } width: auto; } }
@media (min-width: 1200px) { @media (min-width: 1200px) {
.ctrl { .ctrl {
width: 255px; } width: 285px; }
.ctrl.open, .ctrl.open,
.ctrl:hover { .ctrl:hover {
max-width: 540px; max-width: 570px;
min-width: 255px; min-width: 285px;
width: auto; } } width: auto; } }
#head .loading { #head .loading {
@ -550,6 +541,12 @@ div.logo.inverse:before {
padding-top: 3rem; padding-top: 3rem;
padding-bottom: 6rem; } padding-bottom: 6rem; }
@media (max-width: 767px) {
#tree > div > .container {
padding-top: 0; }
.body {
padding-top: 1rem; } }
.lead h1:first-of-type { .lead h1:first-of-type {
padding-bottom: 0; } padding-bottom: 0; }

View File

@ -119,8 +119,11 @@ ref = React.DOM, div = ref.div, span = ref.span, code = ref.code;
fragsrc = function(src, basePath) { fragsrc = function(src, basePath) {
var base, pathname; var base, pathname;
if (src != null) { if (src != null) {
base = new URL(document.location); basePath = util.basepath(basePath);
base.pathname = util.basepath(basePath); if (basePath.slice(-1) !== "/") {
basePath += "/";
}
base = new URL(basePath, document.location);
pathname = new URL(src, base).pathname; pathname = new URL(src, base).pathname;
return util.fragpath(pathname); return util.fragpath(pathname);
} }
@ -476,7 +479,7 @@ module.exports = query({
body: true body: true
}; };
if (this.props.meta.anchor !== 'none' && this.props.meta.navmode !== 'navbar') { if (this.props.meta.anchor !== 'none' && this.props.meta.navmode !== 'navbar') {
innerClas['col-md-10'] = true; innerClas['col-md-9'] = true;
innerClas['col-md-offset-3'] = true; innerClas['col-md-offset-3'] = true;
} }
if (this.props.meta.navmode === 'navbar' && this.props.meta.container !== 'false') { if (this.props.meta.navmode === 'navbar' && this.props.meta.container !== 'false') {
@ -519,7 +522,7 @@ module.exports = query({
render: function() { render: function() {
return div({ return div({
id: 'body', id: 'body',
className: "col-md-offset-3 col-md-10" className: "col-md-offset-3 col-md-9"
}, rele(load)); }, rele(load));
} }
})); }));