Wikiprojekt:GLAM/Projekty/Projekt lista.css

Z Wikipedii, wolnej encyklopedii
/* Siatka, na której opiera się lista projektów */
.glam-proj-lista {
	display: grid;
	grid-template-columns:repeat(auto-fill, minmax(400px, 1fr));
	gap: 12px 8px;
}

@media only screen and (max-width:500px) {
	.glam-proj-lista {
		grid-template-columns: 1fr;
	}
}

/* Kafelek z projektem */
.glam-pt {
	background :#f8f8f8;
	border: 1px solid #eaeaea;
	border-radius: 8px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Nagłówek z powiększoną czcionką, font taki jak w nagłówkach sekcji (h2) */
.glam-pt h4 {
	padding: 0;
	margin: 8px 0 4px 0;
	font-size: 1.5rem;
	font-family: 'Linux Libertine','Georgia','Times',serif;
	font-weight: 400;
	text-align: center;
}

/* Grafika w kafelku wraz z podpisem */
.glam-pt .glam-img {
	text-align: center;
	padding: 8px;
}

.glam-pt .glam-idesc {
	font-size: 0.85em;
	font-style: italic;
	max-width: 85%;
	margin: 0 auto;
}

/* Panel z przyciskami u dołu */
.glam-pt .glam-btns {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 6px;
	font-weight: 700;
}

.glam-pt .glam-btn {
	display: flex;
	align-items: center;
	gap: 4px;
}

.glam-btn .icon {
	display: inline-block;
	width: 28px;
	text-align: center;
}

.glam-btn .text {
	margin-top: 2px;
}

/* Kafelki prowadzące do podkategorii GLAM */
.glam-cat-tiles {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr) minmax(150px, 1fr));
    gap: 16px;
    max-width: 750px;
    margin: 16px auto;
}