Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MainPage/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 55: Line 55:
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
background: linear-gradient(to right, #262626, #1e1e1e);
background: linear-gradient(to bottom, #101214, #0c0e10);
border:1px solid #444;
border:1px solid #444;
border-radius: 8px;
border-radius: 8px;
Line 69: Line 69:
font-size: 1.5em;
font-size: 1.5em;
}
}
.category-card {
padding: 0;
border: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.category-card:hover {
transform: scale(1.04);
}
.category-card__label {
width: 100%;
color: #f1f2f4;
background-color: var(--color-pill);
display:flex;
align-items:center;
justify-content:center;
font-family: 'Saira Extra Condensed','Nunito','Saira',system-ui,-apple-system,sans-serif;
font-weight: bold;
font-size: 1.4rem;
font-style: italic;
border-radius: 0 0 6px 6px;
text-transform: uppercase;
}
.category-card__label a {
display: flex;
width: 100%;
justify-content: center;
text-decoration: none;
color: #fff;
}
.category-card__background {
background: linear-gradient(#808b9a,#d5e2e6);
border-radius: 6px 6px 0 0;
}
.category-card__background img {
width: 100%;
height: auto;
padding: 8%;
object-position: center;
border-radius: 6px 6px 0 0;
}


/*
/*

Revision as of 00:53, 9 May 2025

/*
	NAVIGATION CARDS
*/

.navigation {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	font-size: 15px;
	margin-bottom: 30px;
	color: white;
}

.navigation-card {
	padding: 12px;
	border: 1px solid #333;
	border-radius: 8px;
	overflow: hidden;
    transition: all 0.3s ease;
    background-color: #1e1e1e;
	font-weight:600;
	position: relative;
}

.navigation-card-background {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.navigation-card-background img {
	height: 100%;
	width: auto;
}

.navigation-card-text {
	z-index: 1;
	display: flex;
	justify-content: center;
}

.navigation-card:hover .navigation-card-background {
	opacity: 0.20;
}

.navigation-card:hover {
	filter: brightness(1.60);
}

.news-section {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	background: linear-gradient(to bottom, #101214, #0c0e10);
	border:1px solid #444;
	border-radius: 8px;
	padding: 15px;
	margin-top: 15px;
}

.news-title {
	border-bottom: 1px solid #444; 
	padding-bottom: 5px; 
	margin-bottom: 15px; 
	width: 100%;
	font-size: 1.5em;
}

/*
	JUST BUTTONS
*/

.card-button-grid {
	display: grid;
	grid-gap: 5px;
	text-align: center;
}

.card-button {
	display: flex;
}

.card-button a {
	flex-grow: 1;
	padding: 5px;
	/*border: 1px solid var(--color-button);*/
	border-radius: 6px;
    text-decoration: none !important;
    color: black;
    background: #f1aa1c;
}

.card-button a:hover {
	background: red;
}