MediaWiki:Geshi.css: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
second test.
source background color not as dark.
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to GeSHi syntax highlighting */
/* CSS placed here will be applied to GeSHi syntax highlighting */
.cpp.source-cpp
 
.mw-geshi
{
{
   white-space: nowrap;
   padding: 3px;
  border: 1px dotted #a0a0a0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 110%;
  background-color: #333333;
   margin: 0;
   margin: 0;
   line-height: 110%;
   border-width: 0;
   padding: 0;
  background-color: #f8f8f8;
   color: #0000bb;
  font: normal normal 1.2em monospace;
}
 
pre.de1, pre.de2
{
   margin: 0;
}
 
@media screen
{
  pre.de1, pre.de2
   {
    overflow: auto;
    max-height: 36em;
  }
}
}

Latest revision as of 23:46, 4 October 2012

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

.mw-geshi
{
  padding: 3px;
  margin: 0;
  border-width: 0;
  background-color: #f8f8f8;
  font: normal normal 1.2em monospace;
}

pre.de1, pre.de2
{
  margin: 0;
}

@media screen
{
  pre.de1, pre.de2
  {
    overflow: auto;
    max-height: 36em;
  }
}