Difference between revisions of "MediaWiki:Common.css"

From BPM Wiki
Jump to navigation Jump to search
Line 16: Line 16:
  
 
/* Steam login. */
 
/* Steam login. */
#pt-logout {
+
#pt-login {
 
   background: url('/mediawiki/resources/assets/sits_small.png') no-repeat;
 
   background: url('/mediawiki/resources/assets/sits_small.png') no-repeat;
 
   height: 23px;
 
   height: 23px;

Revision as of 02:30, 21 September 2020

/* CSS placed here will be applied to all skins #ca0312 */
#p-logo { background: linear-gradient(#5d0312, 80%, #000) }


/* Logo. */
.mw-wiki-logo {
  background-size: contain;
}
.mw-wiki-logo:hover {
  animation: beat 0.666s ease-out infinite;
}
@keyframes beat {
  from { transform: scale(1.05, 1.05) }
  to { transform: scale(1, 1) }
}

/* Steam login. */
#pt-login {
  background: url('/mediawiki/resources/assets/sits_small.png') no-repeat;
  height: 23px;
  width: 154px;
}
#pt-login > a {
  display: inline-block;
  height: 100%;
  width: 100%;
  text-indent: -99999em; /* Hack to replace text (good for screen readers). */
  overflow: hidden;
}

/* Enemy attack template. */
.enemy-attack-container {
  max-width: 70vw;
  border: 1px solid black;
  padding: 0;
  margin: 0.333em 0 0.5em;
}
.enemy-attack-head {
  background: #5d0312;
  color: white;
  padding: 0.1em 1em;
}
.enemy-attack-body {
  padding: 0.1em 1em;
}