MediaWiki:Geshi.css: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Attempt to remove border from source boxes.
source background color not as dark.
 
(30 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 */


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


div.mw-geshi {
pre.de1, pre.de2
   padding: 1em;  
{
   margin: 1em 0;
   margin: 0;
   border: 1px dashed #2f6fab;
}
  background-color: #f9f9f9;
 
@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;
  }
}