From 4b277a7e3e3c3c52513df0b6553676cd36de5214 Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Thu, 9 Dec 2010 07:48:35 +0000 Subject: [PATCH] #827528 by tlattimore, ipwa, reglogge, eugene.samoylenko, tim.plunkett, jensimmons, rschwab, amateescu: Fixed No styling for PRE, CODE tags in Bartik --- themes/bartik/css/style.css | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/themes/bartik/css/style.css b/themes/bartik/css/style.css index b31fb63aacdd..faefdffd48b9 100644 --- a/themes/bartik/css/style.css +++ b/themes/bartik/css/style.css @@ -49,6 +49,58 @@ tr.odd { img { outline: 0; } +code, +pre, +kbd, +samp, +var { + padding: 0 0.4em; + font-size: 0.77em; + font-family: Menlo, Consolas, "Andale Mono", "Lucida Console", "Nimbus Mono L", "DejaVu Sans Mono", monospace, "Courier New"; +} +code { + background-color: #f2f2f2; + background-color: rgba(40, 40, 0, 0.06); +} +pre code, +pre kbd, +pre samp, +pre var, +kbd kbd, +kbd samp, +code var { + font-size: 100%; + background-color: transparent; +} +pre code, +pre samp, +pre var { + padding: 0; +} +.description code { + font-size: 1em; +} +kbd { + background-color: #f2f2f2; + border: 1px outset #575757; + margin: 0 3px; + color: #666; + display: inline-block; + padding: 0 6px; + -khtml-border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; +} +pre { + background-color: #f2f2f2; + background-color: rgba(40, 40, 0, 0.06); + margin: 10px 0px; + overflow: hidden; + padding: 15px; + white-space: pre-wrap; +} + /* ------------------ Fonts ------------------ */ -- GitLab