MediaWiki:Common.css: Difference between revisions

From MalveraWiki
No edit summary
No edit summary
Tag: Reverted
Line 3: Line 3:
   background: url('https://i.imgur.com/n94IzKR.png') no-repeat center center fixed;
   background: url('https://i.imgur.com/n94IzKR.png') no-repeat center center fixed;
   background-size: cover;
   background-size: cover;
}
/* Sidebar boxed style */
.portal {
  background: var(--box-bg);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 0;
}
.portal h3 {
  background-color: rgba(126, 96, 195, 0.2);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  text-align: center;
  margin: -1.2rem -1.2rem 1rem;
  font-weight: bold;
  color: var(--accent);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}
.portal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.portal li a {
  display: block;
  padding: 0.3rem 0;
  text-decoration: none;
  color: var(--link-color);
}
}

Revision as of 23:36, 10 July 2025

/* CSS placed here will be applied to all skins */
body {
  background: url('https://i.imgur.com/n94IzKR.png') no-repeat center center fixed;
  background-size: cover;
}

/* Sidebar boxed style */
.portal {
  background: var(--box-bg);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 0;
}

.portal h3 {
  background-color: rgba(126, 96, 195, 0.2);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  text-align: center;
  margin: -1.2rem -1.2rem 1rem;
  font-weight: bold;
  color: var(--accent);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.portal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portal li a {
  display: block;
  padding: 0.3rem 0;
  text-decoration: none;
  color: var(--link-color);
}