User:Aesulus/Vector 2022 banner.css: Difference between revisions

From Hololive Fan Wiki
Content added Content deleted
No edit summary
No edit summary
Line 36: Line 36:
}
}


@media all and (width <= 450px) {
@media all and (width <= 700px) {
.hfw_notice_image { display: none; }
.hfw_notice_image { display: none; }
.hfw_notice_content {
.hfw_notice_content {

Revision as of 14:31, 25 July 2022

.hfw_notice {
  border: solid cornflowerblue;
  padding: 10px;
}

.hfw_notice_content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.hfw_notice_image {
  display: flex;
  align-items: center;
}

.hfw_notice_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hfw_notice_text_title {
  font-weight: bold;
}

.hfw_notice_buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

@media all and (width <= 700px) {
  .hfw_notice_image { display: none; }
  .hfw_notice_content { 
    flex-wrap: wrap;
    justify-content: center;
  }
  .hfw_notice_buttons {
    flex-direction: row;
    white-space: inherit;
  }
}