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

From Hololive Fan Wiki
Content added Content deleted
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
.hfw_notice {
.hfw_notice {
border:solid cornflowerblue;
border: 2px solid cornflowerblue;
padding: 15px
padding: 10px;
}
}

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

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


Line 14: Line 20:
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
text-align: center;
}
}


Line 26: Line 33:
align-items: center;
align-items: center;
gap: 0.5rem;
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;
}
}
}

Latest revision as of 14:32, 25 July 2022

.hfw_notice {
  border: 2px 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;
  }
}