« Modèle:Accueil/styles.css » : différence entre les versions
De Nefald
Autres actions
Accueil : feuille de style dédiée et allégée pour la nouvelle organisation (via create-page on MediaWiki MCP Server) |
Accueil : styles légers pour la réorganisation basée sur les cartes existantes (via update-page on MediaWiki MCP Server) |
||
| (2 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/* Accueil — | /* Accueil — compléments légers autour du composant Card existant */ | ||
.nefald- | .nefald-home-status { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
gap: . | gap: .4rem .7rem; | ||
padding: . | margin: 0 0 1rem; | ||
border: 1px solid var(-- | padding: .65rem 1rem; | ||
border-radius: | border-top: 1px solid var(--border-color-base); | ||
background: var(-- | border-bottom: 1px solid var(--border-color-base); | ||
border-radius: 2px; | |||
background: var(--color-surface-1); | |||
font-size: .92rem; | font-size: .92rem; | ||
} | } | ||
.nefald- | .nefald-home-status__label { | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.nefald | .nefald-home-steps { | ||
display: grid; | display: grid; | ||
} | } | ||
.nefald- | .nefald-home-step { | ||
display: grid; | display: grid; | ||
grid-template-columns: 2rem minmax(0, 1fr); | grid-template-columns: 2rem minmax(0, 1fr); | ||
gap: . | gap: .75rem; | ||
align-items: start; | align-items: start; | ||
padding: . | padding: .8rem 0; | ||
border- | border-bottom: 1px solid var(--border-color-base); | ||
} | |||
.nefald-home-step:last-child { | |||
border-bottom: 0; | |||
} | } | ||
.nefald- | .nefald-home-step__number { | ||
display: grid; | display: grid; | ||
place-items: center; | place-items: center; | ||
| Ligne 135 : | Ligne 43 : | ||
height: 2rem; | height: 2rem; | ||
border-radius: 50%; | border-radius: 50%; | ||
background: var(-- | background: var(--color-progressive); | ||
color: var(--color-inverted-fixed, #fff); | color: var(--color-inverted-fixed, #fff); | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.nefald- | .nefald-home-step__title { | ||
display: block; | display: block; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.nefald- | .nefald-home-step__text { | ||
color: var(-- | display: block; | ||
margin-top: .1rem; | |||
color: var(--color-subtle); | |||
font-size: .9rem; | font-size: .9rem; | ||
line-height: 1. | line-height: 1.45; | ||
} | } | ||
.nefald- | .nefald-home-links { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | grid-template-columns: repeat(2, minmax(0, 1fr)); | ||
gap: | gap: 0 1rem; | ||
} | } | ||
.nefald- | .nefald-home-link { | ||
padding: . | padding: .7rem 0; | ||
border: 1px solid var(- | border-bottom: 1px solid var(--border-color-base); | ||
} | } | ||
.nefald- | .nefald-home-link__title { | ||
display: block; | display: block; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
.nefald- | .nefald-home-link__text { | ||
display: block; | display: block; | ||
margin-top: . | margin-top: .1rem; | ||
color: var(-- | color: var(--color-subtle); | ||
font-size: . | font-size: .86rem; | ||
line-height: 1. | line-height: 1.4; | ||
} | } | ||
.nefald- | .nefald-home-secondary { | ||
margin: .9rem 0 0; | margin: .9rem 0 0; | ||
color: var(-- | color: var(--color-subtle); | ||
font-size: .9rem; | font-size: .9rem; | ||
} | } | ||
.nefald- | .nefald-home-contribute { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
align-items: center; | align-items: center; | ||
gap: . | gap: .4rem .7rem; | ||
padding: .85rem | margin-top: 1rem; | ||
border: 1px solid var(-- | padding: .85rem 0; | ||
border- | border-top: 1px solid var(--border-color-base); | ||
border-bottom: 1px solid var(--border-color-base); | |||
} | } | ||
.nefald- | .nefald-home-contribute__title { | ||
font-weight: 700; | font-weight: 700; | ||
margin-right: .25rem; | |||
} | } | ||
.nefald- | .nefald-home-footer { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
gap: . | gap: .35rem .7rem; | ||
padding: .25rem | padding: 1rem .5rem .25rem; | ||
color: var(-- | color: var(--color-subtle); | ||
font-size: .9rem; | font-size: .9rem; | ||
} | } | ||
@media (max-width: | @media (max-width: 600px) { | ||
.nefald-home-links { | |||
.nefald-home | |||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
} | } | ||
Dernière version du 23 septembre 2026 à 14:07
/* Accueil — compléments légers autour du composant Card existant */
.nefald-home-status {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: .4rem .7rem;
margin: 0 0 1rem;
padding: .65rem 1rem;
border-top: 1px solid var(--border-color-base);
border-bottom: 1px solid var(--border-color-base);
border-radius: 2px;
background: var(--color-surface-1);
font-size: .92rem;
}
.nefald-home-status__label {
font-weight: 700;
}
.nefald-home-steps {
display: grid;
}
.nefald-home-step {
display: grid;
grid-template-columns: 2rem minmax(0, 1fr);
gap: .75rem;
align-items: start;
padding: .8rem 0;
border-bottom: 1px solid var(--border-color-base);
}
.nefald-home-step:last-child {
border-bottom: 0;
}
.nefald-home-step__number {
display: grid;
place-items: center;
width: 2rem;
height: 2rem;
border-radius: 50%;
background: var(--color-progressive);
color: var(--color-inverted-fixed, #fff);
font-weight: 700;
}
.nefald-home-step__title {
display: block;
font-weight: 700;
}
.nefald-home-step__text {
display: block;
margin-top: .1rem;
color: var(--color-subtle);
font-size: .9rem;
line-height: 1.45;
}
.nefald-home-links {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0 1rem;
}
.nefald-home-link {
padding: .7rem 0;
border-bottom: 1px solid var(--border-color-base);
}
.nefald-home-link__title {
display: block;
font-weight: 700;
}
.nefald-home-link__text {
display: block;
margin-top: .1rem;
color: var(--color-subtle);
font-size: .86rem;
line-height: 1.4;
}
.nefald-home-secondary {
margin: .9rem 0 0;
color: var(--color-subtle);
font-size: .9rem;
}
.nefald-home-contribute {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: .4rem .7rem;
margin-top: 1rem;
padding: .85rem 0;
border-top: 1px solid var(--border-color-base);
border-bottom: 1px solid var(--border-color-base);
}
.nefald-home-contribute__title {
font-weight: 700;
margin-right: .25rem;
}
.nefald-home-footer {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: .35rem .7rem;
padding: 1rem .5rem .25rem;
color: var(--color-subtle);
font-size: .9rem;
}
@media (max-width: 600px) {
.nefald-home-links {
grid-template-columns: 1fr;
}
}