MediaWiki:Test.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
Метка: отменено
Строка 1: Строка 1:
.race-container {
.race-container {
  display:flex;
    display: flex;
  width:100%;
    flex-wrap: wrap;
  justify-content:space-around;
    justify-content: space-around;
  flex-wrap:wrap;
    width: 100%;
  margin-bottom:10px;
    margin-bottom: 1em;
}
}


.race-block {
.race-card {
  display:flex;
    display: flex;
  flex-direction:column;
    flex-direction: column;
  align-items:center;
    align-items: center;
  padding:5px;
    padding: 6px;
  margin:5px;
    margin: 4px;
  border-radius:.3em;
    border-radius: 0.5em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    background: #0C9456;
  transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 10px rgba(12, 148, 86, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    width: 160px;
}
}


.race-block:hover {
.race-card:hover {
  transform: translateY(-3px);
    transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    box-shadow: 0 0 15px rgba(12, 148, 86, 0.7);
}
}


.race-block .sprite img {
.race-card .race-name {
  border: 3px solid #0C9456;
    font-weight: bold;
  border-radius: 50%;
    font-size: 16px;
  padding:2px;
    margin-bottom: 4px;
  box-shadow: 0 0 10px rgba(12,148,86,0.5);
    text-shadow: 1px 1px black;
  width:180px;
  height:auto;
}
}


.race-block .race-name {
.race-card .race-image img {
  margin-top:5px;
    width: 120px;
  font-weight:bold;
    height: 120px;
  text-align:center;
    border-radius: 0.3em;
  font-size:16px;
    border: 2px solid #0C9456;
  color:#fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
  text-shadow: 1px 1px black;
}
}


.race-header {
.biglink {
  margin:0px;
    margin: 0;
  text-align:center;
    text-align: center;
  font-size:40px;
    font-size: 40px;
  line-height:50px;
    line-height: 50px;
  text-shadow: 2px 3px black, 3px 5px #0C9456;
    text-shadow: 2px 3px black, 3px 5px #0C9456;
  margin-bottom:10px;
}
}

Версия от 11:45, 31 августа 2025

.race-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 1em;
}

.race-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px;
    margin: 4px;
    border-radius: 0.5em;
    background: #0C9456;
    box-shadow: 0 0 10px rgba(12, 148, 86, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    width: 160px;
}

.race-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(12, 148, 86, 0.7);
}

.race-card .race-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
    text-shadow: 1px 1px black;
}

.race-card .race-image img {
    width: 120px;
    height: 120px;
    border-radius: 0.3em;
    border: 2px solid #0C9456;
    box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.biglink {
    margin: 0;
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    text-shadow: 2px 3px black, 3px 5px #0C9456;
}