Created
November 23, 2018 07:43
-
-
Save saggie/abd0ed77f00ccc7fbb9916075c03fe3b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| @charset "utf-8"; | |
| h1,h2,h3,h4,h5,h6 { | |
| a { | |
| text-decoration: none; | |
| } | |
| } | |
| a:link { | |
| color:#474A54; | |
| } | |
| a:visited { | |
| color:#6B6E7A; | |
| } | |
| a.keyword { | |
| color: black; | |
| text-decoration: none; | |
| border-bottom: 1px solid #d0d0d0; | |
| } | |
| // フォント | |
| html, body { | |
| font-family: sans-serif; | |
| } | |
| // 2カラムレイアウト | |
| body { | |
| div#container { | |
| div#container-inner { | |
| div#content { | |
| div#content-inner { | |
| position: relative; | |
| width: 100%; | |
| top: 0; | |
| left: 0; | |
| div#wrapper { | |
| margin-left: 170px; | |
| div#main { | |
| margin: 0% 5% 0% 5%; | |
| padding: 4px; | |
| } | |
| } | |
| aside#box2 { | |
| position: absolute; | |
| top: 0px; | |
| left: 0px; | |
| width: 150px; | |
| margin-left: 5%; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| // メインのレイアウト | |
| body { | |
| color: black; | |
| background-color: #ffffff; | |
| div#globalheader-container { | |
| background-color: #6F737F; | |
| color: #ffffff; | |
| } | |
| div#container { | |
| div#container-inner { | |
| header#blog-title { | |
| div#blog-title-inner { | |
| h1#title { | |
| text-align: left; | |
| font-size: 16pt; | |
| font-weight: bold; | |
| border-bottom: 1px dotted #adb2ff; | |
| margin-top: 10px; | |
| margin-bottom: 10px; | |
| margin-left: 5%; | |
| margin-right: 5%; | |
| padding: 4px 4px 4px 4px; | |
| } | |
| h2#blog-description { | |
| } | |
| } | |
| } | |
| div#top-box { | |
| } | |
| div#content { | |
| div#content-inner { | |
| div#wrapper { | |
| div#main { | |
| div#main-inner { | |
| article.hentry { | |
| margin-bottom: 100px; | |
| div.entry-inner { | |
| header.entry-header { | |
| border-top: #9699A2 1px solid; | |
| border-left: #9699A2 1px solid; | |
| border-right: #9699A2 1px solid; | |
| div.date { | |
| font-weight: bold; | |
| background-color: #9699A2; | |
| padding: 3px 0px 2px 10px; | |
| width: auto; | |
| a { | |
| time { | |
| color: #ffffff; | |
| font-style: normal; | |
| margin-left: 2px; | |
| margin-right: 2px; | |
| } | |
| } | |
| } | |
| h1.entry-title { | |
| border-left: 9px solid #9699A2; | |
| padding-left: 0.5em; | |
| margin-bottom: 0; | |
| font-size: 108%; | |
| line-height: 1.5; | |
| margin-left: 10px; | |
| margin-top: 2%; | |
| a { | |
| color: #333; | |
| } | |
| } | |
| div.categories.no-categories { | |
| padding: 0; | |
| } | |
| div.categories { | |
| font-size: 90%; | |
| text-align: left; | |
| margin-left: 10px; | |
| padding-top: 0.7%; | |
| padding-bottom: 0.7%; | |
| a { | |
| text-decoration: none; | |
| } | |
| } | |
| } | |
| div.entry-content { | |
| border-left: #9699A2 1px solid; | |
| border-right: #9699A2 1px solid; | |
| border-bottom: #9699A2 1px solid; | |
| padding-top: 1px; | |
| padding-right: 10px; | |
| padding-bottom: 1px; | |
| padding-left: 10px; | |
| } | |
| footer.entry-footer { | |
| font-size: 90%; | |
| div.comment-box { | |
| ul.comment { | |
| list-style: none; | |
| margin: 0 0 0 0; | |
| padding: 0 0 0 0; | |
| li { | |
| p.comment-user-name { | |
| img.hatena-id-icon { | |
| } | |
| a.comment-user-id { | |
| span.comment-nickname { | |
| } | |
| } | |
| } | |
| div.comment-content { | |
| } | |
| p.comment-metadata { | |
| a.permalink { | |
| } | |
| time { | |
| color: #999; | |
| } | |
| span.hatena-star-comment-container { | |
| } | |
| span.hatena-star-star-container { | |
| } | |
| } | |
| a.comment-delete-button { | |
| } | |
| } | |
| } | |
| a.leave-comment-title { | |
| text-decoration: underline; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| div.pager { | |
| font-size: 90%; | |
| margin: 1% 5% 0 0; | |
| padding: 1% 0 0 0; | |
| text-align: left; | |
| } | |
| } | |
| } | |
| aside#box1 { | |
| } | |
| } | |
| aside#box2 { | |
| font-size: 80%; | |
| div#box2-inner { | |
| div.hatena-module { | |
| div.hatena-module-title { | |
| margin: 1em 0 0.3em 0; | |
| padding: 0; | |
| text-align: center; | |
| font-weight: normal; | |
| border-color: #9699A2; | |
| border-style: solid; | |
| border-width: 0px 0px 1px 0px; | |
| } | |
| div.hatena-module-body { | |
| ul.hatena-urllist { | |
| list-style: none; | |
| margin: 0 0 0 0; | |
| padding: 0 0 0 0; | |
| } | |
| } | |
| } | |
| div.hatena-module-profile { | |
| div.hatena-module-body { | |
| text-align: center; | |
| a { | |
| } | |
| span.id { | |
| display: block; | |
| text-align: left; | |
| } | |
| div.profile-description { | |
| text-align: left; | |
| p { | |
| margin-top: 0; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| div#bottom-editarea { | |
| } | |
| } | |
| } | |
| footer#footer { | |
| } | |
| } | |
| .entry-header { | |
| position: relative; | |
| } | |
| .entry-header-menu { | |
| position: absolute; | |
| right: 5px; | |
| bottom: 0px; | |
| font-size: 90%; | |
| } | |
| // entry-content の中の書式 | |
| div.entry-content { | |
| font-size: 90%; | |
| line-height: 1.5; | |
| p { | |
| margin-bottom: 0.5%; | |
| margin-top: 0.5%; | |
| padding-top: 0.2%; | |
| padding-bottom: 0.2%; | |
| } | |
| img { | |
| max-width: 100%; | |
| } | |
| img.hatena-fotolife { | |
| border: 1px solid #606060; | |
| } | |
| h1,h2,h3,h4,h5,h6 { | |
| margin: 1.3em 0 0.8em 0; | |
| line-height: 1.5; | |
| } | |
| h1 { | |
| text-align: left; | |
| font-size: 16pt; | |
| font-weight: bold; | |
| border-bottom: 1px dotted #adb2ff; | |
| margin-top: 10px; | |
| margin-bottom: 10px; | |
| margin-left: 5%; | |
| margin-right: 5%; | |
| padding: 4px 4px 4px 4px; | |
| } | |
| h2 { | |
| font-size: 100%; | |
| background-color: #9699A2; | |
| padding: 3px 0px 2px 10px; | |
| margin: 5px 0 0 0; | |
| width: auto; | |
| } | |
| h3 { | |
| font-size: 120%; | |
| font-weight: bold; | |
| margin-top: 2%; | |
| margin-bottom: 0.1% | |
| } | |
| h4 { | |
| font-size: 100%; | |
| font-weight: bold; | |
| margin: 0.6em 10% 0 0.4em; | |
| border-left: 5px solid #9699A2; | |
| border-bottom: 1px solid #9699A2; | |
| padding: 0px 0.5em 0.1em 0.5em; | |
| } | |
| h5 { | |
| font-size: 100%; | |
| margin: 0.5em 0 0 0.7em; | |
| } | |
| h6 { | |
| } | |
| table { | |
| margin: 10px; | |
| tr { | |
| th { | |
| padding: 3px; | |
| background: #EEE; | |
| border-bottom: 1px solid gray; | |
| } | |
| td { | |
| padding: 3px; | |
| border-bottom: 1px dashed gray; | |
| } | |
| } | |
| } | |
| blockquote { | |
| color: #333333; | |
| background-color: #ffffff; | |
| border: #9699A2 1px solid; | |
| margin: 1% 2%; | |
| padding-top: 8px; | |
| padding-right: 8px; | |
| padding-bottom: 8px; | |
| padding-left: 8px; | |
| p { | |
| margin-left: 0em; | |
| text-indent: 0em | |
| } | |
| } | |
| pre { | |
| margin-left: 2em; | |
| margin-right: 2em; | |
| background-color: #EDEDED; | |
| padding: 8px; | |
| } | |
| .hatena-asin-detail { | |
| li { | |
| line-height: 1.4; | |
| } | |
| } | |
| } | |
| // archive ページ | |
| body.page-archive { | |
| div#main { | |
| div#main-inner { | |
| border-top: #9699A2 24px solid; | |
| border-right: #9699A2 1px solid; | |
| border-bottom: #9699A2 1px solid; | |
| border-left: #9699A2 1px solid; | |
| padding-top: 2%; | |
| padding-bottom: 2%; | |
| section.archive-entry { | |
| line-height: 1.5; | |
| div.date { | |
| font-size: 90%; | |
| margin-top: 0; | |
| margin-bottom: 0; | |
| margin-left: 10px; | |
| } | |
| h1 { | |
| font-size: 90%; | |
| font-weight: normal; | |
| margin-top: 0; | |
| margin-bottom: 0; | |
| margin-left: 40px; | |
| display: list-item; | |
| } | |
| div.categories { | |
| font-size: 80%; | |
| font-style: italic; | |
| margin-left: 40px; | |
| } | |
| div.archive-entry-body { | |
| p.entry-description { | |
| font-size: 85%; | |
| margin-top: 0; | |
| margin-bottom: 0; | |
| margin-left: 50px; | |
| } | |
| } | |
| ul { | |
| font-size: 90%; | |
| margin-top: 0; | |
| margin-bottom: 0; | |
| list-style-type: circle; | |
| margin-left: 40px; | |
| li { | |
| span.categories { | |
| a:before { | |
| content: "["; | |
| } | |
| a:after { | |
| content: "]"; | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| div.pager { | |
| font-size: 90%; | |
| margin: 1% 5% 0 0; | |
| padding: 1% 0 0 0; | |
| text-align: left; | |
| } | |
| } | |
| } | |
| // | |
| // 以下はboilerplateのコード | |
| // | |
| #blog-description { | |
| font-weight: normal; | |
| font-size: 80%; | |
| margin: 5px 0 0 5%; | |
| } | |
| // ヘッダ画像を設定したとき | |
| .header-image-enable { | |
| #title { | |
| padding-top: 70px; | |
| } | |
| #title, | |
| #blog-description { | |
| padding-left: 20px; | |
| } | |
| } | |
| // パンくず(カテゴリーページで表示されます) | |
| #top-box { | |
| margin: 10px auto 20px; | |
| font-size: 90%; | |
| .breadcrumb { | |
| border: 1px solid #ddd; | |
| padding: 10px; | |
| } | |
| } | |
| // Footer | |
| #footer { | |
| padding: 30px 0; | |
| text-align: center; | |
| color: #999; | |
| line-height: 1.5; | |
| font-size: 80%; | |
| p { | |
| margin: 0; | |
| } | |
| a { | |
| color: #999; | |
| } | |
| } | |
| // About ページ | |
| body.page-about { | |
| dt { | |
| font-size: 16px; | |
| font-weight: bold; | |
| border-bottom: 1px solid #dfdfdf; | |
| margin-bottom: 5px; | |
| } | |
| dd { | |
| margin-left: 0; | |
| margin-bottom: 30px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment