feat(pages): 1:1 文档导航 + 文章归档 (zibll documentnav/archives)
Category accordion + AJAX cat/search posts for documentnav; archives month lists with view/comment/like meta, sidebar and comments shell.
This commit is contained in:
1 parent
7dc0d0e92a
commit
7bf0bc81b7
9 files changed
+1072
-207
No files matched your search
@@ -0,0 +1,83 @@
|
||||
/**
|
||||
* Archives page (zibll archives) styles.
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
.page-template-archives .content-wrap {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.page-template-archives .content-layout {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-template-archives .sidebar {
|
||||
flex: 0 0 300px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.archives-month-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 8px 8px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.archives-month-list .author-set-left {
|
||||
width: 3.2em;
|
||||
flex: 0 0 3.2em;
|
||||
padding: 6px 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.archives-month-list .author-set-right {
|
||||
flex: 1 1 calc(100% - 3.5em);
|
||||
min-width: 0;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px dashed var(--main-border-color, rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
|
||||
.archives-month-list .author-set-right a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.archives-month-list .author-set-right a:hover {
|
||||
color: var(--focus-color, var(--color-primary));
|
||||
}
|
||||
|
||||
.title-h-center {
|
||||
position: relative;
|
||||
padding-bottom: 8px;
|
||||
margin: 12px 0 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.title-h-center:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
bottom: 3px;
|
||||
width: 40px;
|
||||
height: 3px;
|
||||
border-radius: 5px;
|
||||
background: var(--theme-color, var(--color-primary));
|
||||
}
|
||||
|
||||
.ml6 {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.page-template-archives .sidebar {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user