2018-08-09 04:07:15 +00:00
|
|
|
/* THEME SPECIFIC STYLES */
|
|
|
|
|
|
|
|
.contents {
|
2018-08-11 01:00:20 +00:00
|
|
|
color: mc('grey', '800');
|
2018-11-18 04:03:58 +00:00
|
|
|
padding-bottom: 50px;
|
2018-08-11 01:00:20 +00:00
|
|
|
|
2018-12-02 04:03:14 +00:00
|
|
|
@at-root .theme--dark & {
|
|
|
|
color: mc('grey', '300');
|
2018-12-30 03:12:52 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: mc('blue', '300');
|
|
|
|
}
|
2018-12-02 04:03:14 +00:00
|
|
|
}
|
|
|
|
|
2018-11-24 02:10:24 +00:00
|
|
|
// ---------------------------------
|
|
|
|
// HEADERS
|
|
|
|
// ---------------------------------
|
|
|
|
|
2018-09-17 04:36:44 +00:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.toc-anchor {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc-anchor {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 1rem;
|
|
|
|
bottom: .5rem;
|
|
|
|
font-size: 1.25rem;
|
|
|
|
text-decoration: none;
|
|
|
|
color: mc('grey', '500');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-09 04:07:15 +00:00
|
|
|
h1 {
|
2018-09-16 04:35:03 +00:00
|
|
|
padding-left: 24px;
|
2018-08-09 04:07:15 +00:00
|
|
|
color: mc('blue', '800');
|
2018-11-18 04:03:58 +00:00
|
|
|
margin-top: 2rem;
|
2018-08-09 04:07:15 +00:00
|
|
|
position: relative;
|
|
|
|
|
2018-12-02 04:03:14 +00:00
|
|
|
@at-root .theme--dark & {
|
2018-12-30 03:12:52 +00:00
|
|
|
color: mc('grey', '400');
|
2018-12-02 04:03:14 +00:00
|
|
|
}
|
|
|
|
|
2018-08-09 04:07:15 +00:00
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
2018-08-11 01:00:20 +00:00
|
|
|
background: linear-gradient(to right, mc('theme', 'primary'), rgba(mc('theme', 'primary'), 0));
|
2018-12-30 03:12:52 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background: linear-gradient(to right, mc('grey', '600'), rgba(mc('grey', '600'), 0));
|
|
|
|
}
|
2018-08-09 04:07:15 +00:00
|
|
|
}
|
|
|
|
|
2018-09-16 04:35:03 +00:00
|
|
|
& + h2, & + h3 {
|
2018-08-09 04:07:15 +00:00
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h2 {
|
2018-09-16 04:35:03 +00:00
|
|
|
margin-left: 24px;
|
2018-08-09 04:07:15 +00:00
|
|
|
padding: 8px 0 0 0;
|
|
|
|
color: mc('grey', '800');
|
|
|
|
position: relative;
|
2019-01-18 20:58:39 +00:00
|
|
|
margin-top: 1rem;
|
2018-08-09 04:07:15 +00:00
|
|
|
|
2018-12-02 04:03:14 +00:00
|
|
|
@at-root .theme--dark & {
|
|
|
|
color: mc('grey', '500');
|
|
|
|
}
|
|
|
|
|
2018-08-09 04:07:15 +00:00
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background: linear-gradient(to right, mc('grey', '700'), rgba(mc('grey', '700'), 0));
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background: linear-gradient(to right, mc('grey', '300'), rgba(mc('grey', '700'), 0));
|
|
|
|
}
|
2018-08-09 04:07:15 +00:00
|
|
|
}
|
2018-09-16 04:35:03 +00:00
|
|
|
|
|
|
|
& + h3 {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
margin-left: 24px;
|
|
|
|
padding: 8px 0 0 0;
|
|
|
|
color: mc('grey', '700');
|
|
|
|
position: relative;
|
|
|
|
|
2018-12-02 04:03:14 +00:00
|
|
|
@at-root .theme--dark & {
|
|
|
|
color: mc('grey', '600');
|
|
|
|
}
|
|
|
|
|
2018-09-16 04:35:03 +00:00
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background: linear-gradient(to right, mc('grey', '500'), rgba(mc('grey', '500'), 0));
|
|
|
|
}
|
2018-08-09 04:07:15 +00:00
|
|
|
}
|
|
|
|
|
2018-11-24 02:10:24 +00:00
|
|
|
// ---------------------------------
|
|
|
|
// PARAGRAPHS
|
|
|
|
// ---------------------------------
|
|
|
|
|
2018-08-09 04:07:15 +00:00
|
|
|
p {
|
2018-09-16 04:35:03 +00:00
|
|
|
padding: 1rem 24px 0 24px;
|
2018-08-09 04:07:15 +00:00
|
|
|
margin: 0;
|
2018-08-11 01:00:20 +00:00
|
|
|
text-align: justify;
|
2018-08-09 04:07:15 +00:00
|
|
|
}
|
2018-09-16 04:35:03 +00:00
|
|
|
|
2018-11-25 06:28:20 +00:00
|
|
|
hr {
|
|
|
|
margin: 1rem;
|
|
|
|
height: 1px;
|
|
|
|
border: none;
|
|
|
|
background-color: mc('grey', '400');
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background-color: mc('grey', '700');
|
|
|
|
}
|
2018-11-25 06:28:20 +00:00
|
|
|
}
|
|
|
|
|
2019-01-18 20:58:39 +00:00
|
|
|
.emoji {
|
|
|
|
height: 1.25em;
|
|
|
|
margin: 0 1px -4px;
|
|
|
|
}
|
|
|
|
|
2018-11-24 02:10:24 +00:00
|
|
|
blockquote {
|
|
|
|
padding: 0 0 1rem 0;
|
|
|
|
border: 1px solid mc('blue', '500');
|
|
|
|
border-radius: .5rem;
|
|
|
|
margin: 1rem;
|
|
|
|
|
2019-01-19 21:57:25 +00:00
|
|
|
> p:first-child .emoji {
|
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
|
|
|
|
2018-11-24 02:10:24 +00:00
|
|
|
&.is-info {
|
|
|
|
background-color: mc('blue', '50');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('blue', '50'), lighten(mc('blue', '50'), 5%));
|
|
|
|
border-color: mc('blue', '100');
|
|
|
|
box-shadow: 0 0 2px 0 mc('blue', '100');
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: mc('blue', '50');
|
|
|
|
color: mc('blue', '800');
|
|
|
|
}
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background-color: mc('blue', '900');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('blue', '900'), darken(mc('blue', '900'), 5%));
|
|
|
|
border-color: mc('blue', '500');
|
|
|
|
box-shadow: 0 0 2px 0 mc('grey', '900');
|
|
|
|
}
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
&.is-warning {
|
|
|
|
background-color: mc('orange', '50');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('orange', '50'), lighten(mc('orange', '50'), 5%));
|
|
|
|
border-color: mc('orange', '100');
|
|
|
|
box-shadow: 0 0 2px 0 mc('orange', '100');
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: mc('orange', '50');
|
|
|
|
color: mc('orange', '800');
|
|
|
|
}
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background-color: mc('orange', '900');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('orange', '900'), darken(mc('orange', '900'), 5%));
|
|
|
|
border-color: mc('orange', '500');
|
|
|
|
box-shadow: 0 0 2px 0 mc('grey', '900');
|
|
|
|
}
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
&.is-danger {
|
|
|
|
background-color: mc('red', '50');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('red', '50'), lighten(mc('red', '50'), 5%));
|
|
|
|
border-color: mc('red', '100');
|
|
|
|
box-shadow: 0 0 2px 0 mc('red', '100');
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: mc('red', '50');
|
|
|
|
color: mc('red', '800');
|
|
|
|
}
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background-color: mc('red', '900');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('red', '900'), darken(mc('red', '900'), 5%));
|
|
|
|
border-color: mc('red', '500');
|
|
|
|
box-shadow: 0 0 2px 0 mc('grey', '900');
|
|
|
|
}
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
&.is-success {
|
|
|
|
background-color: mc('green', '50');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('green', '50'), lighten(mc('green', '50'), 5%));
|
|
|
|
border-color: mc('green', '100');
|
|
|
|
box-shadow: 0 0 2px 0 mc('green', '100');
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: mc('green', '50');
|
|
|
|
color: mc('green', '800');
|
|
|
|
}
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background-color: mc('green', '900');
|
|
|
|
background-image: radial-gradient(ellipse at top, mc('green', '900'), darken(mc('green', '900'), 5%));
|
|
|
|
border-color: mc('green', '500');
|
|
|
|
box-shadow: 0 0 2px 0 mc('grey', '900');
|
|
|
|
}
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-18 20:58:39 +00:00
|
|
|
// ---------------------------------
|
|
|
|
// LISTS
|
|
|
|
// ---------------------------------
|
|
|
|
|
|
|
|
ol, ul {
|
|
|
|
padding: 1rem 24px 0 24px;
|
|
|
|
list-style-position: inside;
|
|
|
|
|
|
|
|
li + li {
|
|
|
|
margin-top: .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
> li::before {
|
|
|
|
content: '\25b8';
|
|
|
|
color: mc('grey', '600');
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.35rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-24 02:10:24 +00:00
|
|
|
// ---------------------------------
|
|
|
|
// CODE
|
|
|
|
// ---------------------------------
|
|
|
|
|
2018-09-16 04:35:03 +00:00
|
|
|
code {
|
2018-11-24 02:10:24 +00:00
|
|
|
background-color: mc('indigo', '50');
|
2018-11-11 04:40:55 +00:00
|
|
|
padding: 0 5px;
|
2018-11-19 06:08:55 +00:00
|
|
|
color: mc('indigo', '800');
|
2018-09-16 04:35:03 +00:00
|
|
|
font-family: 'Source Code Pro', monospace;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1rem;
|
2018-11-11 04:40:55 +00:00
|
|
|
box-shadow: none;
|
2018-09-16 04:35:03 +00:00
|
|
|
|
|
|
|
&::before, &::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-17 02:30:24 +00:00
|
|
|
.prismjs{
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: initial;
|
|
|
|
background-color: mc('grey', '900');
|
|
|
|
padding: 1rem 1rem 1rem 3rem;
|
2018-09-16 04:35:03 +00:00
|
|
|
margin: 1rem 24px;
|
2018-09-17 02:30:24 +00:00
|
|
|
|
|
|
|
> code {
|
2018-11-11 04:40:55 +00:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
color: #FFF;
|
2018-09-17 02:30:24 +00:00
|
|
|
box-shadow: initial;
|
|
|
|
display: block;
|
|
|
|
font-size: .85rem;
|
|
|
|
font-family: 'Source Code Pro', monospace;
|
|
|
|
|
|
|
|
&:after, &:before {
|
|
|
|
content: initial;
|
|
|
|
letter-spacing: initial;
|
|
|
|
}
|
|
|
|
}
|
2018-09-16 04:35:03 +00:00
|
|
|
}
|
|
|
|
|
2018-11-24 02:10:24 +00:00
|
|
|
// ---------------------------------
|
|
|
|
// TASK LISTS
|
|
|
|
// ---------------------------------
|
|
|
|
|
|
|
|
.task-list-item {
|
|
|
|
position: relative;
|
2018-11-25 06:28:20 +00:00
|
|
|
list-style-type: none;
|
2018-11-24 02:10:24 +00:00
|
|
|
|
|
|
|
&-checkbox[disabled] {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
& + label {
|
2018-11-25 06:28:20 +00:00
|
|
|
padding-left: 1.5rem;
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& + label::before {
|
|
|
|
position: absolute;
|
2018-11-25 06:28:20 +00:00
|
|
|
left: 0;
|
2018-11-24 02:10:24 +00:00
|
|
|
top: 2px;
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
width: 1.1rem;
|
|
|
|
height: 1.1rem;
|
|
|
|
background-color: #FFF;
|
|
|
|
border: 1px solid mc('grey', '400');
|
|
|
|
border-radius: 2px;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: .8rem;
|
|
|
|
line-height: 1rem;
|
|
|
|
text-align: center;
|
2018-12-02 04:03:14 +00:00
|
|
|
|
|
|
|
@at-root .theme--dark & {
|
|
|
|
background-color: mc('grey', '900');
|
|
|
|
border-color: mc('grey', '700');
|
|
|
|
}
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[checked] + label::before {
|
|
|
|
content: '✓';
|
|
|
|
}
|
|
|
|
}
|
2018-11-25 06:28:20 +00:00
|
|
|
|
|
|
|
.contains-task-list {
|
|
|
|
padding: .5rem 0 0 1.5rem;
|
|
|
|
}
|
2018-11-24 02:10:24 +00:00
|
|
|
}
|
|
|
|
|
2019-01-19 21:57:25 +00:00
|
|
|
// ---------------------------------
|
|
|
|
// TABLES
|
|
|
|
// ---------------------------------
|
|
|
|
|
|
|
|
table {
|
|
|
|
margin: .5rem 1.75rem;
|
|
|
|
border-spacing: 0;
|
|
|
|
|
|
|
|
th {
|
|
|
|
padding: .75rem;
|
|
|
|
border-bottom: 2px solid mc('grey', '500');
|
|
|
|
color: mc('grey', '600');
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: .75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
border-bottom: 1px solid mc('grey', '200');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-09 04:07:15 +00:00
|
|
|
}
|