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ó
 
(5 közbenső módosítás ugyanattól a felhasználótól nincs mutatva)
1. sor: 1. sor:
.warning-box {
.warning-box {
   border: 1px solid #f00;
   border: 1px solid var(--border-color-warning,#987027);
   background-color: #ffe6e6;
   background-color: var(--background-color-warning-subtle, #fdf2d5);
   padding: 10px 10px 10px 40px; /* Add padding to the left for the icon */
   padding: 2.5rem 2rem 2rem 6rem;
   margin: 10px 0;
   margin: 10px 0;
   border-radius: 5px;
   border-radius: 5px;
   position: relative;
   position: relative;
  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: 20px;
   width: 3.3rem;
   height: 20px;
   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: 10px;
   left: 1.5rem;
   top: 50%;
   top: 50%;
   transform: translateY(-50%);
   transform: translateY(-50%);
   font-weight: bold;
   font-weight: bold;
  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;
}