From 6d713bad51e8fd66f55c9832c47c49e4cec3dbc2 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 7 May 2013 02:09:05 +0200 Subject: Some css for highlighting of code --- public/css/sublab-2013041401.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'public') diff --git a/public/css/sublab-2013041401.css b/public/css/sublab-2013041401.css index a1dd9ce..c9027f3 100644 --- a/public/css/sublab-2013041401.css +++ b/public/css/sublab-2013041401.css @@ -233,6 +233,12 @@ p { line-height: 20px; } +pre { + margin: 5px 15px 5px 15px; + color: #eee; + line-height: 20px; +} + p.subtext { color: #ddd; line-height: 12px; @@ -451,3 +457,20 @@ img.img { .pagefooter { clear: both; } + +/* source highlighting */ +pre.hl { color:#eeeeee; background-color:#444444; } +.hl.num { color:#2928ff; } +.hl.esc { color:#ff00ff; } +.hl.str { color:#ff0000; } +.hl.dstr { color:#818100; } +.hl.slc { color:#838183; font-style:italic; } +.hl.com { color:#838183; font-style:italic; } +.hl.dir { color:#008200; } +.hl.sym { color:#000000; } +.hl.line { color:#555555; } +.hl.mark { background-color:#ffffbb; } +.hl.kwa { color:#000000; font-weight:bold; } +.hl.kwb { color:#830000; } +.hl.kwc { color:#000000; font-weight:bold; } +.hl.kwd { color:#010181; } -- cgit v1.2.1