“MediaWiki:Gadget-code-prettify.css”的版本间的差异

来自萌娘共享
跳转至: 导航搜索
1个标签由机器人或全自动脚本执行的操作
1个标签由机器人或全自动脚本执行的操作
 
第4行: 第4行:
 
  * -------------------------------------------------------------------------
 
  * -------------------------------------------------------------------------
 
  */
 
  */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/code-prettify/MediaWiki:Gadget-code-prettify.css|user=[[U:AnnAngela]]|co-authors=|longId=2b957a9748bd20103fa337662c0f27cac182a533|shortId=2b957a9|summary=feat: Remove deprecated media types}}'; }  
+
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/code-prettify/MediaWiki:Gadget-code-prettify.css|user=[[U:AnnAngela]]|co-authors=|longId=2b957a9748bd20103fa337662c0f27cac182a533|shortId=2b957a97|summary=feat: Remove deprecated media types}}'; }  
  
 
/* <pre> */
 
/* <pre> */

2024年4月16日 (二) 08:58的最新版本

/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/code-prettify/MediaWiki:Gadget-code-prettify.css|user=[[U:AnnAngela]]|co-authors=|longId=2b957a9748bd20103fa337662c0f27cac182a533|shortId=2b957a97|summary=feat: Remove deprecated media types}}'; } 

/* <pre> */

.pln{
    color:#000;
}

@media screen{
    .str{
        color:#080;
    }

    .kwd{
        color:#008;
    }

    .com{
        color:#800;
    }

    .typ{
        color:#606;
    }

    .lit{
        color:#066;
    }

    .pun,
    .opn,
    .clo{
        color:#660;
    }

    .tag{
        color:#008;
    }

    .atn{
        color:#606;
    }

    .atv{
        color:#080;
    }

    .dec,
    .var{
        color:#606;
    }

    .fun{
        color:red;
    }
}

@media print{
    .str{
        color:#060;
    }

    .kwd{
        color:#006;
        font-weight:bold;
    }

    .com{
        color:#600;
        font-style:italic;
    }

    .typ{
        color:#404;
        font-weight:bold;
    }

    .lit{
        color:#044;
    }

    .pun,
    .opn,
    .clo{
        color:#440;
    }

    .tag{
        color:#006;
        font-weight:bold;
    }

    .atn{
        color:#404;
    }

    .atv{
        color:#060;
    }
}

pre.prettyprint{
    padding:2px;
    border:1px solid #888;
}

ol.linenums{
    margin-top:0;
    margin-bottom:0;
}

li.L1,
li.L3,
li.L5,
li.L7,
li.L9{
    background:#EEE;
}

li.linenums-active{
    background-color:#FFF8C5;
    box-shadow:inset 2px 0 0 #D4A72C66;
}
.skin-minerva pre.prettyprint{
    white-space:pre;
    overflow-x:auto;
}

.skin-minerva pre.prettyprint li{
    margin-bottom:0;
}

.skin-minerva ol.linenums{
    width:-moz-max-content;
    width:max-content;
    min-width:100%;
} 

/* </pre> */