Browse Source

css

master
AmarOk 10 years ago
parent
commit
549061b0e1
2 changed files with 20 additions and 2 deletions
  1. +2
    -2
      event.php
  2. +18
    -0
      index.css

+ 2
- 2
event.php View File

@ -45,14 +45,14 @@ $dtend = strtotime($event['event_dtend']);
if(isset($event["event_urlImage"]) || isset($event["event_description"]))
echo '<div id="descDiv" style="margin-top:30px;"><h2>Description</h2></div>';
if(isset($event["event_urlImage"]) && $event["event_urlImage"] != "http://")
if(isset($event["event_urlImage"]))
echo '<div id="image"><img src="'.$event["event_urlImage"].'" width="100%"></div>';
if(isset($event["event_description"]))
echo '<div id="description">'.$event["event_description"].'</div>';
if(isset($event["event_site"]) || isset($event["event_contact"]))
echo '<h2>Informations</h2>';
if(isset($event["event_site"]) && $event["event_site"] != "http://")
if(isset($event["event_site"]))
echo '<div id="URL">URL : <a href="'.$event["event_site"].'">'.$event["event_site"].'</a></div>';
if(isset($event["event_contact"]))
echo '<div id="Contact">Contact : <a href="mailto:'.$event["event_contact"].'">'.$event["event_contact"].'</a></div>';


+ 18
- 0
index.css View File

@ -249,3 +249,21 @@ input[type="checkbox"]:checked + label span {
color: black;
text-decoration: none;
}
@media only screen and (max-width: 1000px) and (max-height: 500px){
#exMois
{
margin-top:-10px;
height:30px;
width:70%;
margin-left:0;
margin-right:0;
}
#Export
{
width:20%;
}
}

Loading…
Cancel
Save