summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-09 07:48:35 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-09 07:48:35 +0000
commit4b277a7e3e3c3c52513df0b6553676cd36de5214 (patch)
tree2ea59833183519cfd2150d58ef286eab08d1ebed /themes
parente2153365cf0a8cfa8aed4424d5b42875a3c575ce (diff)
downloadbrdo-4b277a7e3e3c3c52513df0b6553676cd36de5214.tar.gz
brdo-4b277a7e3e3c3c52513df0b6553676cd36de5214.tar.bz2
#827528 by tlattimore, ipwa, reglogge, eugene.samoylenko, tim.plunkett, jensimmons, rschwab, amateescu: Fixed No styling for PRE, CODE tags in Bartik
Diffstat (limited to 'themes')
-rw-r--r--themes/bartik/css/style.css52
1 files changed, 52 insertions, 0 deletions
diff --git a/themes/bartik/css/style.css b/themes/bartik/css/style.css
index b31fb63aa..faefdffd4 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 ------------------ */