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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 2: Строка 2:
   border: 1px solid #ccc;
   border: 1px solid #ccc;
   border-radius: 12px;
   border-radius: 12px;
  margin-bottom: 1em;
  background: #fefefe;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
}
.chem-header {
  padding: 0.7em 1em;
  font-weight: bold;
  font-size: 1.2em;
  background: #e8f0fe;
  cursor: pointer;
  user-select: none;
}
.chem-content {
   padding: 1em;
   padding: 1em;
  margin-bottom: 1em;
   background: #fff;
   background: #f9f9f9;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
}
}


.chem-recipe h3 {
.chem-content ul {
   margin-top: 0;
   margin: 0.4em 0 0.8em 1.2em;
  font-size: 1.4em;
  color: #2c3e50;
}
}


.chem-recipe ul {
.chem-content p {
  padding-left: 1.2em;
   margin: 0.5em 0;
   margin-top: 0.3em;
  margin-bottom: 0.6em;
}
}


.chem-recipe p {
.chem-content hr {
   margin: 0.3em 0;
  border: none;
  border-top: 1px solid #ccc;
   margin: 0.5em 0;
}
}

Версия от 23:51, 19 апреля 2025

.chem-recipe {
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-bottom: 1em;
  background: #fefefe;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
}

.chem-header {
  padding: 0.7em 1em;
  font-weight: bold;
  font-size: 1.2em;
  background: #e8f0fe;
  cursor: pointer;
  user-select: none;
}

.chem-content {
  padding: 1em;
  background: #fff;
}

.chem-content ul {
  margin: 0.4em 0 0.8em 1.2em;
}

.chem-content p {
  margin: 0.5em 0;
}

.chem-content hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 0.5em 0;
}