125 lines
3.2 KiB
HTML
125 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>popup</title>
|
|
</head>
|
|
<style>
|
|
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
|
|
|
|
* { font-family: 'Pretendard Variable', 'Pretendard'; font-size: 1rem;}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#popup_viewer {
|
|
width: 100%;
|
|
height: 100%;
|
|
/* background: #000; */
|
|
}
|
|
|
|
.image-container {
|
|
display: none;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
background: #f5f5f5;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.draggable-image {
|
|
position: absolute;
|
|
cursor: move;
|
|
user-select: none;
|
|
}
|
|
|
|
.zoom-info {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
background: white;
|
|
padding: 5px 10px;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.meta{
|
|
position: absolute;
|
|
padding: 16px;
|
|
bottom: 16px;
|
|
right: 16px;
|
|
background-color: #00000080;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
font-size: large;
|
|
border-radius: 8px;
|
|
z-index: 2;
|
|
}
|
|
|
|
pre{
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
background-color: #fff;
|
|
overflow: auto;
|
|
}
|
|
|
|
.key{
|
|
min-width: 150px;
|
|
}
|
|
|
|
|
|
/* markdown css */
|
|
.markdown-wrap {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
background-color: #fff;
|
|
overflow: auto;
|
|
}
|
|
|
|
.markdown-body {
|
|
box-sizing: border-box;
|
|
min-width: 200px;
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
padding: 45px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.markdown-body {
|
|
padding: 15px;
|
|
}
|
|
}
|
|
</style>
|
|
<body>
|
|
<div id="popup_viewer" class="popup_viewer"></div>
|
|
|
|
<div class="image-container" id="large-img-container">
|
|
<img id="large-image" class="draggable-image">
|
|
<div class="zoom-info" id="large-img-zoomInfo">100%</div>
|
|
</div>
|
|
|
|
<!-- meta정보 -->
|
|
<div class="meta" id="meta-data" style="display: none;">
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<link rel="stylesheet" href="/main/css/reset.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.css"/>
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.js"></script>
|
|
|
|
<script src="https://api.digitalarchive.work/hmCesium/lib/jszip/dist/jszip.min.js"></script>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.8.1/github-markdown.min.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css">
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
|
|
|
<script src="/main/jsm/popup.js"></script> |