wiki/templates/layout.html

147 lines
4.0 KiB
HTML
Raw Normal View History

2018-11-24 12:34:51 +00:00
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css" />
2019-08-25 10:30:00 +00:00
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
2018-11-24 12:34:51 +00:00
<title>{{ .Title }} - Wiki</title>
{{ block "content_head" . }} {{ end }}
<style>
.monospace {
font-family: "Fira Code Retina", monospace;
white-space: pre-wrap;
}
.lighter {
color:#ccc;
}
del {
text-decoration: none;
}
ins {
text-decoration: none;
}
2019-08-25 13:41:19 +00:00
.checklist {
margin-bottom: 1em;
}
.checklist--item {
display: flex;
}
.checklist--item-text {
align-self: center;
}
2018-11-24 12:34:51 +00:00
</style>
2020-05-11 21:34:10 +00:00
<style>
@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
input.input { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
html { font-family: 'Inter var', sans-serif; }
input.input { font-family: 'Inter var', sans-serif; }
}
.list-item {
padding: 3px;
display: flex;
cursor: pointer;
margin-left: 32px;
flex-direction: column;
}
.line {
display: flex;
flex-direction: row;
align-items: center;
}
.marker {
border-radius: 50%;
background: black;
width: 6px;
height: 6px;
display: inline-block;
margin-right: 4px;
}
textarea {
border: none;
resize: none;
}
.selected {
background: lightblue;
}
.editor.selected {
background: none;
}
input.input {
border: none;
outline: none;
margin: 0;
padding: 0;
width: 100%;
font-size: 16px;
}
.gu-mirror {
position: fixed !important;
margin: 0 !important;
z-index: 9999 !important;
opacity: 0.8;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
}
.gu-hide {
display: none !important;
}
.gu-unselectable {
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
}
.gu-transit {
opacity: 0.2;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
filter: alpha(opacity=20);
}
</style>
2018-11-24 12:34:51 +00:00
</head>
<body>
<div class="container">
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="/">
Wiki
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
{{ block "navbar" . }}{{ end }}
</div>
</div>
</nav>
<section class="section">
{{ template "content" . }}
</section>
2019-08-25 10:30:00 +00:00
<div id="save-indicator" class="hidden"></div>
2018-11-24 12:34:51 +00:00
</div>
2019-08-25 10:30:00 +00:00
{{ block "footer_scripts" . }}{{ end }}
2018-11-24 12:34:51 +00:00
</body>
2019-08-25 10:30:00 +00:00
</html>