Keine Bearbeitungszusammenfassung |
Margit (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* Infoboxes */ | /* Infoboxes */ | ||
. | .cd-textbox { | ||
padding: 14px; | padding: 14px; | ||
margin: 2em 0 1em 0; | margin: 2em 0 1em 0; | ||
display: | display: table; | ||
position:relative; | position:relative; | ||
clear:both; | width: 100%; | ||
clear:both; | |||
} | } | ||
. | .cd-textbox .icon-col { | ||
display: table-cell; | |||
vertical-align: middle; | |||
width: 30px; | |||
} | } | ||
. | .cd-textbox .icon-col.icon::before { | ||
width: 35px; | |||
font-size: 1.6em; | height: 100%; | ||
font-size: 1.6em; | |||
font-family: "fontawesome" | font-family: "fontawesome"; | ||
} | } | ||
. | .cd-textbox .text-col { | ||
margin-left: 10px; | |||
} | |||
.boxheader { | |||
font-weight:bold; | |||
display: block; | |||
} | |||
.cd-textbox p { | |||
margin:0 | margin:0 | ||
} | } | ||
. | .cd-textbox-note { | ||
border-left: solid 4px #2b80ea; | border-left: solid 4px #2b80ea; | ||
background:#dfecfc | background:#dfecfc; | ||
} | } | ||
. | |||
content: "\f05a "; | .cd-textbox-note .icon::before { | ||
color: #2b80ea; | content: "\f05a "; | ||
color: #2b80ea; | |||
} | } | ||
. | .cd-textbox-tip { | ||
border-left: solid 4px # | border-left: solid 4px #fdc300; | ||
background:# | background:#fff6d8; | ||
} | } | ||
. | .cd-textbox-tip .icon::before { | ||
content: "\f26a"; | |||
content: "\f26a"; | color: #fdc300; | ||
color: # | font-size: 1.3em; | ||
font-size: | margin-left: 2px; | ||
margin-left: | |||
} | } | ||
. | .cd-textbox-warning { | ||
border-left: solid 4px #bd1d1d; | border-left: solid 4px #bd1d1d; | ||
background: #f5dcdc; | background: #f5dcdc; | ||
} | } | ||
. | .cd-textbox-warning .icon::before { | ||
content: "\f071"; | content: "\f071"; | ||
color: #bd1d1d; | color: #bd1d1d; | ||
} | } | ||
. | .cd-textbox-important { | ||
border-left: solid 4px # | border-left: solid 4px #f28c00; | ||
background: #FFFAE6; | background: #FFFAE6; | ||
margin-left: 2px; | margin-left: 2px; | ||
} | } | ||
. | .cd-textbox-important .icon::before { | ||
content: "\f06a"; | content: "\f06a"; | ||
color: # | color: #f28c00; | ||
} | } | ||
. | |||
.cd-textbox-example { | |||
border-left: solid 4px #94c11f; | border-left: solid 4px #94c11f; | ||
background: #eff6dd; | background: #eff6dd; | ||
} | } | ||
. | .cd-textbox-example.icon::before{ | ||
content: "\f0a4"; | content: "\f0a4"; | ||
color: #94c11f; | color: #94c11f; | ||
} | } | ||
. | |||
border-left: solid 4px #747474; | .cd-textbox-neutral { | ||
background:#f1f3f9; | border-left: solid 4px #747474; | ||
padding:14px; | background:#f1f3f9; | ||
padding:14px; | |||
} | |||
.cd-textbox-neutral .icon::before{ | |||
content: "\f0a9 "; | |||
color: #747474; | |||
left: 10px; | |||
top: 8px; | |||
} | } | ||
. | |||
.cd-textbox-success { | |||
border-left: solid 4px #94c11f; | |||
background: #eff6dd; | |||
} | } | ||
. | .cd-textbox-success .icon::before{ | ||
content: "\f058 "; | |||
color: #94c11f; | |||
} | } |
Aktuelle Version vom 17. April 2023, 09:19 Uhr
/* Infoboxes */
.cd-textbox {
padding: 14px;
margin: 2em 0 1em 0;
display: table;
position:relative;
width: 100%;
clear:both;
}
.cd-textbox .icon-col {
display: table-cell;
vertical-align: middle;
width: 30px;
}
.cd-textbox .icon-col.icon::before {
width: 35px;
height: 100%;
font-size: 1.6em;
font-family: "fontawesome";
}
.cd-textbox .text-col {
margin-left: 10px;
}
.boxheader {
font-weight:bold;
display: block;
}
.cd-textbox p {
margin:0
}
.cd-textbox-note {
border-left: solid 4px #2b80ea;
background:#dfecfc;
}
.cd-textbox-note .icon::before {
content: "\f05a ";
color: #2b80ea;
}
.cd-textbox-tip {
border-left: solid 4px #fdc300;
background:#fff6d8;
}
.cd-textbox-tip .icon::before {
content: "\f26a";
color: #fdc300;
font-size: 1.3em;
margin-left: 2px;
}
.cd-textbox-warning {
border-left: solid 4px #bd1d1d;
background: #f5dcdc;
}
.cd-textbox-warning .icon::before {
content: "\f071";
color: #bd1d1d;
}
.cd-textbox-important {
border-left: solid 4px #f28c00;
background: #FFFAE6;
margin-left: 2px;
}
.cd-textbox-important .icon::before {
content: "\f06a";
color: #f28c00;
}
.cd-textbox-example {
border-left: solid 4px #94c11f;
background: #eff6dd;
}
.cd-textbox-example.icon::before{
content: "\f0a4";
color: #94c11f;
}
.cd-textbox-neutral {
border-left: solid 4px #747474;
background:#f1f3f9;
padding:14px;
}
.cd-textbox-neutral .icon::before{
content: "\f0a9 ";
color: #747474;
left: 10px;
top: 8px;
}
.cd-textbox-success {
border-left: solid 4px #94c11f;
background: #eff6dd;
}
.cd-textbox-success .icon::before{
content: "\f058 ";
color: #94c11f;
}