lib/assets/stylesheets/tao/ui/code.scss in tao_ui-0.1.3 vs lib/assets/stylesheets/tao/ui/code.scss in tao_ui-0.2.0

- old
+ new

@@ -1,56 +1,2 @@ @import 'tao/ui/globals'; - -// Inline and block code styles -code, -kbd, -pre, -samp { - font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; -} - -code { - padding: 0.2em 0.4em; - font-size: 85%; - background-color: $lighter-grey-bg-color; - border-radius: $border-radius; - word-wrap: break-word; - - a > & { - padding: 0; - color: inherit; - background-color: inherit; - } -} - -kbd { - padding: 0.2em 0.4em; - font-size: 85%; - background-color: $lighter-grey-bg-color; - border-radius: $border-radius; - - kbd { - padding: 0; - font-size: 100%; - } -} - -pre { - display: block; - margin-top: 0; - margin-bottom: 1em; - padding: 1.5em; - font-size: 85%; - background-color: $lighter-grey-bg-color; - overflow: auto; - border-radius: $border-radius; - white-space: pre-wrap; - - code { - padding: 0; - font-size: inherit; - color: inherit; - background-color: transparent; - border-radius: 0; - word-wrap: normal; - } -} +@import 'tao/ui/shared/code';