Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

« Modèle:Infobox/styles.css » : différence entre les versions

De ploums
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 8 : Ligne 8 :
   border-radius: .2rem;
   border-radius: .2rem;
   line-height: 1.375;
   line-height: 1.375;
   box-sizing: content-box;
   box-sizing: border-box;
  padding: 1rem;
  margin-inline: 1rem;
}
 
 
@media only screen and (max-width: 639px) {
  .infobox {
    margin-right: auto;
    margin-left: auto;
  }
}
}



Version du 3 juillet 2025 à 16:05

.infobox {
  float: right;
  background-color: var(--color-surface-1);
  margin-bottom: 1rem;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border-color-base);
  border-radius: .2rem;
  line-height: 1.375;
  box-sizing: border-box;
  padding: 1rem;
  margin-inline: 1rem;
}


@media only screen and (max-width: 639px) {
  .infobox {
    margin-right: auto;
    margin-left: auto;
  }
}

.infobox-header {
  background-color: var(--infobox-header);
  border-radius: .1rem;
}

.infobox-label {
  text-align: left;
}

.infobox-title {
  font-size: larger;
  font-weight: bold;
}