MediaWiki

MediaWiki:Common.css

From Wiki**3

Revision as of 14:45, 23 November 2023 by Root (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* CSS placed here will be applied to all skins */
/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: #282727;
   color: #dddddd;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #282727;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
    background: #282727;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #282727;
}
.top-bar .button {
    background: #414141;
    border-top-color: #555555;
    border-right-color: #414141;
    border-bottom-color: #555555;
    border-left-color: #414141;
}

body {
  font-family: "Lato", Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.25;
  color: #697060;
  /*background-color: #f7f7f7;*/
  background-color: #ffffff;
  margin: 0px;
}

body #mw-content-text pre {
  margin-bottom: 1em;
}

body span.mw-headline {
    font-weight: normal;
}

body span.mw-collapsible-toggle.mw-collapsible-toggle-collapsed {
  
}
body span.mw-collapsible-toggle.mw-collapsible-toggle-expanded {
}

body h1 { font-size: 1.85em; }
body h2 { font-size: 1.75em; }
.ns-subject h3, .ns-special h3, .page-Main_Page h3, body h3 { font-size: 1.4em; }
body h4 { font-size: 1em; }
body h5 { font-size: 1em; }
body h6 { font-size: 1em; }

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: "Candara", "Lato", sans-serif;
    font-weight: normal;
    color: #697060;
    margin-top: 0.8em;
}
body h2.title { font-size: 2em; }
body .title {
    font-family: "Candara", "Lato", sans-serif;
    font-weight: normal;
    color: #697060;
    margin-top: 0em;
}
body div#firstHeading {
    font-family: "Candara", "Lato", sans-serif;
    font-weight: normal;
    color: #697060;
    margin-top: 0em;
}

body div#toctitle h2 {
  font-size: initial;
  margin-top: 0.8em;
  display: inline;
}

body #catlinks {
  margin-top: 1.5em;
  margin-bottom: 0em;
  border-style: none;
  border-width: 0px;
}

body div#catlinks {
  margin-top: 1.5em;
  margin-bottom: 0em;
  border-style: solid;
  border-width: 1px;
  border-color: #f0f0f0;
  background: #f3f3f3;
}

body #catlinks a.label {
  
}
body #mw-normal-catlinks {
  margin-top: 0em;
  margin-bottom: 0em;
  border-style: none;
  border-width: 0px;
}
body .group {
  border-style: none;
  border-width: 0px;
}
body #mw-normal-catlinks a.label {
  background: #d6d6d6;
  font-size: 0.9em;
  color: #777777;
}

body pre {
  font-family: "Droid Sans Mono", monospace;
  font-size: 0.85em;
  line-height: 1.25em;
  background-color: #fcfcfc;
  padding: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: #dddddd;
}

@media all {
body h3#tagline {
    display: none;
    font-weight: normal;
  }
}

@media print {
  body h3#tagline { display: block; font-weight: normal; }
  a[href]::after { display: none; }
  div.printfooter { display: none; }
}

/* PEOPLE CARDS: BEGIN */

.people-cards {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   font-family: 'Raleway', sans-serif;
}
.person-card {
   display: flex;
   width: 370px;
   height: 230px;
   border: 1px solid #dddddd;
   padding: 20px;
   box-sizing: border-box;
   position: relative;
   background-color: #f8f8f8; /* Off-white background color */
   box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2); /* Box shadow */
   padding: 10px; /* Add padding to the white div */
   flex-direction: column;
}
.person-card-top {
    margin-top: 10px;
    display: flex;
    height: 130px;
}
.person-card-img {
   width: 120px;
}
        .person-card-img img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border: 1px solid #999999;
            border-radius: 50%;
        }
        .person-details {
            flex: 1;
            font-size: 0.9em;
            line-height: 1.2em;
        }
        .person-card-footer {
            padding-bottom: 4px;
            width: 100%;
            align-self: flex-end; /* Align the footer to the bottom */
            display: flex;
            flex-direction: column;
            overflow: hidden;
            font-size: 0.8em;
            line-height: 1.1em;
        }

/* PEOPLE CARDS: END */