Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
PR546での残念対応を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tunacook committed Nov 13, 2014
1 parent 73eac11 commit a69f23e
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions src/statics/less/markdown.less
Expand Up @@ -67,7 +67,7 @@
background-color: rgb(244, 244, 244);
.border-radius(5px)
}
img {
img, video, iframe, embed {
// PCではデカくなりすぎないようにしている
@media (min-width: @screen-lg-min) {
max-width: 500px;
Expand All @@ -77,37 +77,6 @@
max-width: 100%;
}
}
video {
// PCではデカくなりすぎないようにしている
@media (min-width: @screen-lg-min) {
max-width: 500px;
}
// SPWebで画像がはみ出さないようにしている
@media (max-width: @screen-md-max) {
max-width: 100%;
}
}
// SPWebでYouTubeプレイヤーなどのブログパーツの見栄えを整える
iframe {
// PCではデカくなりすぎないようにしている
@media (min-width: @screen-lg-min) {
max-width: 500px;
}
// SPWebで画像がはみ出さないようにしている
@media (max-width: @screen-md-max) {
max-width: 100%;
}
}
embed {
// PCではデカくなりすぎないようにしている
@media (min-width: @screen-lg-min) {
max-width: 500px;
}
// SPWebで画像がはみ出さないようにしている
@media (max-width: @screen-md-max) {
max-width: 100%;
}
}


// Baseline styles
Expand Down

0 comments on commit a69f23e

Please sign in to comment.