1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-24 22:54:09 +00:00

Added CSS and images for warning boxes.

This commit is contained in:
Markus Birth 2014-05-16 09:50:33 +02:00
parent b7e00e51dd
commit 09d62ae992
5 changed files with 42 additions and 0 deletions

View File

@ -263,3 +263,45 @@ a {
.cf {
zoom:1;
}
.noteclassic, .noteimportant, .notewarning, .notetip {
margin: 2em;
margin-left: auto;
margin-right: auto;
width: 70% !important;
min-height: 40px;
clear: both;
text-align: justify;
vertical-align: middle;
border-collapse: collapse;
padding: 15px 20px 15px 80px;
background-position: 20px 50%;
background-repeat: no-repeat;
-moz-border-radius: 20px;
-khtml-border-radius: 20px;
border-radius: 20px;
}
.noteclassic {
border: 2px solid #99D;
/*background-color: #eef;*/
background-image: url(../images/note.png);
}
.noteimportant {
border: 2px solid #ff0;
/*background-color: #ffc;*/
background-image: url(../images/important.png);
}
.notewarning {
border: 2px solid #d99;
/*background-color: #fdd;*/
background-image: url(../images/warning.png);
}
.notetip {
border: 2px solid #9d9;
/*background-color: #dfd;*/
background-image: url(../images/tip.png);
}

BIN
images/important.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
images/note.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
images/tip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
images/warning.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB