From: Marius Gavrilescu Date: Wed, 4 Feb 2015 08:56:30 +0000 (+0200) Subject: Add logos X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=59731c8949d8af28c29b713d484ce22f3de60b5c;p=plack-app-gruntmaster.git Add logos --- diff --git a/css/logos.css b/css/logos.css new file mode 100644 index 0000000..84620c4 --- /dev/null +++ b/css/logos.css @@ -0,0 +1,25 @@ +.logo { + background: url("/static/logos.png") no-repeat; + display: inline-block; + vertical-align: middle; +} +.logo-mindcoding{ display: block; } + +.logo-bigstep{ background-position: 0 0; width: 250px; height: 72px; } +.logo-cos{ background-position: -260px 0; width: 212px; height: 53px; } +.logo-csf{ background-position: -482px 0; width: 220px; height: 120px; } +.logo-easyhost{ background-position: -712px 0; width: 250px; height: 59px; } +.logo-emag{ background-position: -972px 0; width: 250px; height: 64px; } +.logo-emag.logo-light{ background-position: -1232px 0; width: 250px; height: 83px; } +.logo-eyc{ background-position: -1492px 0; width: 166px; height: 53px; } +.logo-facebook{ background-position: -1668px 0; width: 111px; height: 111px; } +.logo-hermes{ background-position: -1789px 0; width: 192px; height: 101px; } +.logo-hermes.logo-light{ background-position: -1991px 0; width: 200px; height: 111px; } +.logo-mc{ background-position: -2201px 0; width: 25px; height: 32px; } +.logo-mindcoding{ background-position: -2236px 0; width: 600px; height: 154px; } +.logo-mindcoding.logo-light{ background-position: -2846px 0; width: 600px; height: 154px; } +.logo-spyhce{ background-position: -3456px 0; width: 250px; height: 95px; } +.logo-takeofflabs{ background-position: -3716px 0; width: 250px; height: 51px; } +.logo-takeofflabs.logo-light{ background-position: -3976px 0; width: 250px; height: 51px; } +.logo-telenav{ background-position: -4236px 0; width: 250px; height: 67px; } +.logo-usr{ background-position: -4496px 0; width: 105px; height: 52px; } diff --git a/css/mindcoding.css b/css/mindcoding.css new file mode 100644 index 0000000..6965804 --- /dev/null +++ b/css/mindcoding.css @@ -0,0 +1,11 @@ +footer { + padding: 1.5em 0; + width: auto; + matgin: auto; + white-space: inherit; + color: inherit; +} + +#sponsors a.logo { + margin-bottom: 1em; +} diff --git a/js/90-move-sponsors.js b/js/90-move-sponsors.js new file mode 100644 index 0000000..e9bcbfa --- /dev/null +++ b/js/90-move-sponsors.js @@ -0,0 +1,7 @@ +(function(){ + 'use strict'; + + $( document ).ready(function(){ + $('#sponsors').detach().appendTo($('#sidebar')); + }); +})(); diff --git a/js/90-themes.js b/js/90-themes.js index 74506c8..56138d3 100644 --- a/js/90-themes.js +++ b/js/90-themes.js @@ -3,6 +3,12 @@ function set_style(name){ $('#stylesheet').attr("href", "/css/" + name + ".css"); localStorage.setItem("theme", name); + $(document).ready(function() { + if(name == 'slate' || name == 'cyborg') + $('.logo').removeClass('logo-light'); + else + $('.logo').addClass('logo-light'); + }); } $( document ).ready(function() { diff --git a/static/logos.png b/static/logos.png new file mode 100644 index 0000000..4f3eca2 Binary files /dev/null and b/static/logos.png differ diff --git a/tmpl/skel.en b/tmpl/skel.en index f127bde..0153a53 100644 --- a/tmpl/skel.en +++ b/tmpl/skel.en @@ -3,14 +3,14 @@ - +
- +

TITLE

@@ -58,8 +58,31 @@ Tracking .
+
+

Official sponsors

+ + + + +
+