]> git.0d.be Git - panikweb.git/commitdiff
add custom banner for birthday parties
authorFrédéric Péters <fpeters@0d.be>
Fri, 16 Nov 2018 08:16:01 +0000 (09:16 +0100)
committerFrédéric Péters <fpeters@0d.be>
Fri, 16 Nov 2018 08:16:01 +0000 (09:16 +0100)
panikweb_templates/static/css/_specifics.scss
panikweb_templates/static/img/home35.jpg [new file with mode: 0644]
panikweb_templates/templates/home.html

index 7a24df71701d904038147280447e6d31a5dbf05b..28fd95f1383821f1e2aca67b7d0a5a0326b4d47e 100644 (file)
@@ -2089,3 +2089,24 @@ div.programCell a.playlist {
                }
        }
 }
+
+h1#fetes-35ans {
+       a {
+               background: url(../img/home35.jpg) top left repeat-x;
+               display: block;
+               height: 416px;
+               border: 3px solid $secondary;
+               text-indent: -10000px;
+               &:hover {
+                       opacity: 0.6 !important;
+               }
+       }
+       @media screen and (max-width: 760px) {
+               display: block !important;
+               a {
+                       height: 208px;
+                       background-size: cover;
+               }
+       }
+       margin-bottom: 2rem;
+}
diff --git a/panikweb_templates/static/img/home35.jpg b/panikweb_templates/static/img/home35.jpg
new file mode 100644 (file)
index 0000000..6e18eeb
Binary files /dev/null and b/panikweb_templates/static/img/home35.jpg differ
index bd97881c32e92a2cdca75b36f55c0deb75c4909f..b0a76d7d837a2238a6333c4cd4cc9cc85f365d20 100644 (file)
@@ -25,7 +25,7 @@
 <div class="sided wrapper navigation" id="specialHome">
     <div>
            <div class="leftPart">
-                   <h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
+                   <h1 class="top" id="fetes-35ans"><a href="/topiks/35-ans/">35 ans !</a></h1>
                    <h2 class="bg-title"><a href="{% url 'program' %}">{% trans 'This week on Panik' %}</a></h2>
 
                    {% weeknav %}