This commit is contained in:
Calvin Montgomery 2014-12-19 14:39:10 -05:00
parent c39c394f36
commit db7d1a22c8
4 changed files with 15 additions and 3 deletions

View file

@ -5,8 +5,6 @@ mixin head()
meta(name="author", content="#{siteAuthor}")
title= siteTitle
link(href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css", rel="stylesheet")
//link(href="/css/bootstrap-theme.min.css", rel="stylesheet")
link(href="/css/sticky-footer-navbar.css", rel="stylesheet")
link(href="/css/cytube.css", rel="stylesheet")
link(id="usertheme", href="/css/themes/slate.css", rel="stylesheet")

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -683,7 +683,7 @@ function storeOpts() {
function applyOpts() {
if ($("#usertheme").attr("href") !== USEROPTS.theme) {
$("#usertheme").remove();
var old = $("#usertheme").attr("id", "usertheme_old");
var theme = USEROPTS.theme;
if (theme === "default") {
theme = "/css/themes/slate.css";
@ -692,6 +692,7 @@ function applyOpts() {
.attr("type", "text/css")
.attr("id", "usertheme")
.attr("href", theme)
.attr("onload", "$('#usertheme_old').remove()")
.appendTo($("head"));
fixWeirdButtonAlignmentIssue();
}