Difference between revisions of "MediaWiki:Common.css"

From BPM Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
   border: 1px solid black;
 
   border: 1px solid black;
 
   padding: 0;
 
   padding: 0;
   margin-top: 0.333em;
+
   margin: 0.333em 0 0.5em;
  margin-bottom: 0.5em;
 
 
}
 
}
 
.enemy-attack-head {
 
.enemy-attack-head {
 
   background: #5d0312;
 
   background: #5d0312;
 
   color: white;
 
   color: white;
   padding: 0.1em;
+
   padding: 0.1em 1em;
  margin: 0em;
 
 
}
 
}
 
.enemy-attack-body {
 
.enemy-attack-body {
   padding: 1em;
+
   padding: 1em 1em 0;
  padding-bottom: 0em;
+
   margin: 0;
   margin: 0em;
 
 
}
 
}

Revision as of 23:51, 20 September 2020

/* CSS placed here will be applied to all skins #ca0312 */
#p-logo { background: #5d0312 }


/* 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) }
}

/* Enemy attack template. */
.enemy-attack-container {
  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: 1em 1em 0;
  margin: 0;
}