Ugrás a tartalomhoz

„Sablon:WarningBox/styles.css” változatai közötti eltérés

Innen: TransLife.FYI
Nincs szerkesztési összefoglaló
Nincs szerkesztési összefoglaló
 
(2 közbenső módosítás ugyanattól a felhasználótól nincs mutatva)
2. sor: 2. sor:
   border: 1px solid var(--border-color-warning,#987027);
   border: 1px solid var(--border-color-warning,#987027);
   background-color: var(--background-color-warning-subtle, #fdf2d5);
   background-color: var(--background-color-warning-subtle, #fdf2d5);
   padding: 3em 2em 2em 7em;
   padding: 2.5rem 2rem 2rem 6rem;
   margin: 10px 0;
   margin: 10px 0;
   border-radius: 5px;
   border-radius: 5px;
   position: relative;
   position: relative;
   font-size: 1.5em;
   font-size: 1rem;
}
}


.warning-icon {
.warning-icon {
   background-color: #ffcc00;
   background-color: var(--color-warning, #eeb533);
   color: #fff;
   color: var(--background-color-warning-subtle, #fdf2d5);
   border-radius: 50%;
   border-radius: 50%;
   width: 1.3em;
   width: 3.3rem;
   height: 1.3em;
   height: 3.3rem;
   display: inline-flex;
   display: inline-flex;
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   position: absolute;
   position: absolute;
   left: 0.5em;
   left: 1.5rem;
   top: 50%;
   top: 50%;
   transform: translateY(-50%);
   transform: translateY(-50%);
   font-weight: bold;
   font-weight: bold;
   font-size: 3em;
   font-size: 2.5rem;
}
}

A lap jelenlegi, 2025. április 4., 15:21-kori változata

.warning-box {
  border: 1px solid var(--border-color-warning,#987027);
  background-color: var(--background-color-warning-subtle, #fdf2d5);
  padding: 2.5rem 2rem 2rem 6rem;
  margin: 10px 0;
  border-radius: 5px;
  position: relative;
  font-size: 1rem;
}

.warning-icon {
  background-color: var(--color-warning, #eeb533);
  color: var(--background-color-warning-subtle, #fdf2d5);
  border-radius: 50%;
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 2.5rem;
}