12 503
правки
Gryadka (обсуждение | вклад) Нет описания правки |
ERROR (обсуждение | вклад) Нет описания правки |
||
| (не показаны 133 промежуточные версии 3 участников) | |||
| Строка 1: | Строка 1: | ||
.highlight-on-hover:hover { | |||
background-color: #E34234; /* Цвет фона при наведении */ | |||
color: red; /* Цвет текста при наведении */ | |||
} | |||
.mainpage-recent-updates .tile-halves { | |||
flex: 1; | |||
align-content: flex-start; | |||
margin-right: 0.9rem; | |||
} | |||
.mainpage-recent-updates .tile-halves:hover .tile-top img { | |||
transform: scale(1.04); | |||
} | |||
.mainpage-recent-updates .tile-halves:last-child { | |||
margin-right: 0; | |||
} | |||
body.wgl-readermode .mainpage-recent-updates .tile-image { | |||
max-height: 10.5em; | |||
} | |||
.mainpage-recent-updates .tile-bottom.link-button a { | |||
text-align: left; | |||
padding: 1rem 1.5rem 0.75rem; | |||
} | |||
.mainpage-recent-updates h2 { | |||
margin: -0.5em 0 0.3em; | |||
} | |||
.mainpage-recent-updates p:not(.byline) { | |||
font-size: 0.9em; | |||
line-height: 1.75em; | |||
color: var(--mainpage-recent-updates-description-color); | |||
} | |||
.mainpage-recent-updates .jagex-promotion .byline { | |||
color: #855cd8; | |||
} | |||
body, #mw-head{ | body, #mw-head{ | ||
background: url(' | background: url('images/0/0f/Оформление_весна_2026.png') no-repeat top left; | ||
background-size: 1000px 200px !important; | background-size: 1000px 200px !important; | ||
background-color: #ffffff; | |||
} | } | ||
| Строка 17: | Строка 60: | ||
.event-container { | .event-container { | ||
display: flex; | display: flex; | ||
justify-content: | justify-content: flex-start; | ||
align-items: center; | align-items: center; | ||
flex-wrap: nowrap; | |||
overflow-x: auto; /* добавляет горизонтальный скролл, если содержимое выходит за пределы */ | |||
scrollbar-width: none; /* Для Firefox */ | |||
-ms-overflow-style: none; /* Для Internet Explorer 10+ */ | |||
} | |||
.event-container::-webkit-scrollbar { | |||
display: none; /* Для WebKit браузеров, таких как Chrome и Safari */ | |||
} | } | ||
.event-block { | .event-block { | ||
flex: 0 0 auto; | |||
padding: 10px; | padding: 10px; | ||
margin-right: 20px; | margin-right: 20px; | ||
border: 1px solid rgba(0, 0, 0, 0.1); | |||
width: 400px; /* Установите максимальную ширину блока по вашему желанию */ | |||
height: 400px; /* Установите максимальную ширину блока по вашему желанию */ | |||
flex-shrink: 0; | |||
} | |||
.event-container .event-block:first-child { | |||
margin-left: 0px; /* или любое другое значение, которое подходит */ | |||
} | } | ||
| Строка 41: | Строка 98: | ||
/* Стили для деталей события */ | /* Стили для деталей события */ | ||
overflow: hidden; /* Обрезать текст, который выходит за пределы блока */ | overflow: hidden; /* Обрезать текст, который выходит за пределы блока */ | ||
overflow-wrap: break-word; /* Allows long words to wrap */ | |||
white-space: normal; /* Ensures the text does not overflow */ | |||
box-sizing: border-box; /* Includes padding and border in the element's total width and height */ | |||
/* Add other styles as required */ | |||
} | } | ||