@charset "utf-8"; @import "../initial"; // Link MODULES .widget-link { // 在 layout-content 下的樣式 .widget-title { @extend .unity-title; } .widget-content-title{ border: 2px solid #00c0f5; position: relative; -webkit-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); -moz-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); -ms-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); -o-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); font-size: 1.1em; @media(max-width: 768px){ font-size: 1em; } } .widget-content{ &:hover{ .widget-content-title{ top: -20px; border-radius: 1em!important; behavior: url("/assets/ie_support/PIE2/PIE.htc"); } } } &.widget1 { .list-unstyled{ display: flex; flex-wrap: wrap; overflow: hidden; li:nth-child(n+16){ display: none; } } .widget-content { line-height: 2.5em; width: 20%; padding: 2em; text-align: center; @media(max-width:1200px)and(min-width: 769px){ padding: 1em !important; } @media(max-width:1024px){ width: 33.3% !important; padding: 0.5em !important; } .link-img-wrap{ border-radius: 50%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); overflow: hidden; &:hover{ border-radius: 20%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; } } & + .widget-content { } .widget-content-title { background-color: #fff; padding:0 0.5em; border-radius: 0.5em; color: #333; font-weight: bold; text-align: center; width: fit-content; margin: auto; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; @media(max-width: 768px){ width: auto; padding: 0.2em 0.5em; display: -webkit-box; -webkit-line-clamp: 2; line-height: normal; } } } // 在 layout-footer 下的樣式 .layout-footer & { .widget-content { line-height: 2em; border-top-color: $theme-green-light; } } } } // Link INDEX .index-link { .index-title { @extend .unity-title; } &.index1 { .index-content { & + .index-content { border-top: 0.0625em dotted $theme-gray-light; } .index-context { display: inline-block; font-size: 0.813em; margin: 0 0 0.625em 2em; color: darken($theme-gray-light, 20%); } } .index-content-title { font-family: $main-font; font-size: 1em; } } &.index2 { .list-unstyled { display: flex; flex-wrap: wrap; } .index-content { padding: 1em; } .status-top { line-height: 2.5; } } &.index3 { .list-unstyled { display: flex; flex-wrap: wrap; @media(max-width: $screen-xs){ width: 100vw; margin-left: -1.5em; } } .index-content { padding: 1em; } .status-top { line-height: 2.5; } .index-content { width: 20%; padding: 2em; text-align: center; @media(max-width: $screen-xs){ width: 33.3%; padding: 0.5em; } &:hover{ border-radius: 20%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; h4{ top: -20px; border-radius: 1em !important; behavior: url("/assets/ie_support/PIE2/PIE.htc"); } .link-img-wrap{ border-radius: 20%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); -webkit-transition: .3s all ease; -o-transition: .3s all ease; transition: .3s all ease; } } .link-img-wrap{ border-radius: 50%; behavior: url("/assets/ie_support/PIE2/PIE.htc"); overflow: hidden; width: 100%; display: block; } & + .widget-content { } .index-content-title { h4{ font-size: 1em; background-color: #fff; padding:0.5em; border-radius: 0.5em; color: #333; font-weight: bold; text-align: center; margin: auto; border: 2px solid #00c0f5; position: relative; -webkit-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); -moz-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); -ms-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); -o-transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); transition: all 300ms cubic-bezier(0.39, 0.5, 0.15, 1.36); .link-title{ margin: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } } } } .col-xs-1-5, .col-sm-1-5, .col-md-1-5, .col-lg-1-5 { position: relative; min-height: 1px; padding-right: 10px; padding-left: 10px; } .col-xs-1-5 { width: 20%; float: left; } @media (min-width: 768px) { .col-sm-1-5 { width: 20%; float: left; } } @media (min-width: 992px) { .col-md-1-5 { width: 20%; float: left; padding: 2em; } } @media (min-width: 1200px) { .col-lg-1-5 { width: 20%; float: left; } } } } .morebken{ font-size: 1.2em; font-weight: normal; color: #fff; border: 2px solid #fff; border-radius: 2em; behavior: url("/assets/ie_support/PIE2/PIE.htc"); padding: 0.5em 1em; width: fit-content; margin: auto; cursor: pointer; display: flex; align-items: center; i{ font-size: 0.8em; padding-left: 5px; padding-right: 5px; } }