codigocomentado/static/css/index.css

73 lines
1.1 KiB
CSS
Raw Permalink 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;
2019-11-20 21:59:35 +00:00
grid-template-areas:
"image-key . ."
"image title title"
"image body body"
"image . info";
*/
2019-12-04 22:25:53 +00:00
grid-gap: 3px;
grid-template-columns: 1fr 20em;
grid-template-rows: auto 1fr auto;
grid-template-areas:
"title title"
"body body"
". 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;
margin-bottom: 0;
}
.article-body {
2019-12-05 00:04:21 +00:00
font-size: 16px;
grid-area: body;
margin: 0;
}
.article-info {
2019-12-05 00:04:21 +00:00
font-size: 16px;
grid-area: info;
text-align: right;
}
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;
}