MediaWiki:Common.css: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


.note {
.note {
background-position: left 7px top 50%;
    position: relative;
padding: 0.5em 0.5em 0.5em 40px;
    padding: 0.75rem 1.25rem;
margin: 0.5em 0;
    margin-bottom: 1rem;
overflow: hidden;
    border: 1px solid transparent;
background-color: #f8f9fa;
background-repeat: no-repeat;
border: 1px solid #ddd;
     border-radius: 0.25rem;
     border-radius: 0.25rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
}


Line 24: Line 20:


.note-reminder {
.note-reminder {
     background-color: #FFF9EA; /* light yellow */
    color: #155724;
     border-color: #fc3; /* darker yellow */
     background-color: #d4edda;
    /* other styles remain the same */
     border-color: #c3e6cb;
}
}


Line 37: Line 33:


.note-error {
.note-error {
     background-color: #F8D7DA; /* light red */
    color: #721c24;
     border-color: #f44336; /* darker red */
     background-color: #f8d7da;
    /* other styles remain the same */
     border-color: #f5c6cb;
}
}

Revision as of 19:27, 17 January 2024

/* CSS placed here will be applied to all skins */


.note {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}


.note-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;

    /* other styles remain the same */
}

.note-reminder {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.note-warn {
color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    /* other styles remain the same */
}

.note-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}