Line 87: |
Line 87: |
| } | | } |
| | | |
− | /* Warning templates */ | + | /* Warning template */ |
| .icannwiki-warning { | | .icannwiki-warning { |
− | display: flex;
| + | display: flex; |
− | justify-content: center; /* Centers content horizontally */
| + | justify-content: center; |
− | align-items: center; /* Centers content vertically */
| + | align-items: center; |
− | height: auto; /* Set height to auto to accommodate content */
| + | text-align: center; |
− | max-height: 150px; /* Set a maximum height to prevent it from becoming too large */
| + | height: auto; |
− | margin: 0 auto; /* Centers the div horizontally */
| + | width: 60%; |
− | padding: 20px; /* Adds some padding for better spacing */
| + | margin: 0 auto; |
− | text-align: center; /* Centers text within the div */
| + | padding: 10px; |
| + | background-color: #FFFDF4; |
| + | border: 2px solid #d48900; |
| + | border-left: 16px solid #d48900; |
| + | } |
| + | |
| + | .icannwiki-warning a { |
| + | font-weight: bold; |
| + | color: #d48900; |
| + | } |
| + | |
| + | /* Signaling template */ |
| + | .icannwiki-signal { |
| + | display: flex; |
| + | justify-content: center; |
| + | align-items: center; |
| + | text-align: center; |
| + | height: auto; |
| + | width: 60%; |
| + | margin: 0 auto; |
| + | padding: 10px; |
| + | background-color: #f4fcff; |
| + | border: 2px solid #0092D4; |
| + | border-left: 16px solid #0092D4; |
| + | } |
| + | |
| + | .icannwiki-signal a { |
| + | font-weight: bold; |
| + | color: #0092D4; |
| + | } |
| + | |
| + | /* Danger template */ |
| + | .icannwiki-danger { |
| + | display: flex; |
| + | justify-content: center; |
| + | align-items: center; |
| + | text-align: center; |
| + | height: auto; |
| + | width: 60%; |
| + | margin: 0 auto; |
| + | padding: 10px; |
| + | background-color: #fff4f4; |
| + | border: 2px solid #D40000; |
| + | border-left: 16px solid #D40000 |
| + | } |
| + | |
| + | .icannwiki-danger a { |
| + | font-weight: bold; |
| + | color: #D40000; |
| } | | } |
| | | |
Line 107: |
Line 155: |
| .icannwiki-text-white { | | .icannwiki-text-white { |
| color: #ebfcef; | | color: #ebfcef; |
− |
| |
| } | | } |
| | | |