[更新]修改图文选择器

This commit is contained in:
Anyon 2017-05-12 19:13:44 +08:00
parent cc3e0de4fe
commit abce6fc35e

View File

@ -23,7 +23,7 @@
{block name='style'}
<style>
body { min-width: 500px }
.news-container { margin: 20px 0; width: 100%; position: relative }
.news-container { margin: 20px 0; width: 100%; position: relative;padding:0 20px}
.news-container .news-box { border: 1px solid #eee; padding: 8px; width: 300px; border-radius: 5px; position: absolute; margin-bottom: 20px; cursor: pointer }
.news-container .news-box:hover, .news-container .news-box.active { box-shadow: 1px 0px 10px #0099CC; border-color: #0099CC }
.news-container .news-box hr { margin: 4px }