mirror of
https://github.com/FranP-code/Allnews.com.git
synced 2025-10-13 00:32:45 +00:00
Retoques
This commit is contained in:
5
news.css
5
news.css
@@ -93,3 +93,8 @@ article {
|
|||||||
padding-bottom: 1vh;
|
padding-bottom: 1vh;
|
||||||
border: solid #a1c7e0 1px ;
|
border: solid #a1c7e0 1px ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
color: #797979;
|
||||||
|
margin-bottom: 3vh;
|
||||||
|
}
|
||||||
11
news.php
11
news.php
@@ -41,7 +41,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="source">
|
<div class="source">
|
||||||
Autor: <b><?php echo $author;?></b> | Pagina fuente: <b><?php echo $page_source;?></b>
|
<?php
|
||||||
|
if ($author) {
|
||||||
|
echo "Autor: <b>$author</b> | ";
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Pagina fuente: <b>$page_source</b>";
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- Autor: <b><?php echo $author;?></b> | Pagina fuente: <b><?php echo $page_source;?></b> -->
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ header {
|
|||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .text {
|
.card .text {
|
||||||
@@ -113,9 +114,13 @@ header {
|
|||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
font-size: 12.5pt;
|
font-size: 12.5pt;
|
||||||
color: #797979;
|
color: #797979;
|
||||||
|
margin-bottom: 1.5vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card .source {
|
.card .source {
|
||||||
align-self: flex-end;
|
position: absolute;
|
||||||
flex-grow: 1;
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
margin-right: 1vw;
|
||||||
|
color: #bbbbbb
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user