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

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
mNo edit summary
 
(323 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* General container for all cards */
body {
.card-container {
     background-size: cover; /* Ensures the entire image is visible */
     display: grid;
     background-repeat: no-repeat; /* Prevents the image from repeating */
    grid-template-columns: repeat(2, 1fr); /* Two cards per row */
     background-position: top center; /* Keeps the top of the image visible */
     gap: 20px;
     background-attachment: fixed; /* Keeps the image fixed during scrolling */
    padding: 20px;
    opacity:0;
    box-sizing: border-box;
     justify-items: center; /* Center cards horizontally */
     align-items: start; /* Align cards at the top vertically */
}
}


/* Card styling - Increased size slightly */
.fade-in {
.card {
    opacity: 1;
     width: 420px; /* Increased card width */
    transition: opacity 0.1s ease-in-out;
     height: 320px; /* Increased card height */
}
     background-color: #fff;
 
     border: 1px solid #ddd;
.mw-collapsible-arrow {
     border-radius: 8px;
     transition: transform 0.3s ease-in-out;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
     position: relative;
 
#footer-places-about{
display:none;
}
 
 
.file-box {
     display: inline-block;
     width: min-content;
}
 
 
.text-color-black {
  color: black;
}
 
.text-color-green {
  color: green;
}
 
.text-color-white {
  color: white;
}
 
.text-color-yellow {
  color: yellow;
}
 
.text-color-orange {
  color: orange;
}
 
.text-color-purple {
  color: purple;
}
 
.text-color-pink {
  color: pink;
}
 
.text-color-brown {
  color: brown;
}
 
.text-color-gray {
  color: gray;
}
 
.text-color-lightblue {
  color: lightblue;
}
 
.text-color-lightgreen {
  color: lightgreen;
}
 
.text-color-darkblue {
  color: darkblue;
}
 
.text-color-darkgreen {
  color: darkgreen;
}
 
.text-color-lightgray {
  color: lightgray;
}
 
.text-color-indigo {
  color: indigo;
}
 
.text-color-teal {
  color: teal;
}
 
.text-color-lime {
  color: lime;
}
.text-color-red {
  color: red;
}
 
.custom-file-block {
width:min-content;
    padding: 8px;
     margin: 10px 0;
     display: inline-block;
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
 
.custom-file-block img {
    vertical-align: middle;
    margin-right: 10px;
}
 
.custom-file-block br {
    display: none; /* Optionally remove line breaks for inline appearance */
}
 
/* Custom styling for file info block */
.custom-file-block {
  font-family: Arial, sans-serif;
}
 
.file-info-label {
  color: white; /* Makes the label text white */
  font-size:20px;
}
 
.file-info {
  color: white; /* Makes the info text (Uploader, Date) white */
}
 
/* Hide the default "expand/collapse" text */
.mw-collapsible .mw-collapsible-toggle {
    display: none;
}
 
/* Arrow icon styling */
.mw-collapsible-arrow {
    font-size: 1.2em;
    margin-right: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}
 
/* Initial state for collapsed sections (arrow pointing down) */
.mw-collapsible.mw-collapsed .mw-collapsible-arrow {
    transform: rotate(0deg); /* Down arrow */
}
 
/* State for expanded sections (arrow pointing up) */
.mw-collapsible:not(.mw-collapsed) .mw-collapsible-arrow {
    transform: rotate(180deg); /* Up arrow */
}
 
/* Optional: Make sure the arrow is placed inline next to the title */
.mw-collapsible-header {
     display: inline-block;
     cursor: pointer;
     cursor: pointer;
    overflow: hidden;
}
}


/* Inner wrapper for flip effect */
 
.card-inner {
/* Wrapper for the file info block */
    width: 100%;
.file-info-wrapper {
    height: 100%;
  display: flex;
    transform-style: preserve-3d;
  justify-content: flex-start;
    transition: transform 0.6s ease-in-out;
  align-items: center;
     position: relative;
  background-color: rgba(40, 40, 50, 0.5); /* Grey-blueish tint */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  width: min-content; /* Adjust width based on content */
  margin-left: 0; /* Align the box to the left */
  padding: 10px 15px; /* Adjusted padding for more space */
  margin-bottom: 15px; /* More spacing between blocks */
  max-width: 100%; /* Ensure it doesn't overflow */
  position: relative; /* Enable absolute positioning for icon */
}
 
/* Left side content (text and download icon) */
.file-info-left {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Ensure left alignment */
  flex-wrap: nowrap; /* Prevent wrapping */
  width: max-content; /* Let the content take as much width as needed */
  min-width: 250px; /* Ensure some minimum width for the text */
  box-sizing: border-box; /* Adjust for padding */
}
 
/* Content area with file details */
.file-info-content {
  display: inline-block;
  margin-right: 15px; /* Space between text and icon */
  flex-grow: 0; /* Prevent stretching */
  width: auto; /* Let the content take as much width as needed */
  min-width: 150px; /* Minimum width for the content area */
}
 
/* Download icon next to the content */
.file-info-right {
  display: flex;
  align-items: center; /* Center the image vertically */
  justify-content: center;
  margin-left:5px;
  margin-bottom:13px;
  width: 40px; /* Slightly larger width for better icon visibility */
  height: 40px; /* Adjust height to match the width */
  transition: transform 0.3s ease;
}
 
.file-info-right:hover {
  transform: scale(1.1); /* Enlarge the icon on hover */
}
 
/* Label styles */
.file-info-label {
  font-weight: bold;
  color: #ffffff; /* White for better contrast */
  font-size: 14px; /* Slightly larger font for better readability */
  margin-right: 10px; /* Tighter spacing */
}
 
/* File info content text styling */
.file-info-content strong {
  font-size: 20px; /* Increased font size for better readability */
  margin-bottom: 0; /* Remove extra margin */
  display: block;
}
 
/* Hover effects for the download icon */
.file-info-right img {
  transition: all 0.3s ease;
}
 
.file-info-right img:hover {
  opacity: 0.9; /* Slightly transparent effect on hover */
}
 
/* Remove bottom spacing as it is handled in footer portlet */
.citizen-drawer__menu {
margin-bottom: 0;
padding-bottom: 0;
}
 
 
.mw-portlet-External {
position: sticky;
bottom: 0;
margin-top: var( --space-md );
    padding: var( --space-xs ) 0;
border-top: 1px solid var( --border-color-base );
font-size: var( --font-size-x-small );
grid-column: 1 / -1;
white-space: nowrap;
}
 
.mw-portlet-External .citizen-menu__heading {
display: none;
}
 
.mw-portlet-External ul {
display: flex;
overflow: auto;
}
 
.mw-portlet-External .mw-list-item a {
gap: 0;
}
 
/* Label */
.citizen-drawer__menu [id^="n-sidebar-label-"] a {
pointer-events: none;
    margin-left: var( --space-xs );
    padding-left: var( --space-md );
padding-right: var( --space-xs );
border-left: 1px solid var( --border-color-base );
    border-radius: 0;
    letter-spacing: 0.05em;
    font-weight: var( --font-weight-normal );
    color: var( --color-base--subtle ) !important;
}
 
/* Icons */
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
font-size: 0 !important;
    content-visibility: auto !important;
}
 
.citizen-drawer__menu [id^="n-sidebar-icon-"] a:before {
display: block !important;
    content: "" !important;
     width:  22px !important;
    height: 22px !important;
    background: transparent center/contain no-repeat !important;
    opacity: var( --opacity-icon-base ) !important;
    filter: var( --filter-invert ) !important;
}
 
#n-sidebar-icon-discord a:before {
background-image: url( https://cemodding.wiki/images/3/3b/Discordlogo.png ) !important
}
 
 
.guidecardlayout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
 
.guidecardlayout-card {
  color:white;
  background-color: rgba(30, 30, 30, 0.65);
  border-radius: 15px 15px 15px 15px;
  margin: 10px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  flex: 1 1 45%;  /* Ensures cards take up equal space and fit side by side */
  box-sizing: border-box;
}
 
.guidecardlayout-title {
  padding-left:15px;
  padding-top:15px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
 
.guidecardlayout-content {
  flex-grow: 1;
  padding-left:15px;
  padding-right:15px;
  margin-bottom: 10px;
}
}


/* Front and back styling */
.guidecardlayout-button {
.card-front, .card-back {
  margin-top: auto;
    position: absolute;
  width: 100%;
    width: 100%;
}
    height: 100%;
.guidecardlayout-button p {
    backface-visibility: hidden;
  margin: 0;
    display: flex;
  padding: 0;
    justify-content: center;
}
    align-items: center;
.guidecardlayout-link {
    padding: 10px;
  background-color: #444444;
    box-sizing: border-box;
  color: #fff;
  padding: 0px;
  display: block;
  text-align: center;
  border-radius: 0px 0px 15px 15px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}
}


/* Back face flipped */
.guidecardlayout-button .guidecardlayout-link {
.card-back {
  padding: 10px;
    transform: rotateY(180deg);
  display: block;
    background-color: #f8f8f8;
  text-align: center;
    display: flex;
  border-radius: 0px 0px 15px 15px;
    flex-direction: column;
  width: 100%;
    gap: 10px; /* Space between text boxes */
  box-sizing: border-box;
    justify-content: center;
  margin-top: auto;
    align-items: center;
  text-decoration: none; /* Ensures the link is not underlined */
}
}


/* Flip effect */
.guidecardlayout-button .guidecardlayout-link:hover {
.card:hover .card-inner {
  background-color: #555555; /* Darker shade on hover */
     transform: rotateY(180deg);
}
.mw-collapsible-content .mw-collapsible {
     margin-left: 15px;
}
}


/* Text box on the back of the card */
 
.text-box {
.mw-collapsible-indicator {
     width: 90%;
     font-size: 18px;
    padding: 10px;
     transition: opacity 0.2s ease-in-out;
    background-color: #e9ecef; /* Light gray box */
     display: inline-block;
     border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     display: flex; /* Use flexbox to arrange the side panels */
    gap: 10px; /* Space between side panels */
    justify-content: space-between; /* Ensure side panels are spaced evenly */
    align-items: center; /* Center the side panels vertically */
}
}


/* Title for the text box - Small and positioned at the top */
.mw-collapsible-indicator {
.text-box h4 {
     font-size: 18px;
     font-size: 12px; /* Small font size */
     transition: opacity 0.1s ease-in-out; /* Fade out in 0.1s */
     font-weight: bold;
     display: inline-block;
    color: #333;
    margin-bottom: 5px; /* Slight space below the title */
    text-transform: uppercase; /* Make it uppercase for a cleaner look */
     display:block;
}
}


/* Sub-panel styling */
.mw-collapsible-indicator.loading {
.sub-panel {
     opacity: 0;
     font-size: 16px; /* Slightly larger text for better readability */
    color: #333;
    margin: auto;
}
}


/* Styling for sub-panel container */
.mw-collapsible-icon {
.sub-panel-container {
     display: inline-flex;
     display: flex;
    flex-wrap: wrap; /* Allow panels to wrap if needed */
    gap: 10px; /* Space between sub-panels */
    justify-content: center; /* Center align sub-panels */
     align-items: center;
     align-items: center;
     width: 100%;
     position: relative;
     height: 100%; /* Fill available space */
     width: 16px; /* Keeps both elements aligned */
     padding: 10px;
     height: 16px;
     box-sizing: border-box;
}
 
.mw-collapsible-indicator {
     font-size: 18px;
    transition: opacity 0.1s ease-in-out;
    display: inline-block;
    position: absolute;
}
}


/* Sub-panel styling */
.mw-collapsible-indicator.fade-out {
.sub-panel {
     opacity: 0;
     width: calc(45% - 10px); /* Take up nearly half the width with space between */
    height: 70px; /* Increase height to fill more space */
    background-color: #ececec;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.4s ease-in-out, background-color 0.3s;
}
}


/* Adjust hover effect for sub-panels */
.mw-collapsible-loading {
.sub-panel:hover {
    display: inline-block;
     background-color: #ddd;
    width: 16px;
     transform: scale(1.05); /* Slightly enlarge on hover */
    height: 16px;
     border: 2px solid transparent;
     border-top: 2px solid #ff0000; /* Red spinner */
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
    position: absolute;
}
}


/* Nested sub-panel styling */
.mw-collapsible-loading.hidden {
.sub-panel-container .sub-panel-container {
     display: none;
     padding-left: 20px;
    border-left: 2px solid #ccc;
    margin-top: 10px;
}
}


/* Text inside sub-panels */
@keyframes spin {
.sub-panel p {
    0% { transform: rotate(0deg); }
     font-size: 14px; /* Adjust text size for better readability */
    100% { transform: rotate(360deg); }
     color: #333;
}
     margin: 0;
#loading-screen {
     text-align: center;
     position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex; /* Always flex but hidden */
     flex-direction: column;
     justify-content: center;
     align-items: center;
    z-index: 9999;
    opacity: 1; /* Start visible */
}
}


/* Centering the buttons inside sub-panels */
.loading-circle {
.sub-panel button {
     width: 50px;
     width: 100%; /* Make the button fill the entire width of the sub-panel */
     height: 50px;
     height: 100%; /* Make the button fill the entire height of the sub-panel */
     border: 5px solid rgba(0, 0, 0, 0.2);
     background-color: #4CAF50; /* Green background */
     border-top: 5px solid black;
    color: white; /* White text */
     border-radius: 50%;
     border: none; /* Remove border */
     animation: spin 1s linear infinite;
     border-radius: 4px; /* Optional rounded corners */
    text-align: center; /* Center the text */
    font-size: 14px; /* Font size */
    display: flex; /* Flexbox for centering content */
    justify-content: center; /* Horizontally center the text */
    align-items: center; /* Vertically center the text */
     cursor: pointer;
}
}


/* Hover effect for buttons */
#loading-screen p {
.sub-panel button:hover {
    margin-top: 10px;
     background-color: #45a049; /* Darker green on hover */
     font-size: 18px;
     transform: scale(1.05); /* Slightly enlarge on hover */
     color: black;
}
}

