Шаблон:Notice/styles.css: различия между версиями

Als (обсуждение | вклад)
Новая страница: «.notice-wrapper { overflow: hidden; position: relative; width: 100%; border-radius: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); } .notice-lines { flex: 1; min-width: 10%; height: 40px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23); z-index: 1; } .notice-title { overflow: hidden; position: relative; padding: 0.25em; min-width: 50%; border-radius: 0 0 10px 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23); z-index: 10; } ....»
Als (обсуждение | вклад)
Нет описания правки
Строка 3: Строка 3:
   position: relative;
   position: relative;
   width: 100%;
   width: 100%;
   border-radius: 10px;
   border-radius: var(--border-radius-large);
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
   box-shadow: var(--shadow-template--small);
}
}


Строка 11: Строка 11:
   min-width: 10%;
   min-width: 10%;
   height: 40px;
   height: 40px;
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23);
   box-shadow: var(--shadow-template--medium);
   z-index: 1;
   z-index: var(--index-base);
}
}


Строка 20: Строка 20:
   padding: 0.25em;
   padding: 0.25em;
   min-width: 50%;
   min-width: 50%;
   border-radius: 0 0 10px 10px;
   border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23);
   box-shadow: var(--shadow-template--medium);
   z-index: 10;
   z-index: var(--index-fore);
}
}


Строка 30: Строка 30:
   align-items: center;
   align-items: center;
   font-size: 1.2rem;
   font-size: 1.2rem;
   font-family: "Comic Sans MS", cursive, sans-serif;
   font-family: "Comic Sans MS";
   text-align: center;
   text-align: center;
   color: #ffffff;
   color: var(--color-white);
}
}


Строка 44: Строка 44:
.notice-content-text {
.notice-content-text {
   font-size: 0.85rem;
   font-size: 0.85rem;
   font-family: "Comic Sans MS", cursive, sans-serif;
   font-family: "Comic Sans MS";
   text-align: center;
   text-align: center;
   color: #333333;
   color: var(--color-text);
}
}

Версия от 22:30, 26 июля 2025

.notice-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-template--small);
}

.notice-lines {
  flex: 1;
  min-width: 10%;
  height: 40px;
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-base);
}

.notice-title {
  overflow: hidden;
  position: relative;
  padding: 0.25em;
  min-width: 50%;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: var(--shadow-template--medium);
  z-index: var(--index-fore);
}

.notice-title-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-family: "Comic Sans MS";
  text-align: center;
  color: var(--color-white);
}

.notice-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 1em;
}

.notice-content-text {
  font-size: 0.85rem;
  font-family: "Comic Sans MS";
  text-align: center;
  color: var(--color-text);
}