mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
优化:
1、移除H1和H2的背景,使其支持文章的段落对齐 2、移除表格最大限制100%宽度,允许显示横向滚动条 3、移除图片显示模式,使其支持文章图片百分比设置,目前仍然不文章图片对齐格式支持,仍固定为居中
This commit is contained in:
parent
074201c7bc
commit
da0cfbe53f
@ -3226,8 +3226,8 @@ button.swiper-pagination-bullet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
display: inline;
|
//display: inline;
|
||||||
background: linear-gradient(to bottom, transparent 60%, var(--bg-g) 0);
|
//background: linear-gradient(to bottom, transparent 60%, var(--bg-g) 0);
|
||||||
|
|
||||||
&:before, &:after {
|
&:before, &:after {
|
||||||
content: '';
|
content: '';
|
||||||
@ -3468,7 +3468,7 @@ button.swiper-pagination-bullet {
|
|||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
//max-width: 100%;
|
||||||
border-collapse: unset;
|
border-collapse: unset;
|
||||||
background: var(--bg-d);
|
background: var(--bg-d);
|
||||||
margin-bottom: 14px;
|
margin-bottom: 14px;
|
||||||
@ -3499,6 +3499,13 @@ button.swiper-pagination-bullet {
|
|||||||
tr {
|
tr {
|
||||||
transition: background 0.35s;
|
transition: background 0.35s;
|
||||||
|
|
||||||
|
th {
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 1em 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:nth-child(2n) {
|
&:nth-child(2n) {
|
||||||
background: var(--bg-j);
|
background: var(--bg-j);
|
||||||
}
|
}
|
||||||
@ -3644,7 +3651,7 @@ button.swiper-pagination-bullet {
|
|||||||
& > div {
|
& > div {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: inline-block;
|
//display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > p {
|
& > p {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user