Series/Details rezie title

New: Series title will resize on details page if its too long
This commit is contained in:
Mark McDowall 2012-10-28 10:48:38 -07:00
parent a149a3ab5b
commit 50ad661a95
3 changed files with 19 additions and 6 deletions

View File

@ -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;

View File

@ -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" );
};
});

View File

@ -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)