Latest revision as of 00:36, 9 March 2025

body {
    background-size: cover; /* Ensures the entire image is visible */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: top center; /* Keeps the top of the image visible */
    background-attachment: fixed; /* Keeps the image fixed during scrolling */
    opacity:0;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
}

.mw-collapsible-arrow {
    transition: transform 0.3s ease-in-out;
}

#footer-places-about{
	display:none;
}


.file-box {
    display: inline-block;
    width: min-content;
}


.text-color-black {
  color: black;
}

.text-color-green {
  color: green;
}

.text-color-white {
  color: white;
}

.text-color-yellow {
  color: yellow;
}

.text-color-orange {
  color: orange;
}

.text-color-purple {
  color: purple;
}

.text-color-pink {
  color: pink;
}

.text-color-brown {
  color: brown;
}

.text-color-gray {
  color: gray;
}

.text-color-lightblue {
  color: lightblue;
}

.text-color-lightgreen {
  color: lightgreen;
}

.text-color-darkblue {
  color: darkblue;
}

.text-color-darkgreen {
  color: darkgreen;
}

.text-color-lightgray {
  color: lightgray;
}

.text-color-indigo {
  color: indigo;
}

.text-color-teal {
  color: teal;
}

.text-color-lime {
  color: lime;
}
.text-color-red {
  color: red;
}

