MediaWiki:Common.css: Difference between revisions

SitX (talk | contribs)
mNo edit summary
SitX (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
.rot-box {
  background-color: #141414;
  border: 1px solid #A67C52;
  border-radius: 6px;
  padding: 10px 15px;
  margin: 10px;
  box-sizing: border-box;
  color: #ccc;
}
a:link {
    color: #7aa9ff !important; /* Light steel blue */
}
a:visited {
    color: #c98bff !important; /* Light violet */
}
a:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}
.rot-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.rot-left, .rot-right, .rot-bottom {
  width: 48%;
  min-width: 320px;
}
/* Make portable infobox match dark theme */
.portable-infobox {
  background-color: #1c1c1c;
  color: #e0e0e0;
  border: 1px solid #444;
  font-size: 90%;
}
.portable-infobox .pi-title {
  background-color: #2a2a2a;
  color: #f9d29d;
  font-size: 130%;
  font-weight: bold;
}
.portable-infobox .pi-image img {
  border: 1px solid #444;
}
.portable-infobox .pi-data-label {
  color: #c9a66b;
  font-weight: bold;
  width: 40%;
}
.portable-infobox .pi-data-value {
  color: #eee;
}
.portable-infobox .pi-header {
  background-color: #2e2e2e;
  color: #d4af37;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 95%;
}
.portable-infobox .pi-navigation {
  display: none; /* Hide empty navigation footer if unused */
}
#p-logo {
    position: static !important;
    height: auto !important;
    margin: 0px 0 5px 5px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}
#mw-panel {
#mw-panel {
     width: 160px;
     width: 160px;
Line 258: Line 343:
     color: #C0A080; /* Stylish headers */
     color: #C0A080; /* Stylish headers */
     font-family: 'Cinzel', serif;
     font-family: 'Cinzel', serif;
}
.mw-parser-output a:link {
  color: #7aa9ff;
}
.mw-parser-output a:visited {
  color: #c98bff;
}
.mw-parser-output a:hover {
  color: #FFD700;
  text-shadow: 0 0 3px rgba(255, 215, 0, 0.4);
}
}


Line 319: Line 417:
}
}


#p-logo {
 
    position: static !important;
    height: auto !important;
    margin: 0px 0 5px 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}


@keyframes logoPopIn {
@keyframes logoPopIn {
Line 345: Line 435:
.mw-wiki-logo {
.mw-wiki-logo {
animation: logoPopIn 0.6s ease-out forwards;
animation: logoPopIn 0.6s ease-out forwards;
     width: 170px !important;
     width: 230px !important;
     height: 100px !important;
     height: 85px !important;
     background-image: url('https://static.wikioasis.org/realmofthroneswiki/c/c9/Logo.png');
     background-image: url('https://static.wikioasis.org/realmofthroneswiki/9/9d/ADOD.gif');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: center;
     background-position: center;