Improved markdown styles based on example

stable
Xavier Julián 2014-08-27 15:15:16 +02:00
parent e55899bb91
commit 2c85564809
1 changed files with 24 additions and 2 deletions

View File

@ -18,24 +18,46 @@
ul, ul,
ol { ol {
list-style-position: inside; list-style-position: inside;
margin-left: 1rem;
} }
ul { ul {
list-style-type: disc; list-style-type: disc;
} }
dl {
dt {
font-size: 1em;
font-style: italic;
font-weight: bold;
margin-top: 16px;
padding: 0;
}
dd {
margin-bottom: 16px;
padding: 0 16px;
}
}
a { a {
color: $green-taiga; color: $green-taiga;
&:hover { &:hover {
color: $fresh-taiga; color: $fresh-taiga;
} }
} }
pre { p {
margin-bottom: 1rem;
}
pre,
code {
background: $whitish; background: $whitish;
direction: ltr; direction: ltr;
font-family: 'courier new', 'monospace'; font-family: 'courier new', 'monospace';
padding: 1rem; margin-bottom: 1rem;
unicode-bidi: embed; unicode-bidi: embed;
white-space: pre; white-space: pre;
} }
pre {
line-height: 135%;
padding: .5rem;
}
table { table {
border: $gray-light 1px solid; border: $gray-light 1px solid;
margin-bottom: 1rem; margin-bottom: 1rem;