@import url(https://fonts.googleapis.com/css?family=Ubuntu+Condensed); @import 'base.less'; img { max-width: 100%; vertical-align: middle; } body { background: #f9f9f9; color: #333333; font-size: 14px; margin: 0; padding: 0; } #wrap { background: url('@{imgPath}/head/head-bg.png') repeat-x; margin: 0; padding: 0; position: relative; width: 100%; &.redirect { background: none; .head { margin-top: 30px; text-align: center; } } } #container { background: url('@{imgPath}/head/head-bg.png'), #fff; background-repeat: repeat-x; height: 100%; margin: 0 auto; padding: 0 10px; width: 1000px; } .arrow{ position: relative; &:after{ border-top:1px solid #999; border-right:1px solid #999; bottom: 0; content:""; display: block; height:5px; margin: auto; position: absolute; right:0; top:0; transform: rotate(45deg); width:5px; -webkit-transform: rotate(45deg); } } /* header */ header { box-sizing: border-box; height: 76px; margin: 0 auto; overflow: hidden; padding: 5px 0; position: relative; width: 990px; } .logo { float:left; height: 66px; margin-right: 10px; width: 400px; img { float:left; margin: 10px 20px 0 10px; } a { text-decoration: none; p { color: #5bb27f; font-size: 12px; line-height: 1.6; margin-top: 20px; } } } nav { float:left; margin-right: 10px; overflow: hidden; width: 490px; ul { margin: 3px 0 0; overflow: hidden; padding: 0; li { border-left: 1px solid @borderColor; box-sizing: border-box; cursor: pointer; float:left; font-size: 12px; height: 66px; line-height: 2; padding: 0 5px 0 4px; text-align: center; width: 81px; &:last-child { border-right: 1px solid @borderColor; padding: 0 4px 0 3px; } a { color: #9b9b9b; display: block; height: 100%; width: 100%; &:hover { text-decoration: none; } } i { display: block; font-size: 30px; } span { box-sizing: border-box; display: block; height: 66px; padding-top: 10px; width: 73px; &.borrow { i { color: @borrowColor; } &:hover { background: @borrowColor; } } &.use { i { color: @useColor; } &:hover { background: @useColor; } } &.deposit { i { color: @depositColor; } &:hover { background: @depositColor; } } &.increase { i { color: @increaseColor; } &:hover { background: @increaseColor; } } &.knowledge { i { color: @knowledgeColor; } &:hover { background: @knowledgeColor; } } &.rank { i { color: @rankColor; } &:hover { background: @rankColor; } } &:hover { .radius(7px); color: #fff; i { color: #fff; } } } } } } .primaryNavi { p { background: url('@{imgPath}/icon/icon1.gif') no-repeat; background-position: 0 center; font-size: 10px; padding-left: 10px; a { color: inherit; text-decoration: none; } } } .headSns { bottom: 5px; position: absolute; right: 10px; a { text-decoration: none; } i { font-size: 27px; margin-right: 3px; &.icon-facebook { color: #3b5998; } &.icon-twitter { color: #03a5e0; } } } /************************** content **************************/ #content { margin: 10px 0 50px; overflow: hidden; position: relative; } /**** topMain ****/ #topMain { margin: 20px auto; overflow: hidden; width: 1000px; } #slideshow { width: 1000px; div { float:left; height: 260px; overflow: hidden; position: relative; width: 733px; div { left: 0; position: absolute; top: 0; } } ul { float:right; margin: 0; padding: 0; width: 260px; li { display: inline; float:left; height: auto; width: 260px; } } .active { border: 2px solid @themeColor; box-sizing: border-box; filter: alpha(opacity=100)!important; -moz-opacity: 1!important; opacity: 1!important; position: relative; &:after, &:before { border: solid transparent; content: " "; height: 0; position: absolute; pointer-events: none; right: 100%; top: 50%; width: 0; } &:before { border-color: rgba(91, 178, 127, 0); border-right-color: #5bb27f; border-width: 7px; margin-top: -7px; } img { height: 100%; width: 100%; } ul{ &:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; } } } } /*--- breadcrumb ---*/ #pan { font-size: 12px; margin: 0 0 20px 0; ul { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; li { display: inline; margin-right: 10px; padding-right: 15px; } } } /*==== containerBox ====*/ #contentBox { margin: 0; overflow: hidden; padding: 0; width: 100%; padding-bottom: 140px; #list { margin: 0 auto; width: 980px; overflow: hidden; h1 { color: #575757; font-size: 24px; img { height: 30px; margin: 0 10px; vertical-align: text-top; } } table { border-collapse: collapse; border-spacing: 0; width: 100%; tr { vertical-align: middle; th { background: lighten(@themeColor, 30%); border: 2px solid #fff; padding: 3px 0; &.th2 { background: lighten(@themeColor, 40%); } } td { border: 1px solid @borderColor; text-align: center; padding: 3px 0 0; img { margin-bottom: 3px; } } } } .postList2 { margin: 0 4px 40px 4px; width: 188px; .thumbnail { width: 188px; height: 120px; } .title { width: 188px; } } } #list2 { float:right; width: 980px; h1 { color: #575757; font-size: 24px; img { height: 30px; margin: 0 10px; vertical-align: text-top; } &.tag { i { color: @themeColor; font-size: 20px; margin-right: 5px; } } } } .rules { margin: 0 auto; width: 1000px; h1 { border-bottom: 3px solid @themeColor; color: @themeColor; padding-left: 10px; } h2 { color: @themeColor; } p { margin: 0 10px 30px; } ol { margin: 0 10px 30px; li { line-height: 1.8; margin: 10px 0; } } ul { list-style-type: circle; margin: 0 40px 30px 50px; li { line-height: 1.8; margin: 10px 0; } } .info { margin-top: 50px; h2 { background: @themeColor; color: #fff; font-size: 26px; line-height: 2; margin-bottom: 0; text-align: center; } ul { list-style: none; text-align: center; li { border-bottom: 1px solid @themeColor; padding: 10px 0; h3 { font-size: 24px; font-weight: bold; } &:last-child { border-bottom: none; } } } } } .sitemap { margin: 0 auto; width: 1000px; h1 { color: @themeColor; } .menu { border: none; float: left; min-height: 325px; height: auto !important; height: 325px; margin-right: 33px; width: 300px; h3 { border-bottom: 1px solid darken(@borderColor, 10%); box-sizing: border-box; color: @themeColor; font-size: 24px; font-weight: normal; padding-left: 10px; a { color: @themeColor; } } ul { color: #555; font-size: 14px; font-weight:bold; padding-left: 10px; li { background: url('@{imgPath}/icon/icon1.gif') no-repeat; background-position: 0 9px; padding-left: 10px; } &.inList { float: left; margin-left: -10px; li { background: none; color: #777; float: left; font-size: 13px; font-weight: normal; width: auto; } } } } } } #containerBox { margin: 0; overflow: hidden; padding: 0; width: 100%; } #categoryHead { box-sizing: border-box; height: 180px; margin: 0 auto 20px; padding: 5px; width: 1000px; } .categoryHead-inner { background: #fff; background-size: auto 170px; background-position: right center; background-repeat: no-repeat; box-sizing: border-box; height: 170px; overflow: hidden; padding: 20px 0 10px 20px; width: 990px; h1 { font-size: 24px; line-height: 1; margin: 0; color: #575757; i { font-size: 30px; margin-right: 10px; } &.borrow { i { color: @borrowColor; } } &.use { i { color: @useColor; } } &.deposit { i { color: @depositColor; } } &.increase { i { color: @increaseColor; } } &.knowledge { i { color: @knowledgeColor; } } &.rank { i { color: @rankColor; } } } .innerText { font-size: 12px; line-height: 2; margin-top: 10px; width: 660px; } } #categoryHead { &.borrow { background-image: linear-gradient( -45deg, #fff 25%, @borrowColor 25%, @borrowColor 50%, #fff 50%, #fff 75%, @borrowColor 75%, @borrowColor); background-size: 7px 7px; } &.use { background-image: linear-gradient( -45deg, #fff 25%, @useColor 25%, @useColor 50%, #fff 50%, #fff 75%, @useColor 75%, @useColor); background-size: 7px 7px; } &.deposit { background-image: linear-gradient( -45deg, #fff 25%, @depositColor 25%, @depositColor 50%, #fff 50%, #fff 75%, @depositColor 75%, @depositColor); background-size: 7px 7px; } &.increase { background-image: linear-gradient( -45deg, #fff 25%, @increaseColor 25%, @increaseColor 50%, #fff 50%, #fff 75%, @increaseColor 75%, @increaseColor); background-size: 7px 7px; } &.knowledge { background-image: linear-gradient( -45deg, #fff 25%, @knowledgeColor 25%, @knowledgeColor 50%, #fff 50%, #fff 75%, @knowledgeColor 75%, @knowledgeColor); background-size: 7px 7px; } &.rank { background-image: linear-gradient( -45deg, #fff 25%, @rankColor 25%, @rankColor 50%, #fff 50%, #fff 75%, @rankColor 75%, @rankColor); background-size: 7px 7px; } } #tagHead { background: #fcfaf3; box-sizing: border-box; margin-bottom: 10px; padding: 10px 20px 20px 20px; h1 { color: #5f6062; font-size: 23px; margin: 0; i { color: @themeColor; font-size: 20px; margin-right: 5px; } } p { background: url('@{imgPath}/text-bg.png'); line-height: 26px; margin: 0; padding: 0 5px; } } /*---- mainBox ----*/ #mainBox { float:left; overflow: visible; width: 690px; h1 { color: #575757; font-size: 24px; img { height: 30px; margin: 0 10px; vertical-align: text-top; } } .postsSearch { margin-bottom: 30px; table { border-collapse: collapse; border-spacing: 0; width: 100%; tr { th { background: lighten(@themeColor, 30%); border: 1px solid @borderColor; padding: 10px; } td { border: 1px solid @borderColor; padding: 10px; ul { li { float: left; margin-right: 10px; label { cursor: pointer; } } } input { &[type="text"] { border: 1px solid @borderColor; box-sizing: border-box; padding: 3px 5px; width: 100%; } } } } } input { &[type="submit"] { .radius(5px); background: #f39700; border: none; color: #fff; cursor: pointer; font-size: 20px; height: 45px; letter-spacing: 10px; width: 330px; &:hover { opacity: 0.8; filter: alpha(opacity=80); } } } } .postHead { overflow: hidden; .infoItem { display: inline-block; ul { overflow: hidden; li { color: #999; float: left; font-size: 12px; margin-right: 10px; i { margin-right: 3px; } } } } .sns { float: right; ul { overflow: hidden; li { float: left; a { color: inherit; &:hover { text-decoration: none; } } .arrowBox { position: relative; background: #fff; border: 1px solid #9f9f9f; height: 14px; width: auto; line-height: 14px; float: right; text-align: center; border-radius: 3px; display: inline-block; font-size: 10px; margin: 0 10px 0 7px; padding: 1px 5px; &:before { content: ""; position: absolute; left: -5px; width: 0; height: 0; border-right: 4px solid #9f9f9f; border-top: 3px solid transparent; border-bottom: 3px solid transparent; top: 0; bottom: 0; margin: auto; } &:after { content: ""; position: absolute; left: -4px; width: 0; height: 0; border-right: 7px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; top:0; bottom: 0; margin: auto; } } i { &.icon-twitter2 {color: @twColor;} &.icon-facebook2 {color: @fbColor;} &.icon-hatebu {color: @hbColor;} &.icon-google-plus {color: @ggColor;} &.icon-get-pocket {color: @pcColor;} &.icon-feedly {color: @fdColor;} } } } } .title { border-bottom: 1px solid @borderColor; border-top: 1px solid @borderColor; clear: both; min-height:90px; height:auto !important; height:90px; overflow: hidden; position: relative; width: 100%; .categoryIcon { background: black; border-radius: 50px; float: left; height: 70px; margin: 0 10px; position: relative; width: 70px; &.td {width: 70px !important;} &.borrow {background: @borrowColor;} &.deposit {background: @depositColor;} &.use {background: @useColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} i { color: #fff; font-size: 32px; left: 0; margin: auto; position: absolute; right: 0; top: 10px; width: 32px; } span { bottom: 10px; color: #fff; font-size:10px; left: 0; margin: 0 auto; position: absolute; right: 0; text-align: center; } } h1 { color: #666465; font-size: 28px; line-height: 36px; margin: 10px 0 0 0; } .tag { box-sizing: border-box; margin: 0; overflow: hidden; i { color: #aaa; font-size: 13px; line-height: 20px; float: left; margin-right: 5px; } span { color: #aaa; float:left; font-size: 11px; margin: 0 5px 0 0; padding: 0px; text-decoration: underline; a { color: inherit; font-weight: normal; } } } .infoItem { display: inline-block; ul { overflow: hidden; li { color: #999; float: left; font-size: 12px; margin-right: 10px; i { margin-right: 3px; } } } } .sns { float: left; border-top: 1px solid @borderColor; width: 100%; margin-top: 5px; padding-top: 10px; ul { overflow: hidden; li { float: left; a { color: inherit; &:hover { text-decoration: none; } } .arrowBox { position: relative; background: #fff; border: 1px solid #9f9f9f; height: 14px; width: auto; line-height: 14px; float: right; text-align: center; border-radius: 3px; display: inline-block; font-size: 10px; margin: 0 10px 0 7px; padding: 1px 5px; &:before { content: ""; position: absolute; left: -5px; width: 0; height: 0; border-right: 4px solid #9f9f9f; border-top: 3px solid transparent; border-bottom: 3px solid transparent; top: 0; bottom: 0; margin: auto; } &:after { content: ""; position: absolute; left: -4px; width: 0; height: 0; border-right: 7px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; top:0; bottom: 0; margin: auto; } } i { &.icon-twitter2 {color: @twColor;} &.icon-facebook2 {color: @fbColor;} &.icon-hatebu {color: @hbColor;} &.icon-google-plus {color: @ggColor;} &.icon-get-pocket {color: @pcColor;} &.icon-feedly {color: @fdColor;} } } } } } .tbbody { display: table; .td { display: table-cell; vertical-align: middle; p { &.info { font-family: 'Ubuntu Condensed', sans-serif; text-align: center; margin: 0; color: #666; font-size: 18px; } } &.td2 { width: 100%; padding-bottom: 10px; vertical-align: middle; } } } } .postContents { margin: 0 0 50px; h2 { background-color: #fff; border-bottom: 3px solid @themeColor; border-top: 3px solid @themeColor; box-sizing: border-box; color: #545755; font-size: 24px; margin: 80px 0 30px; padding: 10px 5px; position: relative; width: 100%; /**&:before { content: ""; position: absolute; bottom: -11px; left: 10%; margin-left: -10px; width: 0; height: 0; border-top: 10px solid @themeColor; border-left: 10px solid transparent; border-right: 10px solid transparent; } &:after { content: ""; position: absolute; bottom: -7px; left: 10%; margin-left: -10px; width: 0; height: 0; border-top: 10px solid #fff; border-left: 10px solid transparent; border-right: 10px solid transparent; }**/ } h3 { .radius(3px); background: lighten(@themeColor, 35%); box-sizing: border-box; font-size: 20px; margin-top: 50px; padding: 5px 10px; } h4 { border-bottom: 2px solid @themeColor; font-size: 15px; margin-bottom: 10px; padding-left: 5px; } h5 { color: darken(@themeColor, 10%); font-size: 15px; margin-bottom: 10px; padding-left: 5px; } p { font-size: 16px; margin: 10px 20px; } ul { margin: 20px 30px; li { background: url('@{imgPath}/icon/list_icon.gif') no-repeat; background-size: 10px 10px; background-position: 0 5px; font-size: 14px; margin: 10px 0; padding-left: 15px; } } ol { padding-left: 30px; margin-left: 10px; li { font-size: 13px; margin: 3px 0; } } table { border-collapse: collapse;; border-spacing: 0; margin: 20px auto; width: 80%; tr { font-size: 13px; th { background: lighten(@themeColor, 35%); border: 1px solid darken(@borderColor, 10%); padding: 5px; } td { border: 1px solid darken(@borderColor, 10%); padding: 5px; } } } img { display: block; // max-height: 400px; margin: 0 auto; width: auto !important; &.m0 { margin: 0 auto; } } blockquote{ background-color:#ececec; padding:1em 1em; position:relative; z-index: 1; &:before{ content:"“"; font-size:1000%; line-height:1em; font-family:"MS Pゴシック",sans-serif; color:#fff; position:absolute; left:0; top:0; z-index: -1; } &:after{ content:"”"; font-size:1000%; line-height:0em; font-family:"MS Pゴシック",sans-serif; color:#fff; position:absolute; right:0; bottom:-20px; z-index: -1; } } .articleTop { margin-bottom: 50px; iframe { min-height: 400px; } .toc { .radius(7px); background: #f6f6f6; border: 1px solid #ccc; box-sizing: border-box; margin: 0 auto; padding: 10px; width: 100%; .toc_toggle { color: #3c72c2; cursor: pointer; } p { text-align: center; } ol { counter-reset: item; list-style: none; padding-left: 20px; li { margin: 3px 0; &:before { content: counters(item, ".") " "; counter-increment: item; } &:last-child { margin-bottom: 10px; } } &.hide { display: none; } } } } .articleBody { p { margin: 10px 10px; } span { &.tocLink { display: block; margin-top: 10px; position: relative; top: -10px; } } } #likeBox { height: 180px; width: 690px; .thumbnail { background-size: cover; background-position: center; float: left; height: 180px; width: 380px; } .likeBoxButton { box-sizing: border-box; background: #e6e6e6; float: left; height: 180px; padding: 30px 0; text-align: center; width: 310px; p { font-size:14px; } #likeButton { height: 26px; position: relative; width: 100%; .fb_iframe_widget { bottom: 0; left: 0 !important; margin: auto; padding-top: 0 !important; position: absolute; right: 0; top: 0 !important; } } } } #twFollow { border: 5px solid @borderColor; box-sizing: border-box; margin: 10px 0; overflow: hidden; padding: 0; width: 690px; p { font-size: 14px; margin: 10px 0; text-align: center; #followButton { display: inline-block; height: 28px; width: 336px; .twitter-follow-button { vertical-align: bottom; } } } } #snsFollow { ul { margin: 0; overflow: hidden; li { .radius(3px); background: @themeColor; color: #fff; float: left; height: 60px; line-height: 60px; margin-right: 2px; text-align: center; padding-left: 0; width: 113px; &:last-child { margin-right: 0; } &.tw {background: @twColor;} &.fb {background: @fbColor;} &.hb {background: @hbColor;} &.gg {background: @ggColor;} &.pc {background: @pcColor;} &.fd {background: @fdColor;} a { display: block; height: 100%; width: 100%; color: #fff; &:hover { text-decoration: none; } } i { font-size: 24px; line-height: 60px; } .count { } } } } .recommend { margin-top: 30px; h4 { border-bottom: 2px solid @themeColor; box-sizing: border-box; color: @themeColor; font-size: 18px; font-weight: bold; line-height: 2; margin: 10px 0; padding-left: 10px; } .postList2 { float: left; height: 250px; margin: 0 3px 20px 3px; position: relative; width: 224px; a { display: block; height: 100%; width: 100%; } span { position: absolute; right: 0; &.categoryLabel { background: #333; color: #fff; font-size: 11px; height: 20px; line-height: 20px; text-align: center; width: 65px; &.borrow {background: @borrowColor;} &.use {background: @useColor;} &.deposit {background: @depositColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} } } .thumbnail { background-position: center; background-size: cover; border: 1px solid @borderColor; box-sizing: border-box; box-shadow: 0px 0px 0px 1px #fff inset; height: 150px; width: 224px; .new { left: -4px; top: -4px; position: absolute; img { width: 50px; } } } .title { font-size: 14px; font-weight: normal; line-height: 1.3; height: calc(14px * 1.3 * 4); margin: 3px 0 0 0; overflow : hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; width: 224px; } .infoItem { float:right; margin-right: 5px; ul { color: #9b9b9b; font-size: 12px; margin: 0; overflow: hidden; li { background: none; float:left; margin:0 0 0 10px; padding-left: 0; i { margin-right: 5px; } } } } } } } } .tagBox { border: 3px solid @borderColor; box-sizing: border-box; margin: 0 0 10px 0; overflow: hidden; padding: 5px 5px 4px 5px; width: 850px; span { float:left; font-size: 12px; font-weight: bold; line-height: 2; margin: 0 10px; } ul { li { .radius(3px); background: #eee; border: 1px solid #ddd; float:left; font-size: 12px; margin: 0 4px 0 0; padding: 2px 7px; a { color: inherit; } } } } /*==== category top ===*/ .categoryBox { margin-bottom: 20px; h2 { background: #ffffff; background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); border-top: 3px solid @themeColor; border-bottom: 1px solid #dadada; color: #5f6062; filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); font-size: 18px; height: 36px; line-height: 40px; margin: 0 0 7px 0; padding: 0 10px ; &.borrow {border-top-color: @borrowColor ;} &.deposit {border-top-color: @depositColor ;} &.use {border-top-color: @useColor ;} &.increase {border-top-color: @increaseColor ;} &.knowledge {border-top-color: @knowledgeColor ;} } h3 { .radius(3px); background: #f8f6f6; border: 1px solid #dadada; font-size: 14px; line-height: 30px; margin: 5px 0 10px; &:before { border-left: 4px solid #ddd; content: ""; margin: 0 5px; } &.borrow { &:before {border-left-color: @borrowColor} } &.deposit { &:before {border-left-color: @depositColor} } &.use { &:before {border-left-color: @useColor} } &.increase { &:before {border-left-color: @increaseColor} } &.knowledge { &:before {border-left-color: @knowledgeColor} } } .toList { float:right; font-size: 11px; font-weight: normal; margin-right: 10px; i { color: @borrowColor; border-radius: 3px; font-size: 10px; padding: 2px; } } ul { li { position: relative; &.postList1 { box-sizing: border-box; float:left; margin-bottom: 10px; overflow: hidden; width:425px; a { display: block; height: 100%; width: 100%; .thumbnail { background-position: center; background-size: 130px auto; border: 1px solid @borderColor; box-sizing: border-box; box-shadow: 0px 0px 0px 1px #fff inset; float:left; height: 86px; width: 130px; span { &.new { bottom: 0; position: absolute; left: 95px; } } } .title { font-size: 14px; font-weight: normal; line-height: 1.2; height: calc(14px * 1.2 * 4); margin: 0; overflow : hidden; padding-left: 5px; position: relative; width: 280px; &:before,&:after { background: #fff; position: absolute; width: 14px; } &:before { content: "..."; right: 0; top: calc(14px * 1.2 * 3); } &:after { content: ""; height: 100%; width: 100%; } } .infoItem { float:right; margin-right: 5px; ul { color: #9b9b9b; font-size: 12px; overflow: hidden; li { float:left; margin-left: 10px; i { margin-right: 5px; } } } } } } } &.sort { margin-bottom: 20px; overflow: hidden; position: relative; &:before { z-index: 1; } &:after { content: ""; border-bottom: 1px solid @borderColor; bottom: 0; left: 0; position: absolute; width: 100%; z-index: 1; } li { .radiusCorner(top-left; 5px); .radiusCorner(top-right; 5px); background: #f7f7f7; border:1px solid @borderColor; border-bottom: none; box-sizing: border-box; float: left; font-size: 18px; height: 46px; margin: 0 10px; line-height: 46px; position: relative; text-align: center; width: 325px; z-index: 0; &.selected { background: #fff; border-bottom-color: #fff; z-index: 2; } a { color: inherit; display: block; height: 100%; width: 100%; &:hover { text-decoration: none; } } } } } .postList2 { float: left; height: 250px; margin: 0 3px 20px 3px; position: relative; width: 224px; a { display: block; height: 100%; width: 100%; } span { position: absolute; right: 0; &.categoryLabel { background: #333; color: #fff; font-size: 11px; height: 20px; line-height: 20px; text-align: center; width: 65px; &.borrow {background: @borrowColor;} &.use {background: @useColor;} &.deposit {background: @depositColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} } } .thumbnail { background-position: center; background-size: cover; border: 1px solid @borderColor; box-sizing: border-box; box-shadow: 0px 0px 0px 1px #fff inset; height: 150px; width: 224px; .new { left: -4px; top: -4px; position: absolute; img { width: 50px; } } } .title { font-size: 14px; font-weight: normal; line-height: 1.3; height: calc(14px * 1.3 * 4); margin: 3px 0 0 0; overflow : hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; width: 224px; } .infoItem { float:right; margin-right: 5px; ul { color: #9b9b9b; font-size: 12px; overflow: hidden; li { float:left; margin-left: 10px; i { margin-right: 5px; } } } } } .postList3 { ul { li { box-sizing: border-box; overflow: hidden; padding: 10px 0; position: relative; &.rankList { border-bottom: 1px dashed @borderColor; } span { position: relative; &.rank { color: #575757; float: left; font-size: 15px; margin: 40px 5px 0; text-align: center; width: 50px; } } .thumbnail { background-repeat: no-repeat; background-position: center; background-size: cover; border: 1px solid @borderColor; box-sizing: border-box; box-shadow: 0px 0px 0px 1px #fff inset; float: left; height: 92px; position: relative; width: 138px; span { position: absolute; &.categoryLabel { background: #333; color: #fff; font-size: 11px; height: 20px; line-height: 20px; text-align: center; width: 65px; &.borrow {background: @borrowColor;} &.use {background: @useColor;} &.deposit {background: @depositColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} } &.new { top: 55px; left: 100px; } } } .rightInner { height: 92px; overflow: hidden; padding-left: 10px; position: relative; .title { font-size: 14px; float: left; line-height: 1.4; margin: 0; overflow : hidden; } .infoItem { margin: 0; ul { color: #9b9b9b; font-size: 12px; margin-bottom: 5px; overflow: hidden; li { float:left; margin-left: 10px; padding: 0; i { margin-right: 5px; } } } } .tag { color: #575757; left: 20px; position: absolute; bottom: 0; i { color: #9b9b9b; float: left; font-size: 13px; line-height: 22px; margin-right: 5px; vertical-align: middle; } ul { float: left; li { .radius(3px); background: #eee; border: 1px solid #ddd; float: left; font-size: 12px; margin-right: 4px; padding: 2px 7px; a { color: inherit; } } } } } } } } .postList4 { float: left; height: 140px; margin-bottom: 20px; position: relative; width: 280px; a { display: block; height: 100%; width: 100%; } .thumbnail { background-position: center; background-repeat: no-repeat; background-size: auto 140px; float: left; height: 140px; width: 120px; } .info { float: left; width: 160px; span { display: block; margin-bottom: 5px; &.categoryLabel { background: #333; color: #fff; font-size: 11px; height: 20px; line-height: 20px; text-align: center; width: 65px; &.borrow {background: @borrowColor;} &.use {background: @useColor;} &.deposit {background: @depositColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} } } .title { font-size: 14px; font-weight: normal; line-height: 1.4; margin: 0; overflow : hidden; position: relative; width: 160px; } } } &.item { ul { margin: 5px 10px; overflow: hidden; li { background: url('@{imgPath}/icon/icon1.gif') no-repeat; background-position: 0 7px; float:left; margin: 5px; padding-left: 10px; width: 200px; } } } &.tag { ul { margin: 5px 10px; overflow: hidden; li { background: url('@{imgPath}/icon/icon1.gif') no-repeat; background-position: 0 7px; float:left; margin: 5px; padding-left: 10px; width: 145px; } } } .itemSort { margin-bottom: 20px; p { background: #dfdfdf; float: left; margin: 0; padding-left: 5px; position: relative; width: 120px; &:after { border: 14px solid transparent; border-left: 10px solid #dfdfdf; content: ""; height: 0; position: absolute; right: -24px; width: 0; } } ul { line-height: 28px; li { float: left; margin: 0 20px; a { color: #ccc; } &.selected { color: @themeColor; font-weight: bold; } } } } } .pager { clear: both; margin-bottom: 30px; overflow: hidden; text-align: center; li { background: #e6e6e6; display: inline-block; height: 24px; line-height: 24px; margin: 0 2px; padding: 0; width: 24px; &.current { background: #b4b4b4; color: #fff; } &:hover { background: #b4b4b4; text-decoration: none; a { color: #fff; } } a { color: #8c8989; display: block; height: 100%; width: 100%; &:hover { text-decoration: none; } } } } .showList { .radius(5px); background: #f3f3f3; border: 1px solid #cdcdcd; text-align: center; height: 60px; margin: 10px 0; a { color: inherit; font: 18px; line-height: 60px; } } .onepoint { margin-top: 30px; position: relative; width: 685px; .pointIcon { left: 0; position: absolute; top: -5px; } .columnText { border: 5px solid #e6e6e6; box-sizing: border-box; margin-left: 5px; padding: 30px 10px 10px; width: 685px; .columnInner { background: url('@{imgPath}/text-bg.png'); line-height: 26px; p { line-height: 1.9; margin: 0 0 26px 0; padding: 0 5px; } } } } /**** left side ****/ #leftSide { float:left; width: 150px; } .menu { border: 1px solid @borderColor; margin: 20px 0; width: 150px; h3 { font-size: 16px; font-weight: bold; line-height: 28px; margin: 0; span { border-top: 28px solid; border-right: 5px solid transparent; display: inline-block; float:left; height: 0; margin: -1px 5px 0 -1px; position: relative; width: 30px; i { color: #fff; font-size: 20px; left: 5px; position: absolute; top: -25px; } } } ul { color: #575757; font-size: 12px; line-height: 2; margin: 5px 0; li { box-sizing: border-box; padding-left: 10px; width: 100%; a { color: inherit; display: block; height: 100%; text-decoration: none; width: 100%; } label { cursor: pointer; display: block; text-decoration: none; position: relative; vertical-align: middle; &:after{ border-top: 2px solid #a7a7a7; border-right: 2px solid #a7a7a7; bottom: 0; content: ""; height: 6px; margin: auto; position: absolute; right: 7px; top: 0; transform: rotate(135deg); -webkit-transform: rotate(135deg); vertical-align: middle; width: 6px; } &:hover { opacity: 0.6; filter: alpha(opacity=60); } &.current { background: #f7f7f7; font-weight: bold; margin-left: -10px; padding-left: 10px; &:hover { opacity: 1; filter: alpha(opacity=100); } } } input[type="checkbox"] { &.on-off{ display: none; &+ul{ display: none; } &:checked { &+ul{ display: block; } } } } ul { &.inList { margin: 0 0 0 -10px; padding: 5px 0 3px; i { font-size: 10px; } li { line-height: 1.4; margin-bottom: 5px; } } } } } &.borrow { border-top: 2px solid @borrowColor; margin-top: 0; h3 { color: @borrowColor; span { border-bottom: @borrowColor; } } .inList { background-color: lighten(@borrowColor, 35%); i { color: @borrowColor; } } label { &.current { &:after { border-right: 2px solid @borrowColor; border-top: 2px solid @borrowColor; } } } } &.use { border-top: 2px solid @useColor; margin-top: 0; h3 { color: @useColor; span { border-bottom: @useColor; } } .inList { background-color: lighten(@useColor, 35%); i { color: @useColor; } } label { &.current { &:after { border-right: 2px solid @useColor; border-top: 2px solid @useColor; } } } } &.deposit { border-top: 2px solid @depositColor; margin-top: 0; h3 { color: @depositColor; span { border-bottom: @depositColor; } } .inList { background-color: lighten(@depositColor, 25%); i { color: @depositColor; } } label { &.current { &:after { border-right: 2px solid @depositColor; border-top: 2px solid @depositColor; } } } } &.increase { border-top: 2px solid @increaseColor; margin-top: 0; h3 { color: @increaseColor; span { border-bottom: @increaseColor; } } .inList { background-color: lighten(@increaseColor, 27%); i { color: @increaseColor; } } label { &.current { &:after { border-right: 2px solid @increaseColor; border-top: 2px solid @increaseColor; } } } } &.knowledge { border-top: 2px solid @knowledgeColor; margin-top: 0; h3 { color: @knowledgeColor; span { border-bottom: @knowledgeColor; } } .inList { background-color: lighten(@knowledgeColor, 35%); i { color: @knowledgeColor; } } label { &.current { &:after { border-right: 2px solid @knowledgeColor; border-top: 2px solid @knowledgeColor; } } } } &.rank { border-top: 2px solid @rankColor; margin-top: 0; h3 { color: @rankColor; span { border-bottom: @rankColor; } } .inList { background-color: lighten(@rankColor, 35%); i { color: @rankColor; } } label { &.current { &:after { border-right: 2px solid @rankColor; border-top: 2px solid @rankColor; } } } } &.tags { border-top: 2px solid @themeColor; margin-top: 0; h3 { color: @themeColor; span { border-bottom: @themeColor; } } .inList { background-color: lighten(@themeColor, 35%); i { color: @themeColor; } } label { &.current { &:after { border-right: 2px solid @themeColor; border-top: 2px solid @themeColor; } } } } } .for-sm { margin: 20px 0; } #siteInfo { p { font-size: 12px; line-height: 1.4; margin: 0 0 10px 0; } ul { li { font-size: 10px; font-weight: bold; margin: 5px 0; a { color: #575757; i { color: @themeColor; margin-right: 5px; font-size: 10px; } } } } } /**** center ****/ #center { float:right; margin-left: 5px; width: 530px; h1 { &.tag { i { color: @themeColor; font-size: 20px; margin-right: 5px; } } } .eyecatch { margin-bottom: 30px; overflow: hidden; h3 { border-top: 3px solid #ddd; border-bottom: 1px solid #dadada; color: #5f6062; font-size: 18px; height: 36px; line-height: 40px; margin: 0 0 7px 0; padding: 0; padding-left: 10px; background: #ffffff; background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); i { font-size: 26px; margin-right: 5px; vertical-align: text-top; } &.borrow { border-top: 3px solid @borrowColor; i { color: @borrowColor; } } &.use { border-top: 3px solid @useColor; i { color: @useColor; } } &.deposit { border-top: 3px solid @depositColor; i { color: @depositColor; } } &.increase { border-top: 3px solid @increaseColor; i { color: @increaseColor; } } &.knowledge { border-top: 3px solid @knowledgeColor; i { color: @knowledgeColor; } } &.rank { border-top: 3px solid @rankColor; } .toList { float:right; font-size: 11px; font-weight: normal; margin-right: 10px; i { color: @borrowColor; border-radius: 3px; font-size: 10px; line-height: 18px; margin-right: -5px; padding: 0; &.borrow { color: @borrowColor;} &.use { color: @useColor;} &.deposit { color: @depositColor;} &.increase { color: @increaseColor;} &.knowledge { color: @knowledgeColor;} } } } h4 { .radius(3px); background: #f8f6f6; border: 1px solid #dadada; height: 30px; line-height: 30px; margin: 10px 0 0; padding-left: 17px; position: relative; &:before { background: #ddd; bottom: 0; content: ""; height: 22px; left: 5px; margin: auto; position: absolute; top: 0; width: 5px; } &.borrow { &:before {background:@borrowColor;} } &.use { &:before {background:@useColor;} } &.deposit { &:before {background:@depositColor;} } &.increase { &:before {background:@increaseColor;} } &.knowledge { &:before {background:@knowledgeColor;} } } .inEyecatch { width: 260px; background: #f8f8f8; box-shadow: 0px 0px 2px 2px #fff inset; box-sizing: border-box; padding: 10px; border: 1px solid #dadada; border-radius: 5px; a { display: block; width: 100%; height: 100%; &:hover { opacity: 0.8; filter: alpha(opacity=80); } } .thumbnail { border: 1px solid @borderColor; box-shadow: 0px 0px 1px 1px #fff inset; } .title { font-size: 16px; line-height: 1.5; height: calc(16px * 1.5 * 3); font-weight: normal; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .infoItem { float:right; ul { color: #9b9b9b; font-size: 12px; overflow: hidden; li { float:left; margin-left: 10px; i { margin-right: 5px; } } } } &.content1 { float:left; height: 271px; margin-left:5px; .title { margin: 3px 0; width: 240px; position: relative; left: -3px; } .thumbnail { background-size: cover; background-position: center; height: 150px; position: relative; width: 235px; .new { left: -15px; top:-15px; position: absolute; img { width: 60px; } } } } &.content2 { float:right; height: 87px; margin-bottom: 5px; .thumbnail { background-size: cover; background-position: center; float:left; height: 63px; margin-right: 5px; position: relative; width: 63px; .new { left: -15px; top: -15px; position: absolute; img { width: 40px; } } } .title { font-size: 14px; margin: 0; width: 168px; line-height: 1.5; height: calc(14px * 1.5 * 2); -webkit-line-clamp: 2; } } } .postRank1 { float: left; margin: 0 6px 10px 0; position: relative; width: 164px; a { display: block; height: 100%; weight: 100%; } .rank { img { margin-bottom: 3px; } } .view { color: #999; float: right; font-size: 12px; } .thumbnail { background-position: center; background-size: cover; border: 1px solid @borderColor; box-sizing: border-box; box-shadow: 0px 0px 0px 1px #fff inset; float: left; height: 120px; position: relative; width: 166px; .categoryLabel { background: #333; color: #fff; font-size: 11px; height: 20px; left: 0; line-height: 20px; position: absolute; text-align: center; width: 65px; &.borrow {background: @borrowColor;} &.use {background: @useColor;} &.deposit {background: @depositColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} } } .title { clear: both; font-size: 14px; font-weight: normal; height: calc(14px * 1.4 * 3); line-height: 1.4; margin: 0 0 0 3px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; width: 160px; } } ul { clear: both; overflow: hidden; .postRank2 { border-top: 1px dashed #9b9b9b; height: 40px; line-height: 40px; position: relative; a { display: block; hight: 100%; weight: 100%; } .rank { color: #727578; display: inline-block; font-size: 16px; font-weight: bold; position: absolute; } .categoryLabel { background: #333; color: #fff; display: inline-block; font-size: 11px; height: 20px; line-height: 20px; margin: -14px 0 0 20px; text-align: center; vertical-align: text-top; width: 65px; &.borrow {background: @borrowColor;} &.use {background: @useColor;} &.deposit {background: @depositColor;} &.increase {background: @increaseColor;} &.knowledge {background: @knowledgeColor;} } .view { color: #999; display: inline-block; float: right; font-size: 12px; vertical-align: text-bottom; } .title { display: inline-block; width: 355px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } &:last-child { border-bottom: 1px dashed #9b9b9b; } } .postRank3 { border-bottom: 1px dashed #9b9b9b; height: 40px; line-height: 40px; position: relative; a { display: block; hight: 100%; weight: 100%; } .rank { color: #727578; display: inline-block; font-size: 16px; font-weight: bold; position: absolute; text-align: center; width: 40px; } .view { color: #999; display: inline-block; float: right; font-size: 12px; vertical-align: text-bottom; } .title { display: inline-block; margin-left: 40px; width: 405px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } } } /*--- subBox ---*/ #subBox { float:right; width: 300px; #article-rank { width: 300px; h3 { background: url('@{imgPath}/icon/icon-rank.png'), #5bb27f; background-repeat: no-repeat; background-position: 10px center; border-radius: 5px 5px 0 0; border-bottom:3px solid #43865f; box-sizing: border-box; color: #fff; font-size: 18px; font-weight: normal; height: 40px; line-height: 40px; margin: 0; text-shadow: 1px 1px 0px #43865f; padding-left: 50px; } .inArticle-rank { border: 2px solid @borderColor; border-top: none; box-sizing: border-box; overflow: hidden; padding: 0 5px 5px 5px; ul { li { border-bottom: 1px dashed #9b9b9b; overflow: hidden; padding: 7px 0 5px; &:last-child { border-bottom: none; } &:hover { filter: alpha(opacity=80); opacity: 0.8; } .thumbnail { background-size: cover; background-position: center; border: 1px solid #ddd; box-shadow: 0px 0px 0px 1px #fff inset; float:left; height: 60px; width: 60px; &:hover { text-decoration: none; } span { background: #f8b551; color: #fff; display: block; font-weight: bold; height: 20px; text-align: center; width: 20px; } } .thumbnail2 { display: table-cell; height: 80px; position: relative; width: 80px; a { display: block; height: 100%; width: 100%; img { bottom: 0; margin: auto; position: absolute; top:0; } } } .text { float:right; width: 220px; .infoItem { overflow: hidden; width: 100%; .category { background: #d6d6d6; color: #fff; display: inline-block; font-size: 10px; height: 14px; position: absolute; text-align: center; width: 60px; &.borrow { background: @borrowColor;} &.use { background: @useColor;} &.deposit { background: @depositColor;} &.increase { background: @increaseColor;} &.knowledge { background: @knowledgeColor;} } .view { color: #9b9b9b; float:right; font-size: 12px; vertical-align: bottom; i { margin-right: 5px; } } } .title { font-size: 11px; font-weight: normal; line-height: 1.5; height: calc(11px * 1.5 * 3); margin: 0; position: relative; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; width: 220px; } } .text2 { display: table-cell; padding-left: 5px; vertical-align: top; width:200px; p { line-height: 1.4; margin: 0; &.name { font-weight: bold; } &.point { font-size: 12px; } } } .rankIcon { img { height: auto; width: 30px; } .u3 { background:#f8b551; padding: 0 4px; font-size: 9px; color: #fff; } } } } } } .sideBnr { margin: 10px 0 0; } .fb-page, .tw-page { margin: 20px 0 0; } .fb-page { height: 214px; width: 300px; } .tw-page { height: 640px; width: 300px; margin-bottom: 30px; h3 { background: #5bb27f; background-repeat: no-repeat; background-position: 10px center; border-radius: 5px 5px 0 0; border-bottom:3px solid #43865f; box-sizing: border-box; color: #fff; font-size: 18px; font-weight: normal; height: 40px; line-height: 40px; margin: 0; text-align: center; text-shadow: 1px 1px 0px #43865f; } iframe { border-left: 1px solid #eee !important; box-sizing: border-box; } } #ad { background: url('@{imgPath}/sample.png'); height: 250px; margin-bottom: 20px; width: 300px; } } .pagetop { bottom: 0; position: fixed; right: 5%; p { background: rgba(230,230,230,0.6); border-radius: 5px; display: block; height: 50px; width: 60px; &:after { border-top: 1px solid #a7a7a7; border-right: 1px solid #a7a7a7; bottom: 0; content: ""; height: 30px; left: 0; margin: auto; position: absolute; right: 0; top: 20px; vertical-align: middle; width: 30px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } } } /*********************** footer ***********************/ footer { background: url('@{imgPath}/footer-bg.png') repeat-x; height: 360px; position: relative; width: 100%; .footerInner { margin: 0 auto; overflow: hidden; width: 1000px; .footerMenu { margin: 0 auto; overflow: hidden; width: 960px; .menu { border: none; float:left; width: 190px; margin: 15px 0; h3 { font-size: 14px; line-height: 1.4; a { color: #575757; } } ul { line-height: 1.8; overflow: hidden; margin-left: 0; li { a { color: #575757; &:hover { color: #5bb27f; font-weight: bold; } } } } } } .footerBottom { bottom: 0; color: #fff; font-size: 11px; position: absolute; width: 1000px; } ul { li { float:left; margin-right: 20px; a { color: #fff; } } } p { float:right; font-size: 11px; margin: 0; } } } /*********************** redirect ***********************/ #redirectContents { .radius(6px); background: #ffffff; margin: 30px auto 30px; padding: 20px 20px 40px; width: 500px; img { margin-bottom:30px; } p { line-height: 1.5; strong { color: #f8b551; font-size: 18px; } a { text-decoration: underline; } &.duration { color: darken(@themeColor, 20%); font-size: 16px; display: block; height: auto; background-color: #f7fde7; border: 1px solid #51b302; line-height: 1.8; font-weight: bold; margin-top: 20px; padding: 10px 0; text-align: center; strong { color: red; font-size: 24px; } } } } @media screen and (max-width: 640px) { #redirectContents { margin: 30px auto 0; width:80%; p { &.duration { font-size: 14px; display: block; background-color: #f7fde7; border: 1px solid #51b302; line-height: 1.8; font-weight: 700; margin: 0; strong { font-size: 18px; } } } } } // TOC #mainBox .postContents .toc-v0 { border: solid 1px #DDDDDD; margin: 20px 0; padding: 20px; .toc-v0-h2 { margin: 15px 0 0; } .toc-v0-h3 { background: none; margin: 5px 0; } .toc-v0-hl { padding: 10px 0; text-align: center; } .toc-v0-ul { margin: 0; &.closed { display: none; } } }