MediaWiki:Common.css

Aus wiki.virtual-nation.de
Zur Navigation springenZur Suche springen

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Strg+F5
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Inhaltsverzeichnis nach rechts verschieben */
#toc {
    float: left !important;
    max-width: 300px;
    margin-right: 25px;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #aaa;
}


/* Set a max-width for article content */
.mw-body-content {
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto; /* Centers the content */
}

/* Limit the width of the main content area and center the text block */
.mw-content-ltr {
    max-width: 800px; /* Adjust this as needed */
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px; /* Adds some spacing on the sides */
    display: block;
    text-align: left; /* Keep text aligned left while centering the block */
}

.mw-body-content {
    max-width: 1200px; /* Adjust this as needed */
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px; /* Adds some spacing on the sides */
    display: flex;
    flex-direction: column;
    align-items: center;
}