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

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

.hfw_notice_content {
.hfw_notice_content {
display: flex;
display: flex;
Line 8: Line 9:
gap: 1rem;
gap: 1rem;
}
}

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

.hfw_notice_text {
.hfw_notice_text {
display: flex;
display: flex;
Line 15: Line 22:
text-align: center;
text-align: center;
}
}

.hfw_notice_text_title {
.hfw_notice_text_title {
font-weight: bold;
font-weight: bold;
Line 28: 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 {

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;
  }
}