Шаблон:ПравкаЗН/styles.css

Материал из SaleBot Help
.custom-block {
  margin: 1rem 0;
  border: 0.1rem solid;
  padding: 1rem 1.5rem;
  display: grid;
  justify-content: center;
  align-content: center;
  overflow-x: auto;
}
.custom-block span {
  display: flex;
  margin: 0;
  align-items: center;
}
.custom-block pre {
  background-color: transparent;
  margin: 1px 7px;
  padding: 0;
  display: grid;
  border: none;
  color: initial;
  font-family: inherit;
}
.custom-block pre a {
  font-size: 16px;
  line-height: 1.9;
}
.custom-block pre a.new {
  color: #a97e7e;
  background-color: #e4e5e9 !important;
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.custom-block-title {
  font-weight: 600;
  font-size: 1.2em;
  letter-spacing: 2px;
  text-decoration: underline;
  text-underline-position: under;
}
.custom-block.tip {
  border-color: #20669f;
  background-color: #e4f0fd;
  color: #20669f;
}
.custom-user-text {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.custom-user-text a:hover {
  border: none !important;
}
.dropbtn {
  background-color: #4caf50;
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: inline-block;
  padding: 0 7px;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  z-index: 1;
}
.dropdown-content a {
  color: #000;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-block;
}
.dropdown-content a:hover {
  background-color: #ddd;
}
.dropdown:hover .dropdown-content {
  display: block;
  border: 1px solid #999;
}
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}
.dropdown {
  margin-left: 15px;
}
.dropdown-content {
  max-width: 300px;
}
.dropdown-content p {
  margin: 12px 5px;
  font-size: 0.9em;
  color: #555;
  line-height: 1.2;
  overflow-wrap: break-word;
}
span.menu-header {
    padding-top: 10px;
    padding: 5px 0px;
    justify-content: center;
    margin: 10px;
    background: repeating-linear-gradient(315deg, #d5dde5, #c1dcf9 100px);
    color: #141414;
    text-shadow: 0px 0px 1px black;
    border-radius: 3px;
}
span.menu-header-r {justify-content: right;}