- Fix html2pptx Windows file path handling (file:/// URLs) - Fix Italian flag diagonal (remove CSS rotation, use positioned rectangles) - Add Chinese character background watermark (意) - Add geometric pattern attempt (Art Deco style) - Fix validation errors (text positioning, margins) - Add backup slides directory - Add build scripts and image resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
165 lines
2.7 KiB
HTML
165 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
html { background: #ffffff; }
|
|
body {
|
|
width: 720pt;
|
|
height: 405pt;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #1A1A1A;
|
|
font-family: Georgia, serif;
|
|
display: flex;
|
|
}
|
|
|
|
.slide-content {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
/* Italian flag diagonal - simple rectangles positioned diagonally */
|
|
.flag-green {
|
|
position: absolute;
|
|
top: 15pt;
|
|
left: 15pt;
|
|
width: 45pt;
|
|
height: 12pt;
|
|
background: #2D5016;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.flag-white {
|
|
position: absolute;
|
|
top: 27pt;
|
|
left: 27pt;
|
|
width: 45pt;
|
|
height: 12pt;
|
|
background: #F5F5DC;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.flag-red {
|
|
position: absolute;
|
|
top: 39pt;
|
|
left: 39pt;
|
|
width: 45pt;
|
|
height: 12pt;
|
|
background: #8B1A1A;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* Signature gold bar */
|
|
.gold-bar {
|
|
position: absolute;
|
|
right: 60pt;
|
|
top: 60pt;
|
|
bottom: 60pt;
|
|
width: 3pt;
|
|
background: #D4AF37;
|
|
z-index: 5;
|
|
}
|
|
|
|
/* Photos section */
|
|
.photo-left {
|
|
position: absolute;
|
|
top: 60pt;
|
|
left: 60pt;
|
|
width: 270pt;
|
|
bottom: 80pt;
|
|
border-radius: 4pt;
|
|
overflow: hidden;
|
|
box-shadow: 0 6pt 25pt rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.photo-left img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.photo-right {
|
|
position: absolute;
|
|
top: 60pt;
|
|
left: 350pt;
|
|
right: 100pt;
|
|
bottom: 190pt;
|
|
border-radius: 4pt;
|
|
overflow: hidden;
|
|
box-shadow: 0 6pt 25pt rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.photo-right img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Evaluation section */
|
|
.eval-panel {
|
|
position: absolute;
|
|
bottom: 60pt;
|
|
left: 350pt;
|
|
right: 100pt;
|
|
height: 100pt;
|
|
background: rgba(26, 26, 26, 0.95);
|
|
border-left: 4pt solid #D4AF37;
|
|
padding: 20pt 25pt;
|
|
}
|
|
|
|
.eval-panel h2 {
|
|
font-size: 20pt;
|
|
font-weight: 700;
|
|
color: #D4AF37;
|
|
margin: 0 0 15pt 0;
|
|
padding: 0;
|
|
letter-spacing: 2pt;
|
|
}
|
|
|
|
.eval-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.eval-row p {
|
|
font-size: 14pt;
|
|
color: #999999;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.eval-row p span {
|
|
color: #C9C9C9;
|
|
font-weight: 600;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="slide-content">
|
|
<div class="flag-green"></div>
|
|
<div class="flag-white"></div>
|
|
<div class="flag-red"></div>
|
|
|
|
<div class="gold-bar"></div>
|
|
|
|
<div class="photo-left">
|
|
<img src="file:///C:/Users/alexi/Documents/projects/couple-repo/work_chinese/PPT04122025/pptx_build/InsideResto.jpg" alt="Inside">
|
|
</div>
|
|
|
|
<div class="photo-right">
|
|
<img src="file:///C:/Users/alexi/Documents/projects/couple-repo/work_chinese/PPT04122025/pptx_build/LayoutTable.jpg" alt="Table">
|
|
</div>
|
|
|
|
<div class="eval-panel">
|
|
<h2>VALUTAZIONE</h2>
|
|
<div class="eval-row">
|
|
<p>性价比 <span>优秀</span></p>
|
|
<p>服务 <span>热情</span></p>
|
|
<p>环境 <span>舒适</span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|