]> iEval git - gruntmaster-page.git/commitdiff
Add logos
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 4 Feb 2015 08:56:30 +0000 (10:56 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 4 Feb 2015 08:56:30 +0000 (10:56 +0200)
css/logos.css [new file with mode: 0644]
css/mindcoding.css [new file with mode: 0644]
js/90-move-sponsors.js [new file with mode: 0644]
js/90-themes.js
static/logos.png [new file with mode: 0644]
tmpl/skel.en

diff --git a/css/logos.css b/css/logos.css
new file mode 100644 (file)
index 0000000..84620c4
--- /dev/null
@@ -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 (file)
index 0000000..6965804
--- /dev/null
@@ -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 (file)
index 0000000..e9bcbfa
--- /dev/null
@@ -0,0 +1,7 @@
+(function(){
+       'use strict';
+
+       $( document ).ready(function(){
+               $('#sponsors').detach().appendTo($('#sidebar'));
+       });
+})();
index 74506c83b98ba7e951d92a5749955c4f1a3d1ec5..56138d36f94d7000c8cba5e6599d6e1f8c7e80d1 100644 (file)
@@ -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 (file)
index 0000000..4f3eca2
Binary files /dev/null and b/static/logos.png differ
index f127bde66049e53c24e4963e1c6758695719a0b4..0153a539b2459ea586835136827e90df00103092 100644 (file)
@@ -3,14 +3,14 @@
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-<link rel="stylesheet" href="/css/cyborg.css" id="stylesheet">
+<link rel="stylesheet" href="/css/slate.css" id="stylesheet">
 <script src="/js.js" type="text/javascript"></script>
 
 <body>
 <nav role="navigation">
 <div class="container-fluid">
 <ul class="nav nav-pills nav-justified">
-<li id="nav-home"><a href="/">Gruntmaster 6000</a>
+<li id="nav-home"><a href="/">MindCoding</a>
 <li id="nav-pb"><a href="/pb/">Problems</a>
 <li id="nav-ct"><a href="/ct/">Contests</a>
 <li id="nav-log"><a href="/log/">Job log</a>
@@ -29,7 +29,7 @@
 </nav>
 
 <div class="container-fluid">
-
+<div class="logo logo-mindcoding center-block"></div>
 <h1 id="title">TITLE</h1>
 <div id="result"></div>
 
@@ -58,8 +58,31 @@ Tracking <a href="#" id="tracker_userlink"></a>.<br>
 </div>
 </div>
 
+<div id="sponsors">
+<h3>Official sponsors</h3>
+<a class="logo logo-emag" href="http://www.fundatiaemag.ro/"></a>
+<a class="logo logo-easyhost" href="http://ro.easyhost.com/"></a>
+<a class="logo logo-takeofflabs" href="http://www.takeofflabs.com/"></a>
+<a class="logo logo-bigstep" href="http://www.bigstep.com/"></a>
+</div>
+
 <footer>
-Dilmom: Why don't you call your product the Gruntmaster 6000?<br>
-Dilbert: What kind of product do you see when you imagine a Gruntmaster 6000?<br>
-Dilmom: Well, it's a stripped-down version of the Gruntmaster 9000, of course. But it's software-upgradeable.
+<div class="row">
+<div class="col-md-6 column text-center">
+<a class="logo logo-hermes" href="http://www.societatea-hermes.ro"></a>
+</div>
+
+<div class="col-md-6 column text-center">
+<a class="logo logo-facebook" href="http://www.facebook.com/mindcodingcluj"></a>
+</div>
+</div>
+
+<h3>Partners</h3>
+<a href="https://www.facebook.com/spyhce?fref=ts" class="logo logo-spyhce"></a>
+<a href="https://www.facebook.com/telenav?fref=ts" class="logo logo-telenav"></a>
+<h3>Media Partners</h3>
+<a href="http://cs.ubbcluj.ro" class="logo logo-csf"></a>
+<a href="http://www.uniunea.ro" class="logo logo-usr"></a>
+<a href="http://www.coscj.ro" class="logo logo-cos"></a>
+<a href="http://www.cluj2015.ro/romana" class="logo logo-eyc"></a>
 </footer>
This page took 0.035904 seconds and 4 git commands to generate.