1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-28 01:29:42 +02:00

added new block

This commit is contained in:
exezzz 2025-06-01 21:12:29 +03:00
parent 28580e300b
commit 680bcde28c
12 changed files with 949 additions and 395 deletions

View file

@ -374,6 +374,73 @@
}
}
/**
* Alert (Editor.js style)
* ==================
*/
.cdx-alert {
position: relative;
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
}
.cdx-alert__title {
font-weight: bold;
margin-bottom: 0.5rem;
}
.cdx-alert__message {
outline: none;
}
.cdx-alert-align-left {
text-align: left;
}
.cdx-alert-align-center {
text-align: center;
}
.cdx-alert-align-right {
text-align: right;
}
.cdx-alert-primary {
background-color: #ebf8ff;
border: 1px solid #4299e1;
color: #2b6cb0;
}
.cdx-alert-secondary {
background-color: #f7fafc;
border: 1px solid #cbd5e0;
color: #222731;
}
.cdx-alert-info {
background-color: #e6fdff;
border: 1px solid #4cd4ce;
color: #00727c;
}
.cdx-alert-success {
background-color: #f0fff4;
border: 1px solid #68d391;
color: #2f855a;
}
.cdx-alert-warning {
background-color: #fffaf0;
border: 1px solid #ed8936;
color: #c05621;
}
.cdx-alert-danger {
background-color: #fff5f5;
border: 1px solid #fc8181;
color: #c53030;
}
.cdx-alert-light {
background-color: #fff;
border: 1px solid #edf2f7;
color: #1a202c;
}
.cdx-alert-dark {
background-color: #2d3748;
border: 1px solid #1a202c;
color: #d3d3d3;
}
/**
* Checklist
* ==================