diff --git a/css/common.css b/css/common.css index 60280e7..c516c4e 100644 --- a/css/common.css +++ b/css/common.css @@ -237,11 +237,16 @@ body { } .my-project .my-box .head .item .boxx { position: absolute; + top: 50%; + transform: translateY(-50%); } .my-project .my-box .head .item.pitch { color: #000000; flex: none; } +.my-project .my-box .head .item.pitch.item-right .boxx { + left: 262px; +} .my-project .my-box .head .item.pitch .bj, .my-project .my-box .head .item.pitch .icon { display: block; @@ -444,7 +449,7 @@ body { margin-right: 5px; } .my-project .my-box .contrast-box .right .list .item { - width: 370px; + width: 375px; background-color: #ffffff; border: 1px solid #f2f2f2; border-radius: 8px; diff --git a/css/common.less b/css/common.less index 6782080..dae6a05 100644 --- a/css/common.less +++ b/css/common.less @@ -275,6 +275,8 @@ body { flex: 1; .boxx { position: absolute; + top: 50%; + transform: translateY(-50%); } &.pitch { color: #000000; @@ -285,6 +287,9 @@ body { } &.item-right { // padding-left: 80px; + .boxx { + left: 262px; + } } .bj, .icon { @@ -518,7 +523,7 @@ body { margin-right: 5px; .item { - width: 370px; + width: 375px; background-color: rgba(255, 255, 255, 1); border: 1px solid rgba(242, 242, 242, 1); border-radius: 8px;