Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Create an account below if you want to be able to make edits.

Template:Main Page/style.css

Template page
Revision as of 19:42, 18 November 2025 by Remorse (talk | contribs) (Created page with ".main-header { margin: 0; } .fullwidth-banner { width: 100% !important; max-width: 100% !important; } .fullwidth-banner img { width: 100%; height: auto; } .main-row { display: grid; grid-auto-rows: minmax(3rem,auto); gap: 0.5rem; margin-bottom: 8px; } .main-row--75-25 { grid-template-columns: 4fr 2fr; } .main-row--50-50 { grid-template-columns: 1fr 1fr; } .main-card { background: linear-gradient(to right,#101214,#0c0e10); border:1px solid t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
.main-header {
	margin: 0;
}

.fullwidth-banner {
    width: 100% !important;
    max-width: 100% !important;
}

.fullwidth-banner img {
    width: 100%;
    height: auto;
}

.main-row {
	display: grid;
	grid-auto-rows: minmax(3rem,auto);
	gap: 0.5rem;
	margin-bottom: 8px;
}

.main-row--75-25 {
	grid-template-columns: 4fr 2fr;
}

.main-row--50-50 {
	grid-template-columns: 1fr 1fr;
}

.main-card {
	background: linear-gradient(to right,#101214,#0c0e10);
	border:1px solid transparent;
	border-radius: 8px;
	position: relative;
	display: flex;
	flex-direction: column;
}

.main-card__background {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	position: absolute;
	border-radius: 8px;

	/* Replaced mask-image with an allowed gradient overlay */
	background: linear-gradient(180deg,rgba(0,0,0,0.7) 10%, rgba(0,0,0,0.1) 60%);
}

.main-card__background img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	opacity: 0.85;
	transition: transform 0.3s;
}

.main-card__background img:hover {
	transform: scale(1.1);
}

.main-card__overlay {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height:100%;
	width:100%;
	position: absolute;
	top: 0;
	padding-left: 8px;
}

.main-card__overlay-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #dde8fd;
	margin: 0;
}

.main-card__overlay-subtitle {
	font-size: 0.9rem;
	color: #dde8fd;
	margin-top: 2px;
	letter-spacing: 0.3px;
}

.main-card__overlay-badge {
	position: absolute;
	top: 0;
	right: 0;
	margin: 6px;
	padding: 4px 12px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #cfd8e3;

	/* Removed "backdrop-filter". Using fallback blurred-looking background */
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 6px;
}

.main-card__title {
	position: relative;
	padding: 8px;
	border-bottom: 1px solid transparent;
	font-size: 1em; 
	font-weight: bold;	
	margin-bottom: 10px;
	color: #dde8fd;
}

.main-card__content {
	padding: 8px;
	height: 100%;
}

.main-card--row3 {
	grid-row: span 3;
}

.main-card--row6 {
	grid-row: span 6;
}

.navigation { 
	display: flex;
	gap: 0.5rem;
	flex-flow: row wrap;
	justify-content: space-around;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 15px;
	color: white;
}

.navigation-pill {
	position: relative;
	flex: 1 1 calc(180px - 0.5rem);
	border: 1px solid #333;
	border-radius: 8px;	
	height: 60px;
	line-height: 1.35;
	overflow: hidden;
	font-size: 16px;
}

.navigation-pill-background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	/* Replace mask-image with normal overlay gradient */
	background: linear-gradient(180deg,rgba(0,0,0,0.7) 45%, rgba(0,0,0,0.1) 70%);
}

.navigation-pill-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.navigation-pill:hover .navigation-pill-background img {
	transform: scale(1.1);
}

.navigation-pill > a {
	position: relative;
	padding: 0 1rem;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: #dde8fd;
	text-decoration: none;
	height: 100%;
}

.news-title {
	padding: 8px;
	border-bottom: 1px solid transparent;
	padding-bottom: 5px; 
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #dde8fd;
}

.news-title-label {
	font-size: 1em;
	font-weight: bold;
}

.news-title-update {
	font-size: 0.90em;
}

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

.card-button {
	display: flex;
}

.card-button a, .card-button a.external:visited {
	flex-grow: 1;
	padding: 5px;
	border-radius: 6px;
    text-decoration: none !important;
    color: white;
    background: #2a2a2a;
	transition: all 0.3s ease;
}

.card-button a:hover {
	filter: brightness(1.2);
}

.timeline {
	position: relative;
	padding: 8px;
}

.timeline__item {
	position: relative;
	margin-bottom: 10px;
}

.timeline__content {
	background: #1a1c1d;
	padding: 4px 6px;
	border-radius: 8px;
	border: 1px solid #2a2d36;
}

.timeline__content .timeline__date {
	font-size: 16px;
	font-weight: 600;
	color: #dde8fd;
}

.timeline__content .timeline__desc {
	font-size: 14px;
}

.home-stats {
	display: flex;
	flex-wrap: wrap;
	height: 100%;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	line-height: 1.3;
	gap: 10px;
}

.home-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(50% - 10px);
}

.home-stats__label {
	color: #dde8fd;
    white-space: nowrap;
}

.home-stats__data {
	color: #dde8fd;
    font-weight: 500;
    font-size: 20px;
    white-space: nowrap;
}

@media (max-width: 768px) {
  .main-row--75-25,
  .main-row--50-50 {
    grid-template-columns: 1fr;
  }
}