MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 42: Line 42:
}
}


/* 4. LEAF BULLETS FOR LISTS */
/* 4. LEAF BULLETS FOR LISTS (UNICODE VERSION) */
/* This removes the default black dots and adds the Leaf emoji */
body.mediawiki .pi-data-value ul {
body.mediawiki .pi-data-value ul {
     list-style: none !important;  
     list-style: none !important;  
Line 51: Line 50:


body.mediawiki .pi-data-value li {
body.mediawiki .pi-data-value li {
     padding-left: 1.5em !important;
     padding-left: 1.8em !important; /* Extra space for the leaf */
     position: relative !important;
     position: relative !important;
     font-size: 11px !important;
     font-size: 11px !important;
     line-height: 1.6 !important;
     line-height: 1.6 !important;
}
body.mediawiki .pi-data-value li::before {
    /* This is the hexadecimal code for the 🍃 emoji */
    content: "\1F343" !important;
    position: absolute !important;
    left: 0 !important;
    font-size: 12px !important; /* Makes the leaf slightly larger */
    top: -2px !important; /* Adjusts vertical alignment */
}
}