@import 'gitbook/fonts.css';
/*by 16soundsofsilence, yes this code is an absolute mess*/
:root {
--bg-color: white;
--side-bar-bg-color: #f5f7f9;
--control-text-color: #3b454e;
--primary-color: #15ac8e;
--primary-btn-border-color: #15ac8e;
--active-file-bg-color: #e6ecf1;
--active-file-text-color: inherit;
--active-file-border-color: #15ac8e;
--item-hover-text-color: #242a31;
--item-hover-bg-color: #f5f7f9;
--window-border: 1px solid #e6ecf1;
--select-text-font-color: white;
--select-text-bg-color: #11977d;
--md-char-color: #9daab6;
--heading-char-color: #9daab6;
--meta-content-color: #15ac8e;
--borders: #e6ecf1;
--table-border-color: #e6ecf1;
--boxes: #f5f7f9;
--boxes-darker: #d8e0e7;
--boxes-darker2: #bac2c9;
--boxes-darkest: #9daab6;
--drag-placeholder-color: #d8e0e7;
--text-color: #3b454e;
--heading-text-color: #242a31;
--light-text-color: #9daab6;
--light-text-color-darker: #74818d;
--codeboxes: #242a31;
--codeboxes-lighter: #1c375f;
--rawblock-edit-panel-bd: transparent;
--primary-color-darkest: #083d33;
--primary-color-darker2: #0d5748;
--primary-color-darker: #11977d;
--focus-ring-color: #15ac8e;
--danger-color: rgb(255, 70, 66);
--node-fill: #ececff;
--node-border: #ccccff;
--cluster-fill: #ffffde;
--cluster-border: #aaaa33;
--note-fill: #fff5ad;
--note-border: #aaaa33;
/*****************************/
--font-family: 'Source Code Pro', sans-serif;
--code-font-family: 'Source Code Pro';
--monospace: 'Source Code Pro';
}
html,
.form-control,
.modal {
font-size: 16px;
}
body {
background: var(--bg-color);
font-family: var(--font-family);
font-weight: 400;
color: #3b454e;
line-height: 1.6rem;
height: 100%;
}
#write {
font-size: 0.95rem;
max-width: 850px;
margin: 0 auto;
padding: 30px;
padding-bottom: 100px;
position: static;
width: 100%;
}
#write > ul:first-child,
#write > ol:first-child {
margin-top: 30px;
}
a {
color: var(--primary-color);
text-decoration: none !important;
transition-duration: 0.2s;
transition-property: color;
}
a:hover {
color: var(--primary-color-darker);
}
mark a, mark .md-content.md-url {
color: var(--primary-color-darker2);
}
mark a:hover {
color: var(--primary-color-darkest);
}
.ty-preferences a {
color: var(--primary-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
color: var(--heading-text-color);
cursor: text;
}
h1:hover a.anchor,
h2:hover a.anchor,
h3:hover a.anchor,
h4:hover a.anchor,
h5:hover a.anchor,
h6:hover a.anchor {
text-decoration: none;
}
h1 tt,
h1 code {
font-size: inherit;
}
h2 tt,
h2 code {
font-size: inherit;
}
h3 tt,
h3 code {
font-size: inherit;
}
h4 tt,
h4 code {
font-size: inherit;
}
h5 tt,
h5 code {
font-size: inherit;
}
h6 tt,
h6 code {
font-size: inherit;
}
h1 {
font-size: 1.9rem;
font-weight: 700;
line-height: 1.5;
margin-top: 3rem;
margin-bottom: 0.8rem;
padding-bottom: 0.2rem;
border-bottom: solid 1px var(--borders);
}
h2 {
font-size: 1.5rem;
font-weight: 700;
line-height: 1.5;
margin-top: 2.5rem;
margin-bottom: 0.5rem;
}
h3 {
font-size: 1.2rem;
font-weight: 700;
line-height: 1.5;
margin-top: 2rem;
margin-bottom: 0.5rem;
}
h4 {
font-size: 1rem;
font-weight: 700;
line-height: 1.5;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
}
h5 {
font-size: 0.9rem;
font-weight: 700;
line-height: 1.5;
margin-top: 1.3rem;
margin-bottom: 0.5rem;
}
h6 {
font-size: 0.9rem;
font-weight: 400;
line-height: 1.5;
margin-top: 1.3rem;
margin-bottom: 0.5rem;
}
#write > h1.md-focus:before,
#write > h2.md-focus:before,
#write > h3.md-focus:before,
#write > h4.md-focus:before,
#write > h5.md-focus:before,
#write > h6.md-focus:before {
color: var(--light-text-color);
border: none;
position: absolute;
font-size: 1rem;
font-weight: 700;
padding: 0px;
line-height: 1;
}
#write > h1.md-focus:before {
content: 'h1';
top: 1.1rem;
left: -1.75rem;
}
#write > h2.md-focus:before {
content: 'h2';
top: 0.6rem;
left: -1.75rem;
}
#write > h3.md-focus:before {
content: 'h3';
top: 0.4rem;
left: -1.75rem;
}
#write > h4.md-focus:before {
content: 'h4';
top: 0.3rem;
left: -1.75rem;
}
#write > h5.md-focus:before {
content: 'h5';
top: 0.2rem;
left: -1.75rem;
}
#write > h6.md-focus:before {
content: 'h6';
top: 0.2rem;
left: -1.75rem;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child,
blockquote h1,
blockquote h2,
blockquote h3,
blockquote h4,
blockquote h5,
blockquote h6 {
margin-top: 0rem;
}
p,
blockquote,
ul,
ol,
dl {
margin: 0.5rem 0rem 1.5rem 0rem;
}
li > ol,
li > ul {
margin: 0 0;
}
hr {
height: 2px;
padding: 0;
margin: 16px 0;
background-color: var(--borders);
border: 0 none;
overflow: hidden;
box-sizing: content-box;
}
li p.first {
display: inline-block;
}
ul,
ol {
padding-left: 30px;
}
ul:first-child,
ol:first-child {
margin-top: 0;
}
ul:last-child,
ol:last-child {
margin-bottom: 0;
}
.md-blockmeta {
color: var(--md-char-color);
}
mark {
background-color: var(--primary-color);
color: white;
padding: 0.2rem 0.4rem;
border-radius: 0.2rem;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}
/*BLOCKQUOTE*/
blockquote {
width: 100%;
background-color: var(--boxes);
border-left: 4px solid var(--primary-color);
border-radius: 0.3rem;
padding: 1rem;
}
blockquote blockquote {
padding-right: 0;
}
/*TABLE*/
table {
font-size: 0.875rem;
padding: 0;
margin: 1.5rem 0;
word-break: initial;
}
table tr {
border-top: 1px solid var(--borders);
border-bottom: 1px solid var(--borders);
margin: 0;
padding: 0;
}
table tr.md-end-block {
border-top: none;
}
table tbody tr:last-child {
border-bottom: none;
}
table tr th {
font-weight: bold;
border: none;
border-bottom: solid 2px var(--borders);
margin: 0;
padding: 10px 16px;
transition-duration: 0.3s;
transition-property: background-color;
}
table tr td {
border: none;
margin: 0;
padding: 10px 16px;
transition-duration: 0.3s;
transition-property: background-color;
}
#write table tr td:hover,
#write table tr th:hover {
background-color: var(--boxes);
}
table tr th:first-child,
table tr td:first-child {
margin-top: 0;
}
table tr th:last-child,
table tr td:last-child {
margin-bottom: 0;
}
/*OTHER TABLE THINGS*/
.ty-table-edit {
background-color: var(--boxes);
padding: 0.3rem;
border-radius: 0.3rem;
box-shadow: none;
transform: translateY(2.5rem);
transition-duration: 0.3s;
transition-property: opacity;
}
.ty-table-edit + .md-table {
margin-top: 3rem;
}
.ty-table-edit:active,
.ty-table-edit:focus {
box-shadow: none;
}
.popover,
.popover:active,
.popover:focus {
border: solid 1px var(--borders);
box-shadow: rgba(116, 129, 141, 0.1) 0px 3px 8px 0px;
border-radius: 0.3rem;
}
.popover .arrow {
border-bottom-color: var(--borders);
}
.md-grid-board a {
background-color: transparent;
border-color: var(--borders);
border-radius: 2px;
}
.md-grid-board .md-grid-ext {
background-color: var(--borders);
border-radius: 2px;
}
.md-grid-board tr[row='1'] .md-grid-ext {
background: none;
border-radius: 6px;
}
.md-grid-board tr[row='1'] .md-grid-ext a {
background-color: var(--boxes-darker2);
border-color: var(--boxes-darker2);
}
.md-grid-board tr[row='1'] td {
background-color: var(--bg-color);
border-color: var(--borders);
}
.md-grid-board a.md-active, .md-grid-board a:hover {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
.md-grid-board tr[row='1'] a.md-active, .md-grid-board tr[row='1'] a:hover {
background-color: var(--primary-color-darker);
border-color: var(--primary-color-darker);
}
#md-grid-width,
#md-grid-height {
border-radius: 0.3rem;
border-color: var(--borders);
transition-duration: 0.3s;
transition-property: border-color