www/styles/recent-posts.module.css

69 lines
1.3 KiB
CSS
Raw 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
font-family: 'EB Garamond', 'Garamond', 'Times New Roman', Times, serif;
flex: 1 1 60%;
padding: .25rem 0.75rem;
}
.postTitle a {
text-decoration: none;
border: 1px dotted transparent;
transition: border-width 100ms ease-in-out;
}
.postTitle a:hover {
text-decoration: none;
border-bottom: 1px dotted var(--link-color);
}
.postTitle a:focus {
text-decoration: none;
border: 1px dotted var(--link-color);
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;
2022-10-05 03:41:59 +00:00
font-size: 0.9rem;
padding: .25rem 0.50rem;
2022-04-28 01:55:18 +00:00
}
.more {
text-align: right;
}
.more a {
text-decoration: none;
}