Template:Message.css: Difference between revisions
Template page
More actions
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: | 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: | border-color: rgb(0, 0, 255); | ||
background: rgba(0, 0, 255, 0. | 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)
}