No edit summary
No edit summary
Line 8: Line 8:
     line-height: 1.2
     line-height: 1.2
}
}
.mw-highlight .kwd {
/* Make Ada keywords bold */
.mw-highlight pre code {
    font-weight: normal; /* Ensures base text is normal */
}
 
.mw-highlight pre .kw {
    font-weight: bold !important; /* Try if GeSHi assigns 'kw' class */
}
 
/* Apply bold to all uppercase words (Ada keywords are often uppercase) */
.mw-highlight pre code {
    font-weight: normal;
}
 
.mw-highlight pre code:before,
.mw-highlight pre code:after {
    font-weight: bold;
}
 
/* Alternative: Apply bold to common Ada keywords if no class is assigned */
.mw-highlight pre {
    font-weight: normal;
}
 
.mw-highlight pre:before, .mw-highlight pre:after {
    content: "";
     font-weight: bold;
     font-weight: bold;
}
}
/* Target specific Ada keywords manually */
.mw-highlight pre {
    font-weight: normal;
}
.mw-highlight pre:before, .mw-highlight pre:after {
    content: "";
}
.mw-highlight pre:before {
.mw-highlight pre:before {
     content: "with procedure function package begin end is declare loop if then else elsif case when while for use type renames return record ";
     content: "procedure function package begin end is declare loop if then else elsif case when while for use type renames return record ";
     font-weight: bold;
     font-weight: bold;
}
}

Revision as of 17:35, 2 March 2025

/* CSS placed here will be applied to all skins */
.mw-highlight pre {
    background-color: black !important;
    color: lime !important;
    tab-size:10;
    font-family:'Nimbus Mono L';
    font-size:12px;
    line-height: 1.2
}
/* Make Ada keywords bold */
.mw-highlight pre code {
    font-weight: normal; /* Ensures base text is normal */
}

.mw-highlight pre .kw {
    font-weight: bold !important; /* Try if GeSHi assigns 'kw' class */
}

/* Apply bold to all uppercase words (Ada keywords are often uppercase) */
.mw-highlight pre code {
    font-weight: normal;
}

.mw-highlight pre code:before, 
.mw-highlight pre code:after {
    font-weight: bold;
}

/* Alternative: Apply bold to common Ada keywords if no class is assigned */
.mw-highlight pre {
    font-weight: normal;
}

.mw-highlight pre:before, .mw-highlight pre:after {
    content: "";
    font-weight: bold;
}

/* Target specific Ada keywords manually */
.mw-highlight pre {
    font-weight: normal;
}

.mw-highlight pre:before, .mw-highlight pre:after {
    content: "";
}

.mw-highlight pre:before {
    content: "procedure function package begin end is declare loop if then else elsif case when while for use type renames return record ";
    font-weight: bold;
}