Created
December 7, 2019 07:16
-
-
Save mono96/f68948509d1a14d64cff90e6f8448ad1 to your computer and use it in GitHub Desktop.
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
/* ブログカードは透明で背景色とかぶっちゃうので白に */ | |
.wp-oembed-blog-card { | |
background-color: #fff; | |
} | |
/* ブログカード */ | |
.wp-oembed-blog-card { | |
box-shadow:none; | |
border-radius: 0; | |
background-color:#F8F9FA; | |
} | |
.wp-oembed-blog-card__title { | |
font-weight: 500; | |
} | |
.wp-oembed-blog-card>a, .wp-oembed-blog-card>span { | |
color:#1a0dab; | |
padding: 2.2em 1em 1em 1.5em; | |
font-size: 16px; | |
} | |
.wp-oembed-blog-card:before{ | |
content: "あわせて読みたい"; | |
position: absolute; | |
line-height: 1.2; | |
background: #a0a0a0; | |
letter-spacing: 0.2em; | |
color: #fff; | |
font-weight: bold; | |
font-size:12px; | |
padding: .5em; | |
} | |
.wp-oembed-blog-card:after { | |
content: ">> 続きを読む"; | |
font-size: 80%; | |
/* background: #5f5f5f; */ | |
color: #666; | |
position: relative; | |
left: 82%; | |
bottom: .8em; | |
border:1px solid #a0a0a0; | |
padding: 0.2em 0.5em 0.3em; | |
} | |
@media screen and (max-width: 1100px) { | |
.wp-oembed-blog-card:after { | |
left: 72%; | |
} | |
} | |
@media screen and (max-width: 480px) { | |
.wp-oembed-blog-card:after { | |
left: 66%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment