132 lines
1.6 KiB
SCSS
132 lines
1.6 KiB
SCSS
.editor {
|
|
font-weight: 400;
|
|
font-size: 1em;
|
|
line-height: 1.5em;
|
|
width: 100%;
|
|
color: #1b2631;
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-weight: 500;
|
|
|
|
.anchor {
|
|
visibility: hidden;
|
|
color: #dedede;
|
|
padding-left: .25em;
|
|
}
|
|
|
|
&:hover {
|
|
.anchor {
|
|
visibility: visible;
|
|
|
|
&:hover {
|
|
color: #cdcdcd;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
h1:first-of-type {
|
|
.placeholder {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
p:first-of-type {
|
|
.placeholder {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
margin: 1em .1em;
|
|
padding-left: 1em;
|
|
|
|
ul,
|
|
ol {
|
|
margin: .1em;
|
|
}
|
|
}
|
|
|
|
p {
|
|
position: relative;
|
|
}
|
|
|
|
li p {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
.todoList {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
|
|
.todoList {
|
|
padding-left: 1em;
|
|
}
|
|
}
|
|
|
|
.todo {
|
|
span:last-child:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 3px solid #efefef;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
tr {
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
th {
|
|
font-weight: bold;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 5px 20px 5px 0;
|
|
}
|
|
}
|
|
|
|
.readOnly {
|
|
cursor: default;
|
|
}
|
|
|
|
.title {
|
|
position: relative;
|
|
}
|
|
|
|
.placeholder {
|
|
position: absolute;
|
|
top: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
color: #B1BECC;
|
|
}
|
|
|
|
@media all and (max-width: 2000px) and (min-width: 960px) {
|
|
.container {
|
|
// margin-top: 48px;
|
|
font-size: 1.1em;
|
|
}
|
|
}
|
|
|
|
@media all and (max-width: 960px) {
|
|
.container {
|
|
font-size: 0.9em;
|
|
}
|
|
}
|