Просмотр исходного кода

Ad imprpovements. CSS upgrades.

seavenois 10 лет назад
Родитель
Сommit
701bfa6cc9
9 измененных файлов с 82 добавлено и 33 удалено
  1. 2 2
      www/actividades/index.php
  2. 21 9
      www/css/actividades.css
  3. 11 2
      www/css/index.css
  4. 4 0
      www/css/m/actividades.css
  5. 2 16
      www/css/m/index.css
  6. 37 0
      www/css/m/ui.css
  7. 3 2
      www/css/ui.css
  8. 1 1
      www/footer.php
  9. 1 1
      www/index.php

+ 2 - 2
www/actividades/index.php

@@ -101,12 +101,12 @@
 					echo "<tr><td>$lng[activities_date]</td><td>" . formatDate($r_activity['date'], $lang, false) . "</td></tr>\n";
 					if ($r_activity['price'] == 0){
 						echo "<tr><td>$lng[activities_price]</td><td itemprop='offers' itemscope itemtype='http://schema.org/Offer'>\n";
-						echo "<meta itemprop='priceCurrency' content='EUR'/><meta itemprop='price' content='0'/></td>\n";
+						echo "<meta itemprop='priceCurrency' content='EUR'/><meta itemprop='price' content='0'/>\n";
 						echo "$lng[activities_price_0]</td></tr>\n";
 					}
 					else{
 						echo "<tr><td>$lng[activities_price]</td><td itemprop='offers' itemscope itemtype='http://schema.org/Offer'>\n";
-						echo "<meta itemprop='priceCurrency' content='EUR'/><meta itemprop='price' content='$r_activity[price]'/></td>\n";
+						echo "<meta itemprop='priceCurrency' content='EUR'/><meta itemprop='price' content='$r_activity[price]'/>\n";
 						echo "$r_activity[price]€;</td></tr>\n";
 					}
 					if ($r_activity['max_people'] != 0){

+ 21 - 9
www/css/actividades.css

@@ -35,8 +35,8 @@ div.list_year{
 }
 
 ul.activity_list{
-	margin-top:		0.5em;
-	margin-bottom:	0.5em;
+	margin-top:		0em;
+	margin-bottom:	0em;
 	/* 	display:		none; */
 	max-height:		0em;
 	overflow-y:		hidden;
@@ -70,8 +70,13 @@ div#activity_details table#activity_details{
 	border-collapse:	collapse;
 }
 
+div#activity_details table#activity_details tr{
+	border-bottom:		0.2em solid #7777aa;
+	border-top:			0.2em solid #7777aa;
+	border-collapse:	collapse;
+}
+
 div#activity_details table#activity_details td{
-	border:		1px solid black;
 	text-align:	right;
 	padding:	0.2em 0.5em 0.2em 0.5em;
 }
@@ -80,8 +85,10 @@ div#activity_details table#activity_details td.field_name{
 	font-weight:	bold;
 }
 
-div#activity_itinerary{
-	
+div#activity_itinerary tr{
+	border-bottom:		0.2em solid #7777aa;
+	border-top:			0.2em solid #7777aa;
+	border-collapse:	collapse;
 }
 
 div#activity_itinerary table#activity_itinerary{
@@ -91,12 +98,12 @@ div#activity_itinerary table#activity_itinerary{
 }
 
 div#activity_itinerary table#activity_itinerary th{
-	border:		1px solid black;
+	border:		0.1em solid #7777aa;
 	text-align:	center;
 }
 
 div#activity_itinerary table#activity_itinerary td{
-	border:		1px solid black;
+/* 	border:		1px solid black; */
 	padding:	0.2em 0.5em 0.2em 0.5em;
 }
 
@@ -136,9 +143,14 @@ table.future_data{
 	border-collapse:	collapse;
 }
 
+table.future_data tr{
+	border-bottom:		0.2em solid #7777aa;
+	border-top:			0.2em solid #7777aa;
+	border-collapse:	collapse;
+}
+
 table.future_data td{
-	border:		0.1em solid #000000;
-	padding:	0.1em 1em 0.1em 1em;
+	padding:	0.3em 1em 0.3em 1em;
 }
 
 /* Contains the details of the upcoming activity */

+ 11 - 2
www/css/index.css

@@ -119,17 +119,26 @@ div#upcoming_details{
 	float:			right;
 	margin-right:	0;
 	text-align:		center;
-} 
+	padding-bottom:	2em;
+}
+
 
 div#upcoming_details table{
 	border-collapse:	collapse;
 	text-align:			left;
 	font-style:			italic;
 	font-size:			80%;
