{"id":346,"date":"2018-10-07T08:30:50","date_gmt":"2018-10-06T23:30:50","guid":{"rendered":"https:\/\/058.jp\/twentyseventeen\/?p=346"},"modified":"2018-10-30T05:42:42","modified_gmt":"2018-10-29T20:42:42","slug":"%e3%83%96%e3%83%ad%e3%82%b0%e3%81%ae%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7%e3%81%a7%e3%82%bf%e3%82%a4%e3%83%ab%e7%8a%b6%e3%81%ab%e8%a8%98%e4%ba%8b%e3%82%92%e4%b8%a6%e3%81%b9%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/058.jp\/twentyseventeen\/archives\/346","title":{"rendered":"\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u4e00\u89a7\u3067\u30bf\u30a4\u30eb\u72b6\u306b\u8a18\u4e8b\u3092\u4e26\u3079\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Twenty Seventeen\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u4e00\u89a7\u8868\u793a\u306f\u3042\u307e\u308a\u30b3\u30f3\u30d1\u30af\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u3092\u30ab\u30fc\u30c9\u98a8\u3001\u30bf\u30a4\u30eb\u72b6\u306e\u8868\u793a\u306b\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u4f8b\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/058.jp\/twentyseventeen\/wp\/wp-content\/uploads\/2018\/10\/2-column-blog-list.png\" alt=\"Twenty Seventeen \u3067\u8a18\u4e8b\u306e\u4e00\u89a7\u30922\u5217\u306b\u4e26\u3079\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\"><\/p>\n<p>Twenty Seventeen \u304c\u6700\u521d\u304b\u3089\u8868\u793a\u3057\u3066\u3044\u308b\u9805\u76ee\u3001\u9805\u76ee\u306e\u4e26\u3073\u9806\u3067\u554f\u984c\u306a\u3051\u308c\u3070\u3001\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3067\u5bfe\u5fdc\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u6700\u521d\u304b\u3089\u8868\u793a\u3057\u3066\u3044\u308b\u9805\u76ee\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<ul>\n<li>\u65e5\u4ed8\u30fb\u6295\u7a3f\u8005<\/li>\n<li>\u30bf\u30a4\u30c8\u30eb<\/li>\n<li>\u30b5\u30e0\u30cd\u30a4\u30eb<\/li>\n<li>\u8a18\u4e8b<\/li>\n<li>\u7d9a\u304d\u3092\u8aad\u3080<\/li>\n<\/ul>\n<p>\u3053\u308c\u304c article \u8981\u7d20\u306b\u5165\u3063\u3066\u4e26\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e00\u89a7\u30da\u30fc\u30b8\u3067\u306farticle\u8981\u7d20\u304c\u8907\u6570\u3002\u500b\u5225\u6295\u7a3f\u306e\u30da\u30fc\u30b8\u3067\u306f\u3001article\u8981\u7d20\u304c1\u500b\u3002\u3053\u308c\u3092\u5229\u7528\u3057\u305f\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a18\u4e8b\u30922\u5217\u306b\u4e26\u3079\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u5b50\u30c6\u30fc\u30de\u304b\u8ffd\u52a0CSS\u306b\u4ee5\u4e0b\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nbody:not(.page):not(.single) #main {\r\n  display:flex;\r\n  flex-wrap: wrap;\r\n  justify-content: space-between;\r\n}\r\n@media screen and (min-width: 48em) {\r\n  body:not(.page):not(.single) #main article:not(:only-of-type) {\r\n    flex: 0 0 48%;\r\n    overflow:hidden;\r\n    margin-bottom: 1rem;\r\n  }\r\n}\r\nbody:not(.page):not(.single) #main article:not(:only-of-type) .entry-content {\r\n  height: 4.5rem;\r\n  overflow: hidden;\r\n}\r\nbody:not(.page):not(.single) #main article:not(:only-of-type) .entry-title {\r\n  font-size: 1.2rem;\r\n  font-weight: bold;\r\n  line-height: 1.4;\r\n  height: 4.2em;\r\n}\r\nbody:not(.page):not(.single) #main article:not(:only-of-type) .post-thumbnail {\r\n  height: 10rem;\r\n  overflow: hidden;\r\n}\r\nbody:not(.page):not(.single) #main article:not(:only-of-type) .post-thumbnail img {\r\n  height: 10rem;\r\n  object-fit: cover;\r\n}\r\n<\/pre>\n<p>\u67a0\u3082\u6b32\u3057\u3044\u3068\u304d\u306f\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3002\u89d2\u4e38\uff08border-radius\uff09\u3067\u3082\u5f71\u3092\u4ed8\u3051\u308b\uff08box-shadow\uff09\u3067\u3082\u304a\u597d\u307f\u3067\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nbody:not(.page):not(.single) #main article:not(:only-of-type) {\r\n  border: 1px solid #eee;\r\n  padding: 0.5rem;\r\n}\r\n<\/pre>\n<p>\u5de6\u30ab\u30e9\u30e0\u306e\u5e45\u3092\u5e83\u3052\u305f\u3044\u5834\u5408\u306f\u3001\u5168\u4f53\u306e\u30c7\u30b6\u30a4\u30f3\u306e\u6a2a\u5e45\u3092\u5909\u66f4\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u4e00\u89a7\u306e\u3068\u304d\u8a18\u4e8b\u672c\u6587\u3092\u307b\u3069\u307b\u3069\u3067\u5207\u308b<\/h3>\n<p>the_content \u30d5\u30c3\u30af\u3067\u3001\u5358\u4f53\u8868\u793a\u306e\u6642\u306f\u305d\u306e\u307e\u307e\u3001\u305d\u3046\u3067\u306a\u3044\u3068\u304d\uff08=\u4e00\u89a7\u8868\u793a\u306e\u3068\u304d\uff09\u306f\u30bf\u30b0\u3092\u9664\u53bb\u3057\u3066\u6240\u5b9a\u306e\u6587\u5b57\u6570\u3067\u30ab\u30c3\u30c8\u3057\u3066\u8fd4\u3059\u3068\u3001\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>\r\nadd_filter( 'the_content', 'my_the_content' );\r\nfunction my_the_content($x) {\r\n\tif (is_singular()) {\r\n\t\treturn $x;\r\n\t} else {\r\n\t\treturn '&lt;p&gt;' . mb_substr(strip_tags($x), 0, 100) . '&lt;\/p&gt;';\r\n\t}\r\n}\r\n<\/pre>\n<p>\u8a18\u4e8b\u306e1\u6bb5\u843d\u76ee\u306a\u3069\u3067\u300cmore\uff08\u7d9a\u304d\u3092\u8aad\u3080\uff09\u300d\u3092\u5165\u308c\u3066\u304a\u304f\u3068\u305d\u3053\u3067\u5207\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u3044\u3061\u3044\u3061\u305d\u3046\u3059\u308b\u306e\u306f\u9762\u5012\u306a\u3068\u304d\u306f\u3053\u308c\u3067\u3002<\/p>\n<h3>\u30e1\u30e2<\/h3>\n<p>flex box \u3068\u304b\u3001object-fit \u3068\u304b\u3001\u30d6\u30e9\u30a6\u30b6\u3054\u3068\u306e\u4e92\u63db\u6027\u304c\u6c17\u306b\u306a\u308b\u5834\u5408\u306f\u3001\u5b50\u30c6\u30fc\u30de\u4e0a\u66f8\u304d\u3067\u5b9f\u88c5\u3059\u308b\u306e\u304c\u3088\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Twenty Seventeen\u306e\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u4e00\u89a7\u8868\u793a\u306f\u3042\u307e\u308a\u30b3\u30f3\u30d1\u30af\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u3092\u30ab\u30fc\u30c9\u98a8\u3001\u30bf\u30a4\u30eb\u72b6\u306e\u8868\u793a\u306b\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u4f8b\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":351,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-adjustment"],"_links":{"self":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":14,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/346\/revisions\/451"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/media\/351"}],"wp:attachment":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}