2018-09-05 14:22:04 +00:00
|
|
|
@import 'variables';
|
|
|
|
|
|
|
|
.markdown {
|
2019-06-12 15:27:46 +00:00
|
|
|
line-height: 1.6;
|
2018-09-24 15:03:23 +00:00
|
|
|
|
2018-09-17 13:09:51 +00:00
|
|
|
h1, h2, h3, h4, h5 {
|
2019-06-12 15:27:46 +00:00
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1;
|
2019-06-13 09:34:34 +00:00
|
|
|
margin-top: 1.5em;
|
|
|
|
margin-bottom: $padding-16;
|
2019-05-23 14:30:26 +00:00
|
|
|
}
|
2019-04-22 17:17:39 +00:00
|
|
|
|
2019-05-23 14:30:26 +00:00
|
|
|
// remove padding at the beginning of page
|
|
|
|
> :first-child {
|
|
|
|
margin-top: 0;
|
2018-09-17 13:09:51 +00:00
|
|
|
}
|
2018-09-17 23:35:54 +00:00
|
|
|
|
|
|
|
b, optgroup, strong {
|
2019-06-10 15:09:43 +00:00
|
|
|
font-weight: bolder;
|
2018-09-17 23:35:54 +00:00
|
|
|
}
|
2018-09-17 13:09:51 +00:00
|
|
|
|
2018-09-05 14:22:04 +00:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-11 11:40:50 +00:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-09-05 14:22:04 +00:00
|
|
|
code {
|
2018-09-13 12:54:04 +00:00
|
|
|
padding: 0 $padding-4;
|
2019-06-19 11:58:46 +00:00
|
|
|
background: $gray-200;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
font-size: .875em;
|
2018-09-05 14:22:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: $padding-16;
|
|
|
|
background: $gray-100;
|
2019-06-19 11:58:46 +00:00
|
|
|
border-radius: $border-radius;
|
2018-09-25 22:12:56 +00:00
|
|
|
overflow-x: auto;
|
2019-05-05 00:24:25 +00:00
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
2018-09-05 14:22:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2019-06-12 15:27:46 +00:00
|
|
|
margin: $padding-16 0;
|
2019-06-19 11:58:46 +00:00
|
|
|
padding: $padding-4 ($padding-16 - $padding-4); //to keep total left space 16dp
|
|
|
|
|
|
|
|
border-left: $padding-4 solid $gray-200;
|
|
|
|
border-radius: $border-radius;
|
2018-09-05 14:22:04 +00:00
|
|
|
|
|
|
|
:first-child { margin-top: 0; }
|
|
|
|
:last-child { margin-bottom: 0; }
|
|
|
|
}
|
2018-09-24 15:03:23 +00:00
|
|
|
|
2019-03-25 18:47:21 +00:00
|
|
|
table {
|
2019-08-05 01:58:57 +00:00
|
|
|
overflow: auto;
|
|
|
|
display: block;
|
2019-03-25 18:47:21 +00:00
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
2019-06-12 15:27:46 +00:00
|
|
|
margin-top: $padding-16;
|
|
|
|
margin-bottom: $padding-16;
|
2019-03-25 18:47:21 +00:00
|
|
|
|
|
|
|
tr th, tr td {
|
|
|
|
padding: $padding-8 $padding-16;
|
|
|
|
line-height: 1;
|
2019-06-12 15:27:46 +00:00
|
|
|
border: $padding-1 solid $gray-200;
|
2019-03-25 18:47:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(2n) {
|
|
|
|
background: $gray-100;
|
|
|
|
}
|
2018-09-24 15:03:23 +00:00
|
|
|
}
|
2019-05-23 14:30:26 +00:00
|
|
|
|
|
|
|
hr {
|
|
|
|
height: $padding-1;
|
|
|
|
border: none;
|
|
|
|
background: $gray-200;
|
|
|
|
}
|
2019-06-18 20:56:43 +00:00
|
|
|
|
|
|
|
ul, ol {
|
|
|
|
padding-left: $padding-16 * 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
// padding-left: $padding-16;
|
|
|
|
dt {
|
|
|
|
font-weight: bolder;
|
|
|
|
margin-top: $padding-16;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin-left: $padding-16 * 2;
|
|
|
|
}
|
|
|
|
}
|
2019-05-04 13:57:37 +00:00
|
|
|
}
|