mirror of
https://github.com/glassflame/glassflame.github.io.git
synced 2024-11-22 16:14:26 +00:00
Stefano Pigozzi
71c48fc14d
Doesn't currently work; @import rules are not yet valid in constructed stylesheets.
71 lines
No EOL
2.2 KiB
HTML
71 lines
No EOL
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>WIP: Obsiview</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<!-- Interaction scripts -->
|
|
<script type="module" src="src/index.mjs"></script>
|
|
<!-- Global style -->
|
|
<link rel="stylesheet" type="text/css" href="style/base.css">
|
|
<link rel="stylesheet" type="text/css" href="style/light.css">
|
|
<link rel="stylesheet" type="text/css" href="style/dark.css">
|
|
<!-- Templates -->
|
|
<template id="template-vault">
|
|
<div class="vault">
|
|
<slot name="vault-child"></slot>
|
|
</div>
|
|
</template>
|
|
<template id="template-canvas">
|
|
<div class="canvas">
|
|
<slot name="canvas-nodes">{Canvas nodes}</slot>
|
|
<slot name="canvas-edges">{Canvas edges}</slot>
|
|
</div>
|
|
</template>
|
|
<template id="template-display">
|
|
<slot name="display-container">{Displayed content}</slot>
|
|
</template>
|
|
<template id="template-node-group">
|
|
<div class="canvas-item node node-group">
|
|
<aside class="node-group-label">
|
|
<h1 class="node-group-label-title"><slot name="node-group-label">{Group label}</slot></h1>
|
|
</aside>
|
|
</div>
|
|
</template>
|
|
<template id="template-node-file">
|
|
<article class="canvas-item node node-file">
|
|
<h1 class="node-file-label">
|
|
<slot name="node-file-label">{Node title}</slot>
|
|
</h1>
|
|
<slot name="node-file-contents">{Node contents}</slot>
|
|
</article>
|
|
</template>
|
|
<template id="template-node-text">
|
|
<article class="canvas-item node node-text">
|
|
<slot name="node-text-contents">{Node contents}</slot>
|
|
</article>
|
|
</template>
|
|
<template id="template-edge">
|
|
<div class="canvas-item edge">
|
|
<slot name="edge-svg">{Edge SVG}</slot>
|
|
</div>
|
|
</template>
|
|
<template id="template-markdown">
|
|
<div class="markdown">
|
|
<slot name="markdown-document">{Markdown text}</slot>
|
|
</div>
|
|
</template>
|
|
<template id="template-frontmatter">
|
|
<div class="frontmatter">
|
|
<slot name="frontmatter-contents">{Markdown text}</slot>
|
|
</div>
|
|
</template>
|
|
<template id="template-hashtag">
|
|
<span class="hashtag"><slot name="hashtag-tag">{#Hashtag}</slot></span>
|
|
</template>
|
|
<template id="template-wikilink">
|
|
<a class="wikilink"></a>
|
|
</template>
|
|
</head>
|
|
<body is="x-browse"></body>
|
|
</html> |