Difference between revisions of "MediaWiki:Geshi.css"

 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
   background: #f5f5f5;
 
   background: #f5f5f5;
 
   border: 1px solid #ccc;
 
   border: 1px solid #ccc;
 +
  border-left: 6px solid #558abb;
 
   border-radius: 3px;
 
   border-radius: 3px;
 
   overflow-x: auto;
 
   overflow-x: auto;
Line 9: Line 10:
 
   word-wrap: normal;
 
   word-wrap: normal;
 
   font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
 
   font-family: Consolas,Menlo,"Liberation Mono",Courier,monospace;
 +
}
 +
 +
span.mw-geshi {
 +
  background: #f5f5f5;
 +
  border: 1px solid #ccc;
 +
  border-radius: 3px;
 +
  padding: 1px 5px;
 
}
 
}

Latest revision as of 22:48, 2 August 2015

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

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

span.mw-geshi {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 1px 5px;
}