.custom-file-block {
	width:min-content;
    padding: 8px;
    margin: 10px 0;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.custom-file-block img {
    vertical-align: middle;
    margin-right: 10px;
}

.custom-file-block br {
    display: none; /* Optionally remove line breaks for inline appearance */
}

/* Custom styling for file info block */
.custom-file-block {
  font-family: Arial, sans-serif;
}

.file-info-label {
  color: white; /* Makes the label text white */
  font-size:20px;
}

.file-info {
  color: white; /* Makes the info text (Uploader, Date) white */
}

/* Hide the default "expand/collapse" text */
.mw-collapsible .mw-collapsible-toggle {
    display: none;
}

/* Arrow icon styling */
.mw-collapsible-arrow {
    font-size: 1.2em;
    margin-right: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Initial state for collapsed sections (arrow pointing down) */
.mw-collapsible.mw-collapsed .mw-collapsible-arrow {
    transform: rotate(0deg); /* Down arrow */
}

/* State for expanded sections (arrow pointing up) */
.mw-collapsible:not(.mw-collapsed) .mw-collapsible-arrow {
    transform: rotate(180deg); /* Up arrow */
}

/* Optional: Make sure the arrow is placed inline next to the title */
.mw-collapsible-header {
    display: inline-block;
    cursor: pointer;
}


/* Wrapper for the file info block */
.file-info-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: rgba(40, 40, 50, 0.5); /* Grey-blueish tint */
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  width: min-content; /* Adjust width based on content */
  margin-left: 0; /* Align the box to the left */
  padding: 10px 15px; /* Adjusted padding for more space */
  margin-bottom: 15px; /* More spacing between blocks */
  max-width: 100%; /* Ensure it doesn't overflow */
  position: relative; /* Enable absolute positioning for icon */
}

/* Left side content (text and download icon) */
.file-info-left {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Ensure left alignment */
  flex-wrap: nowrap; /* Prevent wrapping */
  width: max-content; /* Let the content take as much width as needed */
  min-width: 250px; /* Ensure some minimum width for the text */
  box-sizing: border-box; /* Adjust for padding */
}

/* Content area with file details */
.file-info-content {
  display: inline-block;
  margin-right: 15px; /* Space between text and icon */
  flex-grow: 0; /* Prevent stretching */
  width: auto; /* Let the content take as much width as needed */
  min-width: 150px; /* Minimum width for the content area */
}

/* Download icon next to the content */
.file-info-right {
  display: flex;
  align-items: center; /* Center the image vertically */
  justify-content: center;
  margin-left:5px;
  margin-bottom:13px;
  width: 40px; /* Slightly larger width for better icon visibility */
  height: 40px; /* Adjust height to match the width */
  transition: transform 0.3s ease;
}

.file-info-right:hover {
  transform: scale(1.1); /* Enlarge the icon on hover */
}

/* Label styles */
.file-info-label {
  font-weight: bold;
  color: #ffffff; /* White for better contrast */
  font-size: 14px; /* Slightly larger font for better readability */
  margin-right: 10px; /* Tighter spacing */
}

/* File info content text styling */
.file-info-content strong {
  font-size: 20px; /* Increased font size for better readability */
  margin-bottom: 0; /* Remove extra margin */
  display: block;
}

/* Hover effects for the download icon */
.file-info-right img {
  transition: all 0.3s ease;
}

.file-info-right img:hover {
  opacity: 0.9; /* Slightly transparent effect on hover */
}

/* Remove bottom spacing as it is handled in footer portlet */
.citizen-drawer__menu {
	margin-bottom: 0;
	padding-bottom: 0;
}


.mw-portlet-External {
	position: sticky;
	bottom: 0;
	margin-top: var( --space-md );
    padding: var( --space-xs ) 0;
	border-top: 1px solid var( --border-color-base );
	font-size: var( --font-size-x-small );
	grid-column: 1 / -1;
	white-space: nowrap;
}

.mw-portlet-External .citizen-menu__heading {
	display: none;
}

.mw-portlet-External ul {
	display: flex;
	overflow: auto;
}

.mw-portlet-External .mw-list-item a {
	gap: 0;
}

/* Label */
.citizen-drawer__menu [id^="n-sidebar-label-"] a {
	pointer-events: none;
    margin-left: var( --space-xs );
    padding-left: var( --space-md );
	padding-right: var( --space-xs );
	border-left: 1px solid var( --border-color-base );
    border-radius: 0;
    letter-spacing: 0.05em;
    font-weight: var( --font-weight-normal );
    color: var( --color-base--subtle ) !important;
}

/* Icons */
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
	font-size: 0 !important;
    content-visibility: auto !important;
}

