MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Actn2k (обсуждение | вклад) Нет описания правки |
Actn2k (обсуждение | вклад) Нет описания правки |
||
| Строка 435: | Строка 435: | ||
} | } | ||
.whitemoon-bg { | |||
.bluemoon-bg { | |||
background-image: linear-gradient(to bottom right, rgba(30, 109, 129, 0.45), rgba(33, 141, 200, 0.45)); | |||
} | |||
.whitemoon-bg { | |||
background-image: linear-gradient(to bottom right, rgba(58, 63, 70, 0.45), rgba(150, 150, 150, 0.45)); | |||
} | |||
.redmoon-bg { | |||
background-image: linear-gradient(to bottom right, rgba(97, 32, 31, 0.45), rgba(200, 35, 33, 0.45)); | |||
} | |||
.test-main-panel { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 10px; | |||
.border>div, | |||
>div { | |||
border: 1px solid rgba(255, 255, 255, 0.15); | |||
border-radius: 10px; | |||
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px; | |||
} | } | ||
. | .title { | ||
background- | background-color: rgba(225, 216, 255, 0.2); | ||
border-bottom: 1px solid rgba(255, 255, 255, 0.1); | |||
padding: 5px; | |||
font-size: 1.1em; | |||
font-weight: bold; | |||
} | } | ||
. | .item { | ||
flex: 1 1 calc(50% - 10px); | |||
display: flex; | display: flex; | ||
flex- | flex-direction: column; | ||
box-sizing: border-box; | |||
background: rgba(2, 23, 26, 0.5); | |||
overflow: hidden; | |||
backdrop-filter: blur(10px); | |||
. | >.title { | ||
flex: 0 0 auto; | |||
text-align: center; | |||
} | } | ||
.title { | >div:not(.title) { | ||
flex: 1 1 auto; | |||
min-height: 0; | |||
padding: | padding: 10px; | ||
} | } | ||
} | |||
.server-panel { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 10px; | |||
.server { | |||
flex: 1 1 100%; | |||
overflow: hidden; | overflow: hidden; | ||
.title { | |||
background-color: rgba(255, 255, 255, 0.1); | |||
padding-left: 10px; | |||
border-bottom: none; | |||
} | } | ||
.desc { | |||
padding: 10px; | padding: 10px; | ||
padding-bottom: 5px; | |||
} | } | ||
.links { | |||
display: flex; | |||
flex-wrap: nowrap; | |||
justify-content: space-between; | |||
. | .link { | ||
flex: 1; | |||
padding | padding: 5px; | ||
margin: 5px; | |||
text-align: center; | |||
} | } | ||
} | } | ||
} | } | ||
} | |||
.button-panel { | |||
display: flex; | |||
align-items: center; | |||
flex-wrap: wrap; | |||
.row { | |||
flex: 1 1 100%; | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
align-items: last baseline; | |||
justify-content: space-between; | |||
. | .button { | ||
flex: 1 1 | flex: 1 1 calc(33% - 10px); | ||
display: flex; | display: flex; | ||
flex- | flex-direction: column; | ||
align- | box-sizing: border-box; | ||
align-self: stretch; | |||
overflow: hidden; | |||
margin: 5px; | |||
>div { | |||
text-align: center; | |||
padding: 5px; | |||
} | |||
.title { | |||
font-weight: normal; | |||
font-size: 1em; | |||
} | |||
} | |||
} | } | ||
} | } | ||
} | } | ||
} | |||
@media (max-width: 600px) { | |||
.main-panel .item { | |||
flex: 1 1 100% !important; | |||
} | |||
.main-panel .button { | |||
flex: 1 1 100% !important; | |||
} | } | ||
} | } | ||