Created
January 23, 2018 05:27
-
-
Save az1979/9a152a2eb6a475f5984c8b4d2296dbce to your computer and use it in GitHub Desktop.
WPP Plus Widget 人気記事ランキングの設定 - スタイルシート
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wpp-list-category-popular { | |
list-style: none; | |
counter-reset: wpp-count 0; | |
line-height: 0; | |
} | |
.wpp-list-category-popular li { | |
border-bottom: none !important; | |
padding: 10px 0 10px !important; | |
} | |
.wpp-list-category-popular-box { | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
-webkit-box-orient: horizontal; | |
-webkit-box-direction: normal; | |
-ms-flex-flow: row nowrap; | |
flex-flow: row nowrap; | |
border: solid 1px #333; | |
} | |
.wpp-list-category-popular-img { | |
border-right: solid 1px #333; | |
} | |
.wpp-list-category-popular-box a, .wpp-list-category-popular-box img { | |
text-decoration: none; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
outline: none; | |
} | |
.wpp-list-category-popular-text { | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
-webkit-box-orient: vertical; | |
-webkit-box-direction: normal; | |
-ms-flex-flow: column nowrap; | |
flex-flow: column nowrap; | |
-webkit-box-pack: center; | |
-ms-flex-pack: center; | |
justify-content: center; | |
-webkit-box-align: center; | |
-ms-flex-align: center; | |
align-items: center; | |
-webkit-box-flex: 1; | |
-ms-flex: 1; | |
flex: 1; | |
background-color: #FFF; | |
font-size: 28px; | |
font-family: 'Limelight', serif; | |
} | |
.wpp-list-category-popular-text:before { | |
counter-increment: wpp-count 1; | |
content: 'No. ' counter(wpp-count); | |
} | |
@media screen and (max-width: 360px) { | |
.wpp-list-category-popular-text:before { | |
counter-increment: wpp-count 1; | |
content: '' counter(wpp-count); | |
} | |
} | |
.wpp-list-category-popular-title { | |
line-height: 1.6; | |
font-weight: bold; | |
margin: 10px 0 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment