2017-08-20 23:34:26 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>{{title}}</title>
|
2017-09-01 17:34:24 +03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Amatic+SC" rel="stylesheet">
|
|
|
|
<style>
|
|
|
|
html {
|
|
|
|
font-family: "Apple Garamond", "Baskerville",
|
|
|
|
"Times New Roman", "Droid Serif", "Times",
|
|
|
|
"Source Serif Pro", serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-family: 'Amatic SC', cursive;
|
|
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
|
|
|
|
font-size: 40px;
|
|
|
|
line-height: 54px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-family: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
font-style: normal;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 32px;
|
|
|
|
margin-top: 32px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
max-width: 600px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 40px auto 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
article {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 32px;
|
|
|
|
max-width: 600px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 auto 120px auto;
|
|
|
|
}
|
|
|
|
|
2017-09-13 16:08:05 +03:00
|
|
|
blockquote {
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 12px;
|
|
|
|
border-left: 4px solid #eee;
|
|
|
|
}
|
|
|
|
|
2017-09-01 17:34:24 +03:00
|
|
|
p {
|
|
|
|
margin: 0 0 28px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code, pre {
|
|
|
|
background: #f8f8f8;
|
|
|
|
font-family: "SF Mono", "Monaco",
|
|
|
|
"Inconsolata", "Fira Mono",
|
|
|
|
"Droid Sans Mono", "Source Code Pro",
|
|
|
|
monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #5e90af;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #79b9e1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Sticky footer */
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
article {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
footer {
|
2017-09-02 16:32:59 +03:00
|
|
|
padding: 16px 0;
|
2017-09-01 17:34:24 +03:00
|
|
|
background: #f8f8f8;
|
|
|
|
color: #444;
|
|
|
|
text-align: center;
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont,
|
|
|
|
"Segoe UI", "Roboto", "Oxygen",
|
|
|
|
"Ubuntu", "Cantarell", "Fira Sans",
|
|
|
|
"Droid Sans", "Helvetica Neue", sans-serif;
|
|
|
|
}
|
|
|
|
|
2017-09-02 16:32:59 +03:00
|
|
|
footer dl {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-01 17:34:24 +03:00
|
|
|
footer dt, footer dd {
|
|
|
|
display: inline;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer dt::after {
|
|
|
|
content: ": ";
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer dd::after {
|
|
|
|
content: "|";
|
|
|
|
margin: 0 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer dd:last-child::after {
|
|
|
|
content: "";
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-02 16:32:59 +03:00
|
|
|
textarea {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: "SF Mono", "Monaco",
|
|
|
|
"Inconsolata", "Fira Mono",
|
|
|
|
"Droid Sans Mono", "Source Code Pro",
|
|
|
|
monospace;
|
|
|
|
|
|
|
|
width: 100%;
|
2017-09-04 14:47:12 +03:00
|
|
|
resize: none;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shadow-control {
|
|
|
|
visibility: hidden;
|
|
|
|
position: fixed;
|
2017-09-05 12:41:37 +03:00
|
|
|
height: auto;
|
|
|
|
min-height: 100px;
|
2017-09-02 16:32:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.editor {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-07 00:22:34 +03:00
|
|
|
.editor textarea[name="body"] {
|
2017-09-05 12:41:37 +03:00
|
|
|
height: 600px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit .editor {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit .rendered {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-04 14:47:12 +03:00
|
|
|
.editor-controls {
|
2017-09-02 16:32:59 +03:00
|
|
|
position: fixed;
|
2017-09-04 14:47:12 +03:00
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
background: #91A238;
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 600px) {
|
|
|
|
.editor-controls {
|
|
|
|
position: fixed;
|
|
|
|
left: auto;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 20px;
|
|
|
|
|
2017-09-05 12:41:37 +03:00
|
|
|
box-shadow: 2px 2px 8px rgba(0,0,0, 0.25);
|
2017-09-04 14:47:12 +03:00
|
|
|
}
|
2017-09-02 16:32:59 +03:00
|
|
|
}
|
2017-09-01 17:34:24 +03:00
|
|
|
</style>
|
2017-08-20 23:34:26 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{{{body}}}
|
|
|
|
</body>
|
|
|
|
</html>
|