Series/Details rezie title

New: Series title will resize on details page if its too long
pull/4/head
Mark McDowall 12 years ago
parent a149a3ab5b
commit 50ad661a95

@ -65,12 +65,9 @@ hr
#logo
{
font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif;
font-weight: 100;
height: 135px;
background: url(images/logo.png) no-repeat left top;
background-color: #065EFE;
font-size: 110px;
color: white; /**color: rgb(40, 40, 40);**/
text-transform: lowercase;
letter-spacing: -1px;
@ -78,6 +75,16 @@ hr
padding-left: 140px;
}
#logo span {
font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif;
font-weight: 100;
margin-top: 0;
padding-top: 0;
font-size: 110px;
margin-bottom: -20px;
display: inline-block;
}
.stackframe
{
font-family: Consolas, Monospace;

@ -10,7 +10,13 @@
Math.max($spec.index(lastCheckbox), $spec.index(e.target)) + 1
).prop('checked', e.target.checked);
}
lastCheckbox = e.target;
lastCheckbox = e.targety()
});
};
})(jQuery);
})(jQuery);
$(document).ready(function () {
while($('#logo span').height() > $('#logo').height()) {
$('#logo span').css('font-size', (parseInt($('#logo span').css('font-size')) - 1) + "px" );
};
});

@ -34,7 +34,7 @@
<input id="localSeriesLookup" type="text" />
</div>
<div id="logo">
@ViewBag.Title
<span>@ViewBag.Title</span>
</div>
<div id="page">
@RenderSection("ActionMenu", required: false)

Loading…
Cancel
Save