CSS HTML Баннер криво стоит

CreyV

Участник
Автор темы
63
2

Помогите поправить
Код:
.userBannerLight:before,.userBanner--staff:before {
    content: "";
    position: absolute;
    background: linear-gradient(135deg, transparent 0%, transparent 30%, rgba(250,250,250,0.7) 50%, transparent 70%, transparent 100%);
    background-repeat: no-repeat;
    top: 0px;
    left: -80%;
    width: 100%;
    height: 100%;
    animation: light 2.5s infinite
}

@media (max-width: 990px) {
    .message:not(.message--forceColumns) .message-userBanner.userBanner.userBannerLight,.message:not(.message--forceColumns) .message-userBanner.userBanner.userBanner--staff {
        text-align:center;
        display: block;
        margin: 3px
    }
}

.userBanner--staff {
    background: #1ba39c !important;
    color: #fff !important;
    width: 108px
}

@keyframes light {
    0% {
        left: -80%
    }

    100% {
        left: 80%
    }
}
 

Youmii

Новичок
4
0
.p-header-logo--before {
background-image: url(styles/fury/img/logobg.jpg) !important;
background-color: transparent !important;
background-size: 100% !important;
background-position: center top !important;
}
.p-header-logo--before::after {
display:none;
}
.p-body-sidebar .block-minorHeader {
font-size: 17px;
color: #fff;
font-weight: 700;
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
}
.button.button--primary, a.button.button--primary {
color: #fff;
background: #0078af;
min-width: 80px;
}
.button, a.button {
display: inline-block;
display: inline-flex;
align-items: center;
margin-left: 2px;
justify-content: center;
text-decoration: none;
cursor: pointer;
border: 1px solid transparent;
white-space: nowrap;
-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;
transition: background-color .125s ease, border-color .125s ease, color .125s ease;
font-size: 12px;
border-radius: 4px;
padding-top: 15px;
padding-right: 18px;
padding-bottom: 13px;
padding-left: 18px;
font-weight: 500;
text-align: center;
text-transform: none;
letter-spacing: .05em;
border: none;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
color: #fff;
background: #0078af;
}
.quick-access .button {
padding: 1px 0;
width: 100%;
height: 50px;
border: 1px solid #4d5460;
display: inline-block;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
cursor: pointer;
border: 1px solid transparent;
white-space: nowrap;
-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;
transition: background-color .125s ease, border-color .125s ease, color .125s ease;
font-size: 14px;
border-radius: 4px;
padding-top: 15px;
padding-right: 18px;
padding-bottom: 13px;
padding-left: 18px;
font-weight: 500;
text-align: center;
text-transform: none;
letter-spacing: .05em;
border: none;
color: #fff;
background: #00d4f817;
}
// scale //
.block-body .node {
-webkit-transition: all .3s ease;
transition: all .3s ease
}

.block-body .node:hover {
transform: scale(1.015);
}
// Fix //
.message-cell.message-cell--user {
flex: 0 0 200px;
}
.message-cell.message-cell--user, .message-cell.message-cell--action {
position: relative;
background: #171e29;
border-radius: 8px;
border: 1px solid #31435d;
min-width: 0;
}
// group //
.arzgames {
background: url(/styles/fury/img/techadmred.svg);
width: 169px;
height: 35px;
font-size: 0px;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border: none
}

Вставь это в extra.less
 

CreyV

Участник
Автор темы
63
2
.p-header-logo--before {
background-image: url(styles/fury/img/logobg.jpg) !important;
background-color: transparent !important;
background-size: 100% !important;
background-position: center top !important;
}
.p-header-logo--before::after {
display:none;
}
.p-body-sidebar .block-minorHeader {
font-size: 17px;
color: #fff;
font-weight: 700;
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
}
.button.button--primary, a.button.button--primary {
color: #fff;
background: #0078af;
min-width: 80px;
}
.button, a.button {
display: inline-block;
display: inline-flex;
align-items: center;
margin-left: 2px;
justify-content: center;
text-decoration: none;
cursor: pointer;
border: 1px solid transparent;
white-space: nowrap;
-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;
transition: background-color .125s ease, border-color .125s ease, color .125s ease;
font-size: 12px;
border-radius: 4px;
padding-top: 15px;
padding-right: 18px;
padding-bottom: 13px;
padding-left: 18px;
font-weight: 500;
text-align: center;
text-transform: none;
letter-spacing: .05em;
border: none;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
color: #fff;
background: #0078af;
}
.quick-access .button {
padding: 1px 0;
width: 100%;
height: 50px;
border: 1px solid #4d5460;
display: inline-block;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
cursor: pointer;
border: 1px solid transparent;
white-space: nowrap;
-webkit-transition: background-color .125s ease, border-color .125s ease, color .125s ease;
transition: background-color .125s ease, border-color .125s ease, color .125s ease;
font-size: 14px;
border-radius: 4px;
padding-top: 15px;
padding-right: 18px;
padding-bottom: 13px;
padding-left: 18px;
font-weight: 500;
text-align: center;
text-transform: none;
letter-spacing: .05em;
border: none;
color: #fff;
background: #00d4f817;
}
// scale //
.block-body .node {
-webkit-transition: all .3s ease;
transition: all .3s ease
}

.block-body .node:hover {
transform: scale(1.015);
}
// Fix //
.message-cell.message-cell--user {
flex: 0 0 200px;
}
.message-cell.message-cell--user, .message-cell.message-cell--action {
position: relative;
background: #171e29;
border-radius: 8px;
border: 1px solid #31435d;
min-width: 0;
}
// group //
.arzgames {
background: url(/styles/fury/img/techadmred.svg);
width: 169px;
height: 35px;
font-size: 0px;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border: none
}

Вставь это в extra.less
Не работает.