_sass/jekyll-zeta.scss in jekyll-zeta-0.5.3 vs _sass/jekyll-zeta.scss in jekyll-zeta-0.5.4

- old
+ new

@@ -16,24 +16,10 @@ font-family: monospace; font-size: 1.1rem; // background-color: #fafafa; margin: 0; - // &::before{ - // content: ""; - // position: fixed; - // left: 0; - // right: 0; - // top: 0; - // bottom: 0; - - // // background-image: url(../image/bg-2.png) ; - // // background-color: #fffef8 ;//#fffef9; - // z-index: -1; - // // filter: grayscale(0.8); - // // opacity: 0.9; - // } } article{ line-height: 1.6; } @@ -75,30 +61,14 @@ blockquote { font-style: italic; border-left: 5px solid #dfe2e5; color: #999; - // padding: 2rem 0.25rem .25rem 0.25rem; padding: 15px; margin: 3em 0; background-color: $color-lightGrayBg; - - &::before{ - content: ""; - display: block; - background: url(../image/quote.svg) no-repeat 50% 50%; - width: 27px; - height: 20px; - position: absolute; - z-index: 1; - - margin-left: -10px; - margin-top: -24px; - opacity: 0.1; - - } } blockquote p { margin: 0 } @@ -120,31 +90,19 @@ padding: 0.4em 1em ; } tr:nth-child(even){ background-color: #f5f5f5; } + -// hr { -// margin-top: 2rem; -// margin-bottom: 2rem; - - -// border: 0; -// padding: 3px; - -// background: repeating-linear-gradient(135deg, #000 0px, #000 1px, transparent 1px, transparent 5px); -// } - hr{ border: none; margin: 2rem 0; border:none; text-align: center; color: $color-gray; - - &:before { content: '/////' } - &:after { content: '/////' } + border-bottom: $color-lightGray dashed 1px; } a { text-decoration: none; @@ -275,6 +233,21 @@ /* 鼠标悬停时改变按钮颜色 */ } input[type="button"]:hover{ background-color: $color-black; color: white; -} +} + + +pre{ + white-space: pre-wrap; /* 保留空白字符,但是允许自动换行 */ + overflow-wrap: break-word; /* 在单词内允许换行 */ +} + +img{ + max-width: 80%; + +} + +// .iconchar{ +// filter: grayscale(0.2); +// } \ No newline at end of file