From 46671eea66b24c73c9718fd239aeedba3133b614 Mon Sep 17 00:00:00 2001 From: zPlus <--> Date: Sun, 25 Dec 2016 09:46:34 +0100 Subject: [PATCH] Add CSS rules for tag --- css/reset.styl | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/css/reset.styl b/css/reset.styl index ee21ad7b..37bc0c2a 100644 --- a/css/reset.styl +++ b/css/reset.styl @@ -121,4 +121,38 @@ html, body line-height 1em margin 0 padding 0 - width 100% \ No newline at end of file + width 100% + +pre + background-color #f9f9f9 + font-family "Courier 10 Pitch", Courier, monospace + font-size 95% + line-height 140% + white-space pre + white-space pre-wrap + white-space -moz-pre-wrap + white-space -o-pre-wrap + + code + font-family Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace + font-size 95% + line-height 140% + white-space pre + white-space pre-wrap + white-space -moz-pre-wrap + white-space -o-pre-wrap + +/* Inline code */ +p > code + background-color #f5f5f5 + border-radius 3px + display inline-block + font-family Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace + font-size 85% + line-height 140% + margin 0 .2em + padding .2em + white-space pre + white-space pre-wrap + white-space -moz-pre-wrap + white-space -o-pre-wrap