Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Message.css: Difference between revisions

Template page
Admin changed the content model of the page Template:Message.css from "wikitext" to "Sanitised CSS"
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
.message {
.message {
   padding: 1em;
   padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
 
   border-width: 1px;
   border-width: 1px;
   border-style: solid;
   border-style: solid;
  border-radius: 0.5rem;
}
.message-title {
  font-weight: bold;
  font-size: 150%;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 0.5rem;
}
.message-title i {
  margin-right: 0.5rem;
}
}


.message-info {
.message-info {
   border-color: blue;
   border-color: rgb(0, 0, 255);
   background: rgba(0, 0, 255, 0.5)
  background: rgba(0, 0, 255, 0.15)
}
 
.message-warning {
  border-color: rgb(255, 255, 0);
  background: rgba(255, 255, 0, 0.15)
}
 
.message-danger {
  border-color: rgb(255, 0, 0);
   background: rgba(255, 0, 0, 0.15)
}
 
.message-success {
  border-color: rgb(0, 255, 0);
  background: rgba(0, 255, 0, 0.15)
}
}

Latest revision as of 13:00, 23 October 2025

.message {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;

  border-width: 1px;
  border-style: solid;
  border-radius: 0.5rem;
}

.message-title {
  font-weight: bold;
  font-size: 150%;

  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 0.5rem;
}

.message-title i {
  margin-right: 0.5rem;
}

.message-info {
  border-color: rgb(0, 0, 255);
  background: rgba(0, 0, 255, 0.15)
}

.message-warning {
  border-color: rgb(255, 255, 0);
  background: rgba(255, 255, 0, 0.15)
}

.message-danger {
  border-color: rgb(255, 0, 0);
  background: rgba(255, 0, 0, 0.15)
}

.message-success {
  border-color: rgb(0, 255, 0);
  background: rgba(0, 255, 0, 0.15)
}