[Hejes-devel] [1853] add infinety zones to site (mobile)

hejes-devel at nytud.hu hejes-devel at nytud.hu
Fri Jan 10 10:35:56 CET 2020


Revision: 1853
Author:   mittelholcz
Date:     2020-01-10 10:35:54 +0100 (Fri, 10 Jan 2020)
Log Message:
-----------
add infinety zones to site (mobile)

Modified Paths:
--------------
    trunk/web2py/applications/helyesiras_webdev/static/css/main.css
    trunk/web2py/applications/helyesiras_webdev/views/layout.html

Modified: trunk/web2py/applications/helyesiras_webdev/static/css/main.css
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/static/css/main.css	2020-01-09 11:05:25 UTC (rev 1852)
+++ trunk/web2py/applications/helyesiras_webdev/static/css/main.css	2020-01-10 09:35:54 UTC (rev 1853)
@@ -2386,6 +2386,13 @@
 	height: auto;
 	margin: 8px auto 0;
 }
+
+.ad-zone-mobile {
+    width: 300px;
+    height: auto;
+    margin: auto;
+}
+
 @media screen and (max-width: 969px) {
     #ad-zone-1 { display: none; }
 }
@@ -2394,5 +2401,11 @@
     .ad-zone-935 { display: none; }
 }
 
+ at media screen and (min-width: 800px) {
+    .ad-zone-mobile {
+        display: None;
+    }
+}
+
 .goAdverticum
 {text-align: center;}

Modified: trunk/web2py/applications/helyesiras_webdev/views/layout.html
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/views/layout.html	2020-01-09 11:05:25 UTC (rev 1852)
+++ trunk/web2py/applications/helyesiras_webdev/views/layout.html	2020-01-10 09:35:54 UTC (rev 1853)
@@ -174,7 +174,7 @@
                <div style="clear: both;"></div><!-- Clear the divs -->
       {{end}}
     </div></div><!-- header  -->
-    
+
     <div id="statusbar"><div class="wrapper"><!-- statusbar is menu zone -->
       {{block statusbar}} <!-- this is default statusbar -->
       {{#------ superfish menu ------}}
@@ -194,6 +194,15 @@
     
     <div id="page"{{if request.function=='index' and request.controller=='default':}} class="front"{{pass}}><div class="wrapper">    <!-- Here my central body -->     
       
+      <div class="ad-zone ad-zone-mobile">
+        <!-- BEGIN: INFINETY -->
+        <div id="helyesiras.mta.hu_mobil_1"></div>
+        <!-- END: INFINETY -->
+        <!--
+          <img src="http://placehold.it/300x250/00d900/ffffff">
+        -->
+      </div>
+
       
       
       
@@ -369,7 +378,16 @@
   
 {{pass}}
 
+      <div class="ad-zone ad-zone-mobile">
+        <!-- BEGIN: INFINETY -->
+        <div id="helyesiras.mta.hu_mobil_2"></div>
+        <!-- END: INFINETY -->
+        <!--
+          <img src="http://placehold.it/300x250/00d900/ffffff">
+        -->
       </div>
+
+      </div>
       
       
       <!-- content -->




More information about the Hejes-devel mailing list