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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
Метка: отменено
Строка 1: Строка 1:
.chem-card {
.chem-recipe {
  border: 2px solid black;
    border: 1px solid #888;
  border-radius: 0 0 18px 18px;
    border-radius: 5px;
  overflow: hidden;
    margin: 5px 0;
  margin-bottom: 1em;
    padding: 5px;
  font-family: sans-serif;
    background: #f9f9f9;
}
    font-family: sans-serif;
 
.chem-card .chem-header {
  font-weight: 500;
  background-color: #75B1F0;
  color: #000;
  padding: 0.2em 0.5em;
}
 
.chem-card .chem-description {
  padding: 0.5em;
  font-size: 14px;
  line-height: 1.5;
}
 
.chem-recipes {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
}


.chem-recipe-row {
.chem-recipe-title {
  display: flex;
    font-weight: bold;
  align-items: center;
    cursor: pointer;
  gap: 0.5em;
    padding: 3px;
    background: #ddd;
    border-radius: 3px;
}
}


.chem-recipe {
.chem-recipe-content {
  display: flex;
    display: none;
  align-items: center;
    margin-top: 5px;
  justify-content: space-between;
    padding-left: 10px;
  background: #27272e;
  padding: 0 0.5em;
  font-size: 12px;
  width: 12em;
}
}


.chem-toggle {
.chem-ingredient {
  cursor: pointer;
    margin-left: 10px;
  font-weight: bold;
  margin: 0.2em 0;
}
}

Версия от 01:42, 9 сентября 2025

.chem-recipe {
    border: 1px solid #888;
    border-radius: 5px;
    margin: 5px 0;
    padding: 5px;
    background: #f9f9f9;
    font-family: sans-serif;
}

.chem-recipe-title {
    font-weight: bold;
    cursor: pointer;
    padding: 3px;
    background: #ddd;
    border-radius: 3px;
}

.chem-recipe-content {
    display: none;
    margin-top: 5px;
    padding-left: 10px;
}

.chem-ingredient {
    margin-left: 10px;
}