diff --git a/themes/butterfly/source/css/style.css b/themes/butterfly/source/css/style.css index d04f305..555c45c 100644 --- a/themes/butterfly/source/css/style.css +++ b/themes/butterfly/source/css/style.css @@ -317,4 +317,45 @@ /* 设置黑夜的时候,社交按钮为白色 */ [data-theme=dark] .social-icon i { color: rgba(188, 188, 188) !important; /* 设置为白色 */ -} \ No newline at end of file +} + +.layout{ + width: 100%; + max-width:1400px; +} +/* 重新定义宽度 */ + +.layout > div:first-child { + width: 100%; +} +#post { + width: 78%; +} +.aside-content { + max-width: 312px; + min-width: 300px; +} +.layout.hide-aside { + max-width: 1400px; +} +/* 定义是否侧边栏的宽度 */ + +#recent-posts > .recent-post-item { + height: 19em; + border: var(--style-border); +} +#recent-posts > .recent-post-item >.recent-post-info { + padding: 0 56px; + width: 64%; +} +@media screen and (max-width: 768px) { + #recent-posts > .recent-post-item { + height: auto; + } + #recent-posts > .recent-post-item >.recent-post-info { + padding: 20px 20px 30px; + width: 100%; + text-align: center; + } +} +/* 主页文章列表图片宽度 */ \ No newline at end of file