码迷,mamicode.com
首页 > Web开发 > 详细

js8

时间:2018-05-29 20:34:45      阅读:761      评论:0      收藏:0      [点我收藏+]

标签:width   部分   添加   border   feed   repeat   www.   容器   padding   

/*sideBar博客侧边栏容器*/ #sideBar { width: 300px; box-sizing: border-box; margin-left: 30px; padding: 0; } .newsItem, .catListComment, .catListEssay, .catListView, .catListFeedback, #blog-calendar, #sidebar_postcategory, #sidebar_postcategory, #sidebar_postarchive, #sidebar_search { /*侧边栏每一模块添加圆角和阴影*/ border-radius: 10px; box-shadow: 1px 2px 3px #A7A8AD; background-color: #fff; } #sideBarMain h3, .newsItem h3 { /*侧边栏每个模块的标题部分*/ font-size: 1.2em; height: 50px; line-height: 50px; text-indent: 0.5em; background: url(http://www.cnblogs.com/skins/red_autumnal_leaves/images/titlebg.png) no-repeat left center #fff; padding: 0 0 0 50px; margin-bottom: 0; border: 1px solid #55895B; border-left-width: 5px; border-radius: 10px; border-right-width: 5px; } /*侧边栏列表样式*/ #sideBarMain ul { background-color: #fff; padding: 15px 20px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; } #sideBarMain li { line-height: 40px; border-bottom: 1px solid #ddd; font-size: 14px; }

js8

标签:width   部分   添加   border   feed   repeat   www.   容器   padding   

原文地址:https://www.cnblogs.com/lidehua979331/p/9107444.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!