deprecated
2 months ago
block.json
1 month ago
edit.js
2 months ago
icon.svg
2 months ago
index.js
2 months ago
index.php
2 months ago
mediaUpload.js
2 months ago
save.js
2 weeks ago
style.scss
2 months ago
utils.js
2 months ago
style.scss
91 lines
| 1 | /*-------------------------------------------*/ |
| 2 | /* Layout |
| 3 | /*-------------------------------------------*/ |
| 4 | .vk_prContent { |
| 5 | @media (min-width: 576px) { |
| 6 | display: flex; |
| 7 | .col-sm-6 { |
| 8 | width: 50%; |
| 9 | } |
| 10 | &-layout { |
| 11 | &-imageLeft { |
| 12 | flex-direction: row; |
| 13 | } |
| 14 | |
| 15 | &-imageRight { |
| 16 | flex-direction: row-reverse; |
| 17 | } |
| 18 | |
| 19 | &-imageLeft .vk_prContent_colImg { |
| 20 | padding-right: 2em; |
| 21 | padding-left: 0; |
| 22 | } |
| 23 | |
| 24 | &-imageRight .vk_prContent_colImg { |
| 25 | padding-left: 2em; |
| 26 | padding-right: 0; |
| 27 | } |
| 28 | } |
| 29 | } // @media (min-width: 768px) { |
| 30 | } |
| 31 | |
| 32 | /*-------------------------------------------*/ |
| 33 | /* others |
| 34 | /*-------------------------------------------*/ |
| 35 | // 編集画面でcssの指定が軽くて負けるので.vk_prContent .vk_prContent_colTxt を� |
| 36 | �に記述 |
| 37 | .vk_prContent { |
| 38 | & &_colTxt { |
| 39 | vertical-align: top; |
| 40 | .vk_prContent_colTxt_title { |
| 41 | font-size: calc( 1rem * 1.75 ); |
| 42 | background-color: transparent; |
| 43 | font-weight: bold; |
| 44 | margin-top: 0; |
| 45 | margin-bottom: 0.8em; |
| 46 | outline: unset; |
| 47 | outline-offset: unset; |
| 48 | box-shadow: unset; |
| 49 | border: none; |
| 50 | border-radius:unset; |
| 51 | padding: 0; |
| 52 | color: inherit; |
| 53 | line-height: 1.5; |
| 54 | text-align: left; /* 見出しに左右線デザインを当てられている場合があるので上書きする */ |
| 55 | @media (max-width: 575.98px) { |
| 56 | &:first-child { |
| 57 | margin-top: 30px; |
| 58 | } |
| 59 | } |
| 60 | &:before, |
| 61 | &:after { |
| 62 | content: none; |
| 63 | |
| 64 | } |
| 65 | } |
| 66 | &_text { |
| 67 | line-height: 1.8; |
| 68 | margin-bottom: 1.7em; |
| 69 | } |
| 70 | &_btn.btn { |
| 71 | @media (min-width: 992px) { |
| 72 | font-size: 16px; |
| 73 | } |
| 74 | } |
| 75 | } // .vk_prContent_colTxt |
| 76 | .vk_prContent_colImg { |
| 77 | &_image { |
| 78 | max-width: 100%; |
| 79 | height: auto; |
| 80 | } |
| 81 | .components-button.button { |
| 82 | margin: 1em; |
| 83 | } |
| 84 | .components-button.image-button { |
| 85 | margin: 0; |
| 86 | height: auto; //これがないとfirefoxの管理画面上でbutton� |
| 87 | のimage画像が上にはみ出す |
| 88 | } |
| 89 | } |
| 90 | } // .vk_prContent { |
| 91 |