MediaWiki:Common.css: Difference between revisions

From 7019
(Replaced content with ".alert { width: 512px; padding: 16px; margin: 8px; max-width: 90%; background-color: pink; }")
Tag: Replaced
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
.alert {
.alert {
   width: 512px;
   width: 100%;
   padding: 16px;
   padding: 12px 16px;
   margin: 8px;
  border-radius: 4px;
   max-width: 90%;
  border-style: solid;
   background-color: pink;
  border-width: 1px;
   margin-bottom: 12px;
  font-size: 16px;
}
 
.alert.alert-success {
  background-color: rgba(227, 253, 235, 1);
  border-color: rgba(38, 179, 3, 1);
   color: rgba(60, 118, 61, 1);
}
 
.alert.alert-info {
  background-color: rgba(217, 237, 247, 1);
  color: rgba(49, 112, 143, 1);
  border-color: rgba(126, 182, 193, 1);
}
 
 
.alert.alert-warning {
  background-color: rgba(252, 248, 227, 1);
  border-color: rgba(177, 161, 129, 1);
  color: rgba(138, 109, 59, 1);
}
 
.alert.alert-danger {
   background-color: rgba(248, 215, 218, 1);
  border-color: rgba(220, 53, 69, 1);
  color: rgba(114, 28, 36,1);
}
}

Latest revision as of 20:36, 6 March 2024

.alert {
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  margin-bottom: 12px;
  font-size: 16px;
}

.alert.alert-success {
  background-color: rgba(227, 253, 235, 1);
  border-color: rgba(38, 179, 3, 1);
  color: rgba(60, 118, 61, 1);
}

.alert.alert-info {
  background-color: rgba(217, 237, 247, 1);
  color: rgba(49, 112, 143, 1);
  border-color: rgba(126, 182, 193, 1);
}


.alert.alert-warning {
  background-color: rgba(252, 248, 227, 1);
  border-color: rgba(177, 161, 129, 1);
  color: rgba(138, 109, 59, 1);
}

.alert.alert-danger {
  background-color: rgba(248, 215, 218, 1);
  border-color: rgba(220, 53, 69, 1);
  color: rgba(114, 28, 36,1);
}