www/styles/recent-posts.module.css

53 lines
890 B
CSS
Raw Permalink Normal View History

2022-04-28 01:55:18 +00:00
.container {
2022-10-05 03:41:59 +00:00
border-bottom-left-radius: 0.5rem;
2022-04-28 01:55:18 +00:00
border-bottom: 1px dashed var(--main-border-color);
border-left: 1px dashed var(--main-border-color);
2022-10-05 03:41:59 +00:00
padding-top: 1.25rem;
2022-04-28 01:55:18 +00:00
margin-left: 0.5rem;
}
.block {
2022-10-05 03:41:59 +00:00
margin: 0;
2022-04-28 01:55:18 +00:00
position: relative;
display: flex;
align-items: center;
}
2022-10-05 03:41:59 +00:00
.block+.block {
border-top: 1px dashed var(--main-border-color);
}
.block:first-of-type {
border-top-right-radius: 0.5rem;
}
.block:nth-of-type(2n) {
background-color: var(--table-even-color);
}
.block:nth-of-type(2n+1) {
background-color: var(--table-odd-color);
}
2022-04-28 01:55:18 +00:00
.postTitle {
2022-10-05 03:41:59 +00:00
flex: 1 1 60%;
padding: .25rem 0.75rem;
}
2022-04-28 01:55:18 +00:00
.postDate {
2022-10-05 03:41:59 +00:00
flex: 1 1;
display: inline-block;
text-align: right;
2022-04-28 01:55:18 +00:00
font-style: italic;
font-size: 1rem;
2022-10-05 03:41:59 +00:00
padding: .25rem 0.50rem;
2022-04-28 01:55:18 +00:00
}
.more {
text-align: right;
}
.more a {
text-decoration: none;
}