mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
111 lines
1.8 KiB
CSS
111 lines
1.8 KiB
CSS
:root {
|
|
font-size: 16px;
|
|
|
|
--tinymce-text-color: rgba(0, 0, 0, 0.87);
|
|
--tinymce-primary-color: #ed4747;
|
|
--tinymce-divider-color: rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
html {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
box-sizing: border-box;
|
|
|
|
padding: 1rem;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
body {
|
|
margin: 0 auto;
|
|
max-width: 33em;
|
|
max-width: 60ch;
|
|
|
|
font-size: 13.8px;
|
|
font-family: "Open Sans", sans-serif;
|
|
line-height: 1.45;
|
|
letter-spacing: 0.25px;
|
|
|
|
color: var(--tinymce-text-color);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Europa", "Open Sans", sans-serif;
|
|
margin: 0;
|
|
line-height: 1.2;
|
|
font-weight: bold;
|
|
}
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
font-weight: bold;
|
|
color: var(--tinymce-primary-color);
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
margin: 0;
|
|
padding-left: 1.5em;
|
|
}
|
|
li + li {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
body * + * {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
table th,
|
|
table td {
|
|
border: 1px solid var(--tinymce-divider-color);
|
|
padding: 0.4rem;
|
|
}
|
|
figure {
|
|
display: table;
|
|
margin: 1rem auto;
|
|
}
|
|
figure figcaption {
|
|
color: #999;
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
text-align: center;
|
|
}
|
|
hr {
|
|
border-color: var(--tinymce-divider-color);
|
|
border-style: solid;
|
|
border-width: 1px 0 0 0;
|
|
}
|
|
code {
|
|
background-color: var(--tinymce-divider-color);
|
|
border-radius: 4px;
|
|
padding: 0.1rem 0.2rem;
|
|
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
|
}
|
|
pre {
|
|
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
|
|
}
|
|
.mce-content-body:not([dir="rtl"]) blockquote {
|
|
border-left: 2px solid var(--tinymce-divider-color);
|
|
margin-left: 1.5rem;
|
|
padding-left: 1rem;
|
|
}
|
|
.mce-content-body[dir="rtl"] blockquote {
|
|
border-right: 2px solid var(--tinymce-divider-color);
|
|
margin-right: 1.5rem;
|
|
padding-right: 1rem;
|
|
}
|