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 139: Line 139:
border-radius: 100%;
border-radius: 100%;
position: absolute;
position: absolute;
left: -5px;
left: -10px;
margin-top: 8px;
margin-top: 8px;
}
}

Revision as of 10:01, 29 June 2025

/*
	NAVIGATION CARDS
*/

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

.navigation-card {
	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 > a {
	z-index: 1;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #fff;
}

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

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

.news-section {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	background: linear-gradient(to right, #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%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

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

/*
	JUST BUTTONS
*/

.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);
}

h1, h2 {
	margin-top: 1em;
}

/* Timeline */
.timeline {
  position: relative;
  border-left: 2px solid #3a3f4b;
  max-width: 500px;
}

.timeline-item {
  margin-left: 10px;
  position: relative;
  margin-bottom: 25px;
}

.timeline-item::before {
	content: "";
	width: 8px;
	height: 8px;
	display: block;
	background: linear-gradient(135deg, #5ec9ff, #4a90e2);
	border-radius: 100%;
	position: absolute;
	left: -10px;
	margin-top: 8px;	
}

.timeline-content {
  background: #181b23;
  padding: 4px 4px;
  border-radius: 8px;
  border: 1px solid #2a2d36;
  transition: background 0.3s, border 0.3s;
}

.timeline-content:hover {
  background: #20242e;
  border: 1px solid #4a90e2;
}

.timeline-content h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
}

.timeline-content a { 
  color: #5ec9ff;
  text-decoration: none;
  font-size: 14px;
}

.timeline-content a:hover {
  text-decoration: underline;
}