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
@@ -92,4 +92,9 @@ article {
|
||||
margin-bottom: 2vh;
|
||||
padding-bottom: 1vh;
|
||||
border: solid #a1c7e0 1px ;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
color: #797979;
|
||||
margin-bottom: 3vh;
|
||||
}
|
||||
11
news.php
11
news.php
@@ -41,7 +41,16 @@
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -73,6 +73,7 @@ header {
|
||||
background-color: #ffffff;
|
||||
border-radius: 15px;
|
||||
display: flex;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.card .text {
|
||||
@@ -113,9 +114,13 @@ header {
|
||||
font-weight: lighter;
|
||||
font-size: 12.5pt;
|
||||
color: #797979;
|
||||
margin-bottom: 1.5vh;
|
||||
}
|
||||
|
||||
.card .source {
|
||||
align-self: flex-end;
|
||||
flex-grow: 1;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin-right: 1vw;
|
||||
color: #bbbbbb
|
||||
}
|
||||
Reference in New Issue
Block a user