Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git
/*
 * Copyright (c) 2015 Karl Tauber <karl at jformdesigner dot com>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *  o Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 *  o Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

.markdown-editor {
	-fx-font-size: 14px;
}


/*---- headers ----*/

.markdown-editor .h1 { -fx-font-size: 2em; }
.markdown-editor .h2 { -fx-font-size: 1.75em; }
.markdown-editor .h3 { -fx-font-size: 1.5em; }
.markdown-editor .h4 { -fx-font-size: 1.25em; }
.markdown-editor .h5 { -fx-font-size: 1.1em; }
.markdown-editor .h6 { -fx-font-size: 1em; }

.markdown-editor .h1,
.markdown-editor .h2,
.markdown-editor .h3,
.markdown-editor .h4,
.markdown-editor .h5,
.markdown-editor .h6 {
	-fx-font-weight: bold;
	-fx-fill: derive(crimson, -20%);
}


/*---- inlines ----*/

.markdown-editor .strong {
	-fx-font-weight: bold;
}

.markdown-editor .em {
	-fx-font-style: italic;
}

.markdown-editor .del {
	-fx-strikethrough: true;
}

.markdown-editor .a {
	-fx-fill: #4183C4 !important;
}

.markdown-editor .img {
	-fx-fill: #4183C4 !important;
}

.markdown-editor .code {
	-fx-font-family: monospace;
	-fx-fill: #090 !important;
}


/*---- blocks ----*/

.markdown-editor .pre {
	-fx-font-family: monospace;
	-fx-fill: #060 !important;
}

.markdown-editor .blockquote {
	-fx-fill: #777;
}


/*---- lists ----*/

.markdown-editor .ul {
}

.markdown-editor .ol {
}

.markdown-editor .li {
	-fx-fill: #444;
}

.markdown-editor .dl {
}

.markdown-editor .dt {
	-fx-font-weight: bold;
	-fx-font-style: italic;
}

.markdown-editor .dd {
	-fx-fill: #444;
}


/*---- table ----*/

.markdown-editor .table {
	-fx-font-family: monospace;
}

.markdown-editor .thead {
}

.markdown-editor .tbody {
}

.markdown-editor .caption {
}

.markdown-editor .th {
	-fx-font-weight: bold;
}

.markdown-editor .tr {
}

.markdown-editor .td {
}


/*---- misc ----*/

.markdown-editor .html {
	-fx-font-family: monospace;
	-fx-fill: derive(crimson, -50%);
}
.markdown-editor .monospace {
	-fx-font-family: monospace;
}