Apply to Distribusi
This commit is contained in:
parent
7f705d97e9
commit
e8009b26d0
3 changed files with 42 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
index.html
|
index.html
|
||||||
.vscode/
|
.vscode/
|
||||||
.python-version
|
.python-version
|
||||||
|
*.ai
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,7 @@ def write_index(args,index, html, html_head, html_footer):
|
||||||
styled_html_head = html_head % style
|
styled_html_head = html_head % style
|
||||||
else:
|
else:
|
||||||
styled_html_head = html_head % ''
|
styled_html_head = html_head % ''
|
||||||
|
print("---")
|
||||||
f.write(styled_html_head)
|
f.write(styled_html_head)
|
||||||
|
|
||||||
for line in html:
|
for line in html:
|
||||||
|
|
|
||||||
|
|
@ -5,21 +5,50 @@ html_head = """
|
||||||
<!-- Generated with distribusi https://git.vvvvvvaria.org/varia/distribusi -->
|
<!-- Generated with distribusi https://git.vvvvvvaria.org/varia/distribusi -->
|
||||||
<meta name="generator" content="distribusi" />
|
<meta name="generator" content="distribusi" />
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
<style>
|
<link rel="stylesheet" type="text/css" href="https://frog.dianaband.info/src/style/common.css" />
|
||||||
.image{max-width: 100%%;}
|
|
||||||
.pdf object{width:640px;height: 640px;}
|
|
||||||
.dir::before{content:"📁 ";font-size:18px;}
|
|
||||||
.filename{display:block;font-family:mono;}
|
|
||||||
.unkown-file::before{content:"📄 ";font-size:18px;}
|
|
||||||
div{max-width: 640px;display:inline-block;vertical-align:top;margin:1em;padding:1em;}
|
|
||||||
video {width:640px;max-height:640px;}
|
|
||||||
%s
|
%s
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div>
|
||||||
|
<div id="menu">
|
||||||
|
<div id="logo_wrapper" class="svg_wrapper">
|
||||||
|
<img id="logo_foh"src="https://frog.dianaband.info/src/img/logo.svg" alt="환대의 조각 로고">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="about_icon_wrapper" class="svg_wrapper">
|
||||||
|
<img id="about_icon"src="https://frog.dianaband.info/src/img/icon_about.svg" alt="각진 꽃 모양 어바웃 버튼">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="timeline_icon_wrapper" class="svg_wrapper">
|
||||||
|
<img id="about_icon"src="https://frog.dianaband.info/src/img/icon_timeline.svg" alt="구름 모양 타임라인 버튼">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span id="to_about">
|
||||||
|
<a href="">
|
||||||
|
ABOUT
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
<span id="to_fragments">
|
||||||
|
<a href="">
|
||||||
|
FRAGMENTS
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
<span id="to_timeline">
|
||||||
|
<a href="">
|
||||||
|
TIMELINE
|
||||||
|
</a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="margin">
|
||||||
|
<!-- to avoid overlapping -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="contents">
|
||||||
"""
|
"""
|
||||||
|
|
||||||
html_footer = """
|
html_footer = """
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue