No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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-face {
    font-weight: bold !important; /* Try if GeSHi assigns 'kw' class */
  font-family: Glass_TTY_VT220;
  src: url('https://ada83.org/wiki/skins/Timeless/resources/fonts/Glass_TTY_VT220.ttf') format('truetype');
}
}


/* Apply bold to all uppercase words (Ada keywords are often uppercase) */
@font-face {
.mw-highlight pre code {
  font-family: decterm;
    font-weight: normal;
  src: url('https://ada83.org/wiki/skins/Timeless/resources/fonts/_decterm.ttf') format('truetype');
}
}


.mw-highlight pre code:before,
.mw-highlight-lang-ada pre {
.mw-highlight pre code:after {
     background-color: black;
     font-weight: bold;
     color: gold;
}
    tab-size:10;
 
     font-family:'decterm';
/* Alternative: Apply bold to common Ada keywords if no class is assigned */
     font-size:18px;
.mw-highlight pre {
    line-height: 1.2
     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 {
.mw-highlight-lang-ada pre .k {
     content: "procedure function package begin end is declare loop if then else elsif case when while for use type renames return record ";
     color: blue;font-weight: bold;
    font-weight: bold;
}
}

Latest revision as of 00:53, 4 March 2025

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

@font-face {
  font-family: Glass_TTY_VT220;
  src: url('https://ada83.org/wiki/skins/Timeless/resources/fonts/Glass_TTY_VT220.ttf') format('truetype');
}

@font-face {
  font-family: decterm;
  src: url('https://ada83.org/wiki/skins/Timeless/resources/fonts/_decterm.ttf') format('truetype');
}

.mw-highlight-lang-ada pre {
    background-color: black;
    color: gold;
    tab-size:10;
    font-family:'decterm';
    font-size:18px;
    line-height: 1.2
}

.mw-highlight-lang-ada pre .k {
    color: blue;font-weight: bold;
}