1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

Fixes for code,pre

This commit is contained in:
Jenil Gogari 2017-03-31 22:08:01 -04:00
parent 60722fa138
commit 18a92b266a
4 changed files with 20 additions and 3 deletions

10
dist/chota.css vendored
View File

@ -105,15 +105,23 @@ code,
kbd { kbd {
padding: 0 0.4rem; padding: 0 0.4rem;
font-size: 90%; font-size: 90%;
white-space: nowrap; white-space: pre-wrap;
border-radius: 4px; border-radius: 4px;
color: #c62424;
padding: 0.2em 0.4em;
background-color: #f7f7f7;
} }
pre { pre {
background-color: #f7f7f7;
font-size: 1em; font-size: 1em;
padding: 1rem; padding: 1rem;
} }
pre code {
background: none;
}
abbr[title] { abbr[title] {
border-bottom: none; border-bottom: none;
text-decoration: underline; text-decoration: underline;

2
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -105,15 +105,23 @@ code,
kbd { kbd {
padding: 0 0.4rem; padding: 0 0.4rem;
font-size: 90%; font-size: 90%;
white-space: nowrap; white-space: pre-wrap;
border-radius: 4px; border-radius: 4px;
color: #c62424;
padding: 0.2em 0.4em;
background-color: #f7f7f7;
} }
pre { pre {
background-color: #f7f7f7;
font-size: 1em; font-size: 1em;
padding: 1rem; padding: 1rem;
} }
pre code {
background: none;
}
abbr[title] { abbr[title] {
border-bottom: none; border-bottom: none;
text-decoration: underline; text-decoration: underline;

View File

@ -210,6 +210,7 @@
P Q R S T U V W X Y Z [ \ ] ^ _ P Q R S T U V W X Y Z [ \ ] ^ _
` a b c d e f g h i j k l m n o ` a b c d e f g h i j k l m n o
p q r s t u v w x y z { | } ~ </pre> p q r s t u v w x y z { | } ~ </pre>
<pre><code>&#x3C;h2&#x3E;Pre-formatted text&#x3C;/h2&#x3E;</code></pre>
</div> </div>
<footer> <footer>
<p><a href="#top">[Top]</a></p> <p><a href="#top">[Top]</a></p>