Welcome to the newly independent BOXBOY WIKI!

Learn more about our fork at BOXBOY WIKI!:2025 Fork. If you have edited the Fandom wiki and would like to claim your account here, you can do so via Special:MigrateUserAccount. To ensure you only visit the independent wiki going forward, install the Indie Wiki Buddy browser extension.

Template:Notice Box/styles.css

From BOXBOY WIKI!
< Template:Notice Box
Revision as of 22:23, 13 January 2025 by SuperHamster (talk | contribs) (Vertical centering on image)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
.notice-box {
  display: flex;
  gap: 1em;
  padding: 1em;
  margin-bottom: 4px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 5px;
  width: 100%;
}

.notice-box .notice-box-img {
  flex: 0 0 auto;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
}

.notice-box .notice-box-text {
  flex: 1 1 auto;
  text-align: center;
}

@media (max-width: 800px) {
  .notice-box {
    flex-direction: column;
  }
  .notice-box .notice-box-img {
    width: 100%;
  }
}