ultimi fix

This commit is contained in:
Lorenzo Giacomelli
2016-03-31 16:57:24 +02:00
parent 5b4a33d5c4
commit 96b0fb4eec
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ try {
$ristorantiNews = GlobalVariables::get("dao")->query("NotiziaModel",
array('$and'=>array(array("status"=>NotiziaModel::STATUS_ACCEPTED),array("category"=>NotiziaModel::CATEGORY_RISTORANTI),array('_id'=>array('$nin'=>$ansaIds)))),
array("sort"=>array("about.data"=>-1),"limit"=>4)
array("sort"=>array("about.data"=>-1),"limit"=>3)
);
if (sizeof($ristorantiNews)>0){
$ristorantiNews = array_map(function($ele){$ele->testo = strip_tags($ele->testo);$ele->sottotitolo = strip_tags($ele->sottotitolo); return $ele; }, $ristorantiNews);
+2 -3
View File
@@ -194,9 +194,7 @@ display: inline-block;
.categoryNews{width:100%;/* height:285px;*/ margin-bottom:29px;position:relative;}
.categoryBar{height:27px;}
.categoryTag{
padding-top:5px;
display: inline-block;
text-align: center;
color: white;
font-size: 20px;
background-color: #339cd5;
@@ -207,6 +205,7 @@ display: inline-block;
position: relative;
font-family:"Bebas Neue";
padding-top:5px;
padding-left:5px;
}
@@ -269,7 +268,7 @@ display: inline-block;
margin-bottom:10px;
/* max-height: 100px; */
}
./* culturaMainMedia > img{max-height: 100px;} */
.culturaMainMedia > img{max-height: 200px;}
.culturaMainMedia.mediaContent > iframe{min-height:150px;max-height:180px;}
.culturaTitle{text-align: left;font-size: 12px;font-weight:bold;}
.ristorantiBlock .ristorantiLink > a, .culturaNews .culturaLink > a{color:#3498d4;font-size:13px;}