codigocomentado/static/css/index.css

59 lines
873 B
CSS
Raw Normal View History

a.article {
text-decoration: none;
color: black;
}
article {
display: grid;
grid-template-columns: 15em auto 20em;
grid-template-rows: 1em 1em auto 1em;
grid-template-areas :
"image-key . ."
"image title title"
"image body body"
"image . info";
}
article > span:first-child {
grid-area: image-key;
margin: 0;
}
article figure {
grid-area: image;
}
article figure img {
max-height: 10em;
max-width: 10em;
min-height: 10em;
min-width: 10em;
}
.article-title {
font-size: 20px;
grid-area: title;
}
.article-body {
font-size: 20px;
grid-area: body;
}
.article-info {
grid-area: info;
}
2019-11-17 05:10:06 +00:00
div.pagination {
margin-top: 50px;
width: auto;
height: 3em;
text-align: center;
}
2019-11-17 22:09:58 +00:00
div.pagination a {
color: black;
text-decoration: none;
}