Loading...

Welcome to the Chrome Engine Modding Wiki ❤️
Uh oh I have never seen you here before, let me preload some stuff

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

MediaWiki interface page
Revision as of 04:54, 4 January 2025 by Idkman (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
body {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://www.chromengine.com/images/2/26/Background.png');
    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 */
}




.mw-header {
    background-color: rgba(0, 0, 0, 0.8); /* 80% transparent black */
}

.citizen-drawer__card{
	background-color: rgba(0, 0, 0, 0.9);
}

.citizen-search-box{
	background-color: rgba(0, 0, 0, 0.9);
}

/* General container for all cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two cards per row */
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    justify-items: center; /* Center cards horizontally */
    align-items: start; /* Align cards at the top vertically */
}

/* Card styling */
.card {
    background-color: rgba(240, 240, 240, 0.1); /* 10% transparent black */
    color: black; /* Ensure text inside the card is black */
    width: 490px; /* Increased card width */
    height: 350px; /* Increased card height */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* Card title text styles */
.card h3, .card h4, .card p {
    color: white;
}

/* Inner wrapper for flip effect */
.card-inner {
    background-color: rgba(0, 0, 0, 0.2); /* 20% transparent */
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    position: relative;
}

/* Front and back styling */
.card-front, .card-back {
    background-color: rgba(0, 0, 0, 0.1); /* 10% transparent black */
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.card-back {
    background-color: rgba(0, 0, 0, 0.1); /* 10% transparent black */
    transform: rotateY(180deg); /* Make sure it's flipped */
    display: flex;
    flex-direction: row; /* Align content in a row, left to right */
    gap: 10px; /* Space between text-boxes */
    justify-content: flex-start; /* Align items from left to right */
    align-items: stretch; /* Ensure items stretch vertically to fill the container */
    padding: 10px;
    box-sizing: border-box;
    height: 100%; /* Ensure it takes up full height of the card */
}

/* Flip effect */
.card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Text box on the back of the card - aligned from left to right */
.text-box {
    background-color: rgba(240, 240, 240, 0.1); /* 10% transparent black */
    width: 200px; /* Fixed width for text boxes */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Stack content vertically inside each text box */
    gap: 10px;
    justify-content: flex-start; /* Align items at the top */
    align-items: center;
    flex-grow: 1; /* Allow the text box to take up remaining vertical space */
}

/* Title for the text box */
.text-box h4 {
    font-size: 12px; /* Small font size */
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
    text-transform: uppercase; /* Make it uppercase */
    display: block;
}

/* Sub-panel container - stack sub-panels horizontally */
.sub-panel-container {
    display: flex;
    flex-direction: row; /* Align sub-panels horizontally (left to right) */
    gap: 10px; /* Space between sub-panels */
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

/* Individual sub-panel styling */
.sub-panel {
    background-color: rgba(50, 50, 50, 1); /* 10% transparent black */
    font-size: 16px; /* Slightly larger text for better readability */
    color: white; /* Ensure sub-panel text is white */
    width: 100%; /* Full width of container */
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover effect for sub-panels */
.sub-panel:hover {
    background-color: black;
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Buttons inside sub-panels */
.sub-panel button {
    width: 100%; /* Make the button fill the entire width of the sub-panel */
    height: 100%; /* Make the button fill the entire height of the sub-panel */
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none; /* Remove border */
    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 */
.sub-panel button:hover {
    background-color: #45a049; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Links inside sub-panels */
.sub-panel a {
    color: white; /* Ensure link text is white */
}

.sub-panel a:visited{
	color: white;
}

.mw-content-ltr{
	margin-bottom:5%;
}

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

.page-info{
	display:none;
}

.CategoryTreeSection{
	color:white;
}

.CategoryTreeSection a{
	color:white;
}
.logo{
	background-image:url('https://www.chromengine.com/images/a/ac/ChromeEngine.png');
	background-size: cover;
    background-position: center;
}
#skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-of-type(2) {
    display: none;
}

a{
	color:white;
}

.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 */
}

.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.85); /* 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: 5px 10px; /* Tight padding */
  margin-bottom: 10px;
  max-width: 100%; /* Ensure it doesn't overflow */
}

/* 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: auto; /* Let the content take as much width as needed */
  min-width: 200px; /* 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: 10px; /* Reduced margin for compactness */
  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 */
  margin-right: 15px; /* Add more space for better separation */
}

/* Download icon next to the content */
.file-info-download {
  margin-left: 10px; /* Added more space for better separation */
  display: flex;
  align-items: center; /* Center the image vertically */
  justify-content: center;
  width: 35px; /* Increased width for more space */
  height: 35px; /* Adjust height to match the width */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}


.file-info-download:hover {
  transform: scale(1.1);
}

/* Label styles */
.file-info-label {
  font-weight: bold;
  color: #ffffff; /* White for better contrast */
  font-size: 12px; /* Smaller font size */
  margin-right: 5px; /* Tighter spacing */
}

/* File info content text styling */
.file-info-content strong {
  font-size: 12px; /* Reduced font size */
  margin-bottom: 0; /* Remove extra margin */
  display: block;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.