diff options
author | SkyArrow <tommy351@gmail.com> | 2012-01-24 14:53:22 +0100 |
---|---|---|
committer | SkyArrow <tommy351@gmail.com> | 2012-01-24 14:53:22 +0100 |
commit | 1c574d24b7fdd482499fa9553c19342b6a4d391e (patch) | |
tree | 3381ce235c72044d6fa76243e9d6948c737a6e4f /sass/partials/_index.scss | |
download | octopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.zip octopress-theme-jeyzu-1c574d24b7fdd482499fa9553c19342b6a4d391e.tar.gz |
created
Diffstat (limited to 'sass/partials/_index.scss')
-rw-r--r-- | sass/partials/_index.scss | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/sass/partials/_index.scss b/sass/partials/_index.scss new file mode 100644 index 0000000..bbb45cb --- /dev/null +++ b/sass/partials/_index.scss @@ -0,0 +1,140 @@ +#main_col{ + width: 750px; + article{ + margin-bottom: 30px; + header{ + line-height: 1; + .date{ + background: #000; + color: #fff; + width: 40px; + height: 50px; + padding: 5px 10px; + margin-right: 5px; + white-space: nowrap; + text-transform: uppercase; + strong{ + display: block; + font-size: 30px; + margin-bottom: 2px; + font-weight: bold; + } + } + .title{ + background: $black; + color: #fff; + font-size: 25px; + padding: 25px 10px 10px; + max-width: 665px; + font-weight: inherit; + a{ + color: #fff; + } + } + } + .entry{ + text-align: justify; + margin-top: 5px; + background: #fff; + padding: 10px 20px; + line-height: 2; + color: #333; + position: relative; + word-wrap: break-word; + p{ + margin-bottom: 10px; + } + img{ + max-width: 100%; + height: auto; + margin-top: 10px; + } + a{ + color: $main; + &:hover{ + text-decoration: underline; + } + } + ul, ol{ + margin-left: 20px; + margin-bottom: 10px; + } + h2{ + margin-bottom: 10px; + border-bottom: 1px solid #ddd; + font-weight: inherit; + color: #000; + } + blockquote{ + color: #666; + font-size: 13px; + position: relative; + padding-left: 30px; + margin-bottom: 10px; + &:before{ + position: absolute; + content: "“"; + font-size: 50px; + line-height: 1; + top: 0; + left: 0; + @include user-select(none); + } + &.attach:before{ + content: "A"; + font: 13px/2 $symbol; + } + } + pre{ + color: #666; + font: 13px $code-font; + position: relative; + margin-bottom: 10px; + overflow-x: auto; + line-height: 1.5; + } + code{ + font-family: $code-font; + } + footer{ + border-top: 1px solid #ddd; + padding-top: 10px; + min-height: 26px; + a{ + color: #000; + position: relative; + &:hover{ + color: $main; + text-decoration: none; + } + &:before, &:after{ + font: 16px $symbol; + @include user-select(none); + } + } + .more-link{ + &:hover{ + color: $main; + text-decoration: none; + } + &:before{ + content: "j"; + padding-right: 10px; + } + } + .comment{ + &:after{ + content: "d"; + right: 0; + padding-left: 10px; + } + &:hover{ + &:after{ + content: "e"; + } + } + } + } + } + } +}
\ No newline at end of file |