+	margin:				2em 2em 2em 4em;
+}
+
+div#upcoming_details table tr{
+	border-bottom:		0.2em solid #7777aa;
+	border-top:			0.2em solid #7777aa;
+	border-collapse:	collapse;
 }
 
 div#upcoming_details table td{
-	border:	0.1em solid #000000;
+	padding:	0.3em;
 }
 
 /* Table to present posts and photos on the same row */

+ 4 - 0
www/css/m/actividades.css

@@ -9,3 +9,7 @@ div#activity_image{
 div#activity_image img{
 	max-width:	100%;
 }
+
+table.future_data td{
+	padding:	0.3em 0.2em 0.3em 0.2em;
+}

+ 2 - 16
www/css/m/index.css

@@ -38,23 +38,9 @@ div#upcoming_details{
 } 
 
 div#upcoming_details table{
-	margin:	auto;
+	margin:	1em auto 2em auto;
 }
 
-/* Section of the latest posts */
-/*div#latest_posts{
-	display:	block;
-	width:		initial;
-}*/
-
-
-/* Section containing the latest photos */
-/*div#latest_photos{
-	float:		initial;
-	display:	block;
-	width:		initial;
-}*/
-
 div#content_table{
 	display:	block;
 }
@@ -76,4 +62,4 @@ div#content_table div.content_row div#cell_posts div.section{
 
 div#content_table div.content_row div#cell_photos div.section{
 	margin-left:	0;
-}
+}

+ 37 - 0
www/css/m/ui.css

@@ -192,3 +192,40 @@ div.entry{
 	border:				0.05em solid #333333;
 	box-shadow:			0 0 0.2em #301078;
 }
+
+/******************************************
+* Styles for the ad window.               *
+******************************************/
+div#ad{
+	width:		70%;
+	position:	fixed;
+	bottom:		-25em;
+	left:		15%;
+	right:		15%
+}
+
+
+div#ad h3{
+	margin-top:	0.3em;
+}
+
+div#ad div#ad_details{
+	font-size:		90%;
+	margin:			0.3em;
+}
+
+div#ad div#ad_details img{
+	height:			1.2em;
+	width:			1.2em;
+	margin: 		0 0.5em 0 0.5em;
+}
+
+div#ad div.entry div#ad_image_container{
+	max-height:	9.5em;
+	margin:		0.5em 0.6em 0.5em 0.6em;
+	text-align:	center;
+}
+
+div#ad div.entry a{
+	font-size:		100%;
+}

+ 3 - 2
www/css/ui.css

@@ -102,8 +102,9 @@ textarea{
 
 /* Icon for slider sections */
 img.slid{
-	height:			1.2em;
-	width:			1.2em;
+	height:			0.9em;
+	width:			0.9em;
+	padding:		0.1em;
 	cursor:			pointer;
 	vertical-align:	middle;
 	transition:		opacity 0.5s ease-in-out;

+ 1 - 1
www/footer.php

@@ -47,7 +47,7 @@
 				<img class='lang' alt='English' src='/img/lang/en.gif' onClick='changeLanguage("en", "<?php echo $http_host; ?>");'/>
 				<img class='lang' alt='Euskara' src='/img/lang/eu.gif' onClick='changeLanguage("eu", "<?php echo $http_host; ?>");'/>
 				<br class='desktop'/>
-				<a title="Google Play" href="https://play.google.com/store/apps/details?id=com.ivalentin.gm"><img class='app' alt="<?php echo $lng['footer_app_google']; ?>" src='/img/app/android.gif' /></a>
+				<a title="Google Play" href="https://play.google.com/store/apps/details?id=com.ivalentin.margolariak"><img class='app' alt="<?php echo $lng['footer_app_google']; ?>" src='/img/app/android.gif' /></a>
 			</div>
 		</div>
 	</div>

+ 1 - 1
www/index.php

@@ -304,7 +304,7 @@
 						echo "<tr><td>$lng[index_upcoming_activity_max_people]</td><td>$r_activity[max_people]</td></tr>\n";
 					}
 					echo "</table>\n";
-					echo "<a href='http://$http_host/actividades/$r_activity[permalink]'>$lng[index_upcoming_activity_see]</a><br/>\n";
+					echo "<a href='http://$http_host/actividades/$r_activity[permalink]'>$lng[index_upcoming_activity_see]</a><br/><br/>\n";
 					echo "<a href='http://$http_host/actividades/'>$lng[index_upcoming_activity_see_all]</a>\n";
 					echo "</div></div></div></div>\n";
 					echo "</div>\n";//Entry