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

来自萌娘共享
跳转至: 导航搜索
1个标签由机器人或全自动脚本执行的操作
(代码变动:baeaa605 - fix: Fix prism (#462) by U:Bhsd
1个标签由机器人或全自动脚本执行的操作
第4行: 第4行:
 
  * -------------------------------------------------------------------------
 
  * -------------------------------------------------------------------------
 
  */
 
  */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/prism/MediaWiki:Gadget-prism.css|user=[[U:AnnAngela]]|co-authors=|longId=7ac8caf238d1a8cf3c419eae35391df8a5833cb1|shortId=7ac8caf2|summary=fix: Fix line numbers and add prism-prettyprint-container class to pre elements in MediaWiki:Gadget-prism.js and MediaWiki:Gadget-prism.css}}'; }  
+
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/prism/MediaWiki:Gadget-prism.css|user=[[U:Bhsd]]|co-authors=|longId=baeaa60578d7f6f126b066af3261d851e88bc814|shortId=baeaa605|summary=fix: Fix prism (#462)}}'; }  
  
 
/* <pre> */
 
/* <pre> */
第10行: 第10行:
 
pre.prism-prettyprint-container{
 
pre.prism-prettyprint-container{
 
     white-space:pre-wrap !important;
 
     white-space:pre-wrap !important;
 +
}
 +
 +
.line-numbers span.line-numbers-rows{
 +
    pointer-events:all;
 +
}
 +
 +
.line-numbers-rows > span:hover{
 +
    background-color:rgb(128 128 128 / 20%);
 
}  
 
}  
  
 
/* </pre> */
 
/* </pre> */

2024年4月22日 (一) 17:07的版本

/**
 * -------------------------------------------------------------------------
 * !!! DON'T MODIFY THIS PAGE MANUALLY, YOUR CHANGES WILL BE OVERWRITTEN !!!
 * -------------------------------------------------------------------------
 */
._addText { content: '{{GHIACode|page=GHIA:MoegirlPediaInterfaceCodes/blob/master/src/gadgets/prism/MediaWiki:Gadget-prism.css|user=[[U:Bhsd]]|co-authors=|longId=baeaa60578d7f6f126b066af3261d851e88bc814|shortId=baeaa605|summary=fix: Fix prism (#462)}}'; } 

/* <pre> */

pre.prism-prettyprint-container{
    white-space:pre-wrap !important;
}

.line-numbers span.line-numbers-rows{
    pointer-events:all;
}

.line-numbers-rows > span:hover{
    background-color:rgb(128 128 128 / 20%);
} 

/* </pre> */