Jump to content
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:Carte logiciel/styles.css » : différence entre les versions

De Infothèque
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 7 : Ligne 7 :


.ith-card {
.ith-card {
position: relative;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
Ligne 15 : Ligne 16 :
border-radius: 10px;
border-radius: 10px;
padding: 18px 12px;
padding: 18px 12px;
color: inherit;
text-decoration: none;
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
}
Ligne 24 : Ligne 23 :
box-shadow: 0 6px 16px rgba(0,0,0,.10);
box-shadow: 0 6px 16px rgba(0,0,0,.10);
border-color: #008080;
border-color: #008080;
color: #008080;
text-decoration: none;
}
}


Ligne 48 : Ligne 45 :
font-size: .95em;
font-size: .95em;
line-height: 1.3;
line-height: 1.3;
}
.ith-card__title a {
color: inherit;
text-decoration: none;
}
.ith-card__title a::after {
content: "";
position: absolute;
inset: 0;
}
.ith-card:hover .ith-card__title a {
color: #008080;
text-decoration: underline;
}
}



Version du 12 août 2026 à 21:17

.ith-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 16px;
	margin: 12px 0 28px;
}

.ith-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #f8f9fa;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 18px 12px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ith-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0,0,0,.10);
	border-color: #008080;
}

.ith-card__logo {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.ith-card__logo img {
	max-height: 64px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ith-card__title {
	font-weight: 600;
	font-size: .95em;
	line-height: 1.3;
}

.ith-card__title a {
	color: inherit;
	text-decoration: none;
}

.ith-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ith-card:hover .ith-card__title a {
	color: #008080;
	text-decoration: underline;
}

.ith-card__subtitle {
	font-size: .8em;
	color: #6b7280;
	margin-top: 4px;
}

@media (max-width: 600px) {
	.ith-card-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
		gap: 10px;
	}
	.ith-card {
		padding: 12px 8px;
	}
}