Files
wordpress-theme-aksrt/assets/css/routes/archives.css
T
kate522 7bf0bc81b7 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.
2026-07-18 21:54:02 +08:00

84 lines
1.3 KiB
CSS

/**
* 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%;
}
}