Difference between revisions of "MediaWiki:Geshi.css"

Line 8: Line 8:
 
   padding: 5px 10px;
 
   padding: 5px 10px;
 
   word-wrap: normal;
 
   word-wrap: normal;
 +
  font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
 +
  font-size: 12px;
 +
}
 +
 +
span.mw-geshi {
 +
  background: #f5f5f5;
 +
  border: 1px solid #ccc;
 +
  border-radius: 3px;
 
   font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
 
   font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
 
}
 
}

Revision as of 18:08, 20 July 2015

/* CSS placed here will be applied to GeSHi syntax highlighting */

div.mw-geshi {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 3px;
  overflow-x: auto;
  padding: 5px 10px;
  word-wrap: normal;
  font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
  font-size: 12px;
}

span.mw-geshi {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
}