mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-12 01:47:28 -05:00
Improve list pages + support "series"
- Use a <ul>: better accessibility - Background for individual pages in the list, giving a better feeling of separation - Support "series" taxonomy (displayed oldest to newest)
This commit is contained in:
@ -4,8 +4,22 @@
|
||||
|
||||
|
||||
/* Post layout (in list pages) */
|
||||
.post {
|
||||
margin-bottom: 40px;
|
||||
.page-list ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-list li {
|
||||
padding-top: 8px;
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
padding-bottom: 24px;
|
||||
border-radius: 12px;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.page-list li+li {
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
@ -26,7 +40,7 @@
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.tags {
|
||||
.tags, .series {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@ -48,7 +62,7 @@
|
||||
.section {
|
||||
margin-bottom: 40px;
|
||||
background-color: #222;
|
||||
border-radius: 5px;
|
||||
border-radius: 12px;
|
||||
padding: 1px 25px;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user