From: Marius Gavrilescu Date: Fri, 7 Feb 2014 09:19:12 +0000 (+0200) Subject: Add mindcoding logos and default theme X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=1fb046b0868290f70fdc596644984f67874b3b99;p=gruntmaster-page.git Add mindcoding logos and default theme --- diff --git a/css/custom.css b/css/custom.css index ecf11bf..ea565c6 100644 --- a/css/custom.css +++ b/css/custom.css @@ -6,14 +6,6 @@ h1#title{ font-size: 3em !important; } -footer{ - width: 60em; - margin: auto; - margin-top: 6em; - white-space: pre-wrap; - color: #777; -} - #logo { margin: 5em auto 2em; display: block; diff --git a/js/90-custom.js b/js/90-custom.js index 923ebaf..8b1435d 100644 --- a/js/90-custom.js +++ b/js/90-custom.js @@ -3,6 +3,15 @@ function set_style(name){ $('#stylesheet').attr("href", "/css/" + name); localStorage.setItem("theme", name); + if(name == 'slate' || name == 'cyborg') + $('.logo').addClass('logo-dark'); + else + $('.logo').removeClass('logo-dark'); + } + + var theme = localStorage.getItem("theme"); + if(theme) { + set_style(theme); } $( document ).ready(function() { @@ -31,10 +40,7 @@ content.wrapInner('
').append(' -
+
+

Official sponsors

+ +
-Dilmom: Why don't you call your product the Gruntmaster 6000? -Dilbert: What kind of product do you see when you imagine a Gruntmaster 6000? -Dilmom: Well, it's a stripped-down version of the Gruntmaster 9000, of course. But it's software-upgradeable. +
+
+ +
+ +
+ +
+
+ +

Partners

+ + + + +

Media Partners

+ + +
+
HTML ); diff --git a/lib/Gruntmaster/Page/Pb/Entry.pm b/lib/Gruntmaster/Page/Pb/Entry.pm index 2672769..771808b 100644 --- a/lib/Gruntmaster/Page/Pb/Entry.pm +++ b/lib/Gruntmaster/Page/Pb/Entry.pm @@ -15,6 +15,9 @@ use constant TEMPLATES => {
+ + +

Problem information

Author
Owner