Typecho 主题双栏布局代码示例 - HTML 和 CSS
next()): ?>
title() ?>
content('阅读更多...'); ?>
/* 主体布局 */
#wrap {
max-width: 960px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}
#main {
width: 70%;
margin: 0;
}
#sidebar {
width: 30%;
margin: 0;
}
/* 文章样式 */
.post {
margin-bottom: 30px;
}
.title {
margin-bottom: 10px;
}
.entry {
line-height: 1.5;
font-size: 16px;
}
/* 侧边栏样式 */
ul {
list-style: none;
margin: 0;
padding: 0;
}
li {
margin-bottom: 10px;
}
a {
color: #555;
text-decoration: none;
}
a:hover {
color: #333;
}
原文地址: https://www.cveoy.top/t/topic/lRoZ 著作权归作者所有。请勿转载和采集!