.citizen-drawer__menu [id^="n-sidebar-icon-"] a:before {
	display: block !important;
    content: "" !important;
    width:  22px !important;
    height: 22px !important;
    background: transparent center/contain no-repeat !important;
    opacity: var( --opacity-icon-base ) !important;
    filter: var( --filter-invert ) !important;
}

#n-sidebar-icon-discord a:before {
	background-image: url( https://cemodding.wiki/images/3/3b/Discordlogo.png ) !important
}


.guidecardlayout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.guidecardlayout-card {
  color:white;
  background-color: rgba(30, 30, 30, 0.65);
  border-radius: 15px 15px 15px 15px;
  margin: 10px;
  padding: 0px;
  display: flex;
  flex-direction: column;
  flex: 1 1 45%;  /* Ensures cards take up equal space and fit side by side */
  box-sizing: border-box;
}

.guidecardlayout-title {
  padding-left:15px;
  padding-top:15px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.guidecardlayout-content {
  flex-grow: 1;
  padding-left:15px;
  padding-right:15px;
  margin-bottom: 10px;
}

.guidecardlayout-button {
  margin-top: auto;
  width: 100%;
}
.guidecardlayout-button p {
  margin: 0;
  padding: 0;
}
.guidecardlayout-link {
  background-color: #444444;
  color: #fff;
  padding: 0px;
  display: block;
  text-align: center;
  border-radius: 0px 0px 15px 15px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.guidecardlayout-button .guidecardlayout-link {
  padding: 10px;
  display: block;
  text-align: center;
  border-radius: 0px 0px 15px 15px;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
  text-decoration: none; /* Ensures the link is not underlined */
}

.guidecardlayout-button .guidecardlayout-link:hover {
  background-color: #555555; /* Darker shade on hover */
}
.mw-collapsible-content .mw-collapsible {
    margin-left: 15px;
}


.mw-collapsible-indicator {
    font-size: 18px;
    transition: opacity 0.2s ease-in-out;
    display: inline-block;
}

.mw-collapsible-indicator {
    font-size: 18px;
    transition: opacity 0.1s ease-in-out; /* Fade out in 0.1s */
    display: inline-block;
}

.mw-collapsible-indicator.loading {
    opacity: 0;
}

.mw-collapsible-icon {
    display: inline-flex;
    align-items: center;
    position: relative;
    width: 16px; /* Keeps both elements aligned */
    height: 16px;
}

.mw-collapsible-indicator {
    font-size: 18px;
    transition: opacity 0.1s ease-in-out;
    display: inline-block;
    position: absolute;
}

.mw-collapsible-indicator.fade-out {
    opacity: 0;
}

.mw-collapsible-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #ff0000; /* Red spinner */
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
    position: absolute;
}

.mw-collapsible-loading.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex; /* Always flex but hidden */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1; /* Start visible */
}

.loading-circle {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top: 5px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-screen p {
    margin-top: 10px;
    font-size: 18px;
    color: black;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.