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

Страница интерфейса MediaWiki
Нет описания правки
Метка: ручная отмена
Нет описания правки
Строка 1: Строка 1:
.race-container {
.department-card {
  display: flex;
    margin: 20px auto;
  flex-wrap: wrap;
    max-width: 800px;
  gap: 10px;
    background: #2b2b2b;
  justify-content: center;
    color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


.race-box {
.department-card:hover {
  border: 2px solid #411144;
    transform: translateY(-5px);
  padding: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  display: inline-block;
  background-color: #3133;
  text-align: center;
  width: 120px;
  height: 160px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
}


.info-popup {
.department-header {
  position: fixed;
    display: flex;
  top: 50%;
    align-items: center;
  left: 50%;
    justify-content: center;
  transform: translate(-50%, -50%);
    background: #3b3b3b;
  background: #222;
    padding: 20px;
  color: #fff;
    text-shadow: 1px 1px #000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  display: none;
}
}


.info-popup.active {
.department-header img {
  display: block;
    margin-right: 10px;
    width: 64px;
    height: 64px;
}
}


.close-btn {
.department-header .title {
  position: absolute;
    font-size: 30px;
  top: 10px;
    font-weight: bold;
  right: 10px;
    color: #f0a500;
  cursor: pointer;
}
  color: #fff;
 
  font-size: 18px;
.section-header {
    background: #3b3b3b;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    margin: 15px 10px;
    color: #f0a500;
}
 
.employee-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}
 
.employee {
    text-align: center;
    flex: 1;
    max-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #3b3b3b;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
 
.employee:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
 
.employee img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    margin-bottom: 10px;
}
 
.guides {
    text-align: center;
    padding: 15px;
    font-size: 18px;
    color: #f0a500;
}
}

Версия от 20:48, 24 января 2025

.department-card {
    margin: 20px auto;
    max-width: 800px;
    background: #2b2b2b;
    color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.department-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3b3b3b;
    padding: 20px;
    text-shadow: 1px 1px #000;
}

.department-header img {
    margin-right: 10px;
    width: 64px;
    height: 64px;
}

.department-header .title {
    font-size: 30px;
    font-weight: bold;
    color: #f0a500;
}

.section-header {
    background: #3b3b3b;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    margin: 15px 10px;
    color: #f0a500;
}

.employee-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}

.employee {
    text-align: center;
    flex: 1;
    max-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #3b3b3b;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.employee:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.employee img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #f5f5f5;
    margin-bottom: 10px;
}

.guides {
    text-align: center;
    padding: 15px;
    font-size: 18px;
    color: #f0a500;
}