正面模板内容:
{{Snapshot}}
背面模板内容:
{{FrontSide}}
{{Expression}}
{{#Meaning}}
{{Meaning}}
{{/Meaning}}
{{#Notes}}
{{Notes}}
{{/Notes}}
{{play:Audio}}
样式:
.card {
font-family: 'Arial', sans-serif;
font-size: 18px;
text-align: center;
color: #2e2e2e;
background-color: #eef2f3;
border-radius: 15px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
padding: 20px;
margin: 20px;
transition: transform 0.3s, background-color 0.3s;
}
.card:hover {
transform: translateY(-5px);
background-color: #e0e6e9;
}
.expression {
font-size: 22px;
margin-top: 15px;
margin-bottom: 10px;
font-weight: bold;
color: #1a5631;
}
.meaning {
font-size: 18px;
color: #388e3c;
margin-bottom: 15px;
}
.nightMode .meaning {
color: #81c784;
}
.notes {
font-size: 16px;
color: #6d6d6d;
margin-bottom: 15px;
}
.snapshot {
margin-bottom: 15px;
color: #388e3c;
}
img {
vertical-align: bottom;
margin: auto;
max-width: 100%;
height: auto;
border-radius: 15px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.media {
margin: 10px 0;
}
.media-controls {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
}
hr#answer {
margin-top: 20px;
margin-bottom: 20px;
height: 1px;
background-color: #c7c7c7;
border: none;
}
.replay-button {
height: 40px;
width: 40px;
outline: none;
user-select: none;
-webkit-tap-highlight-color: transparent;
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='playImage' viewBox='0 0 64 64' width='40px' height='40px' version='1.1'%3E%3Ccircle fill='%23ffffff' stroke='%232e2e2e' cx='32' cy='32' r='29'%3E%3C/circle%3E%3Cpath fill='%232e2e2e' d='M56.502,32.301l-37.502,20.101l0.329,-40.804l37.173,20.703Z'%3E%3C/path%3E%3C/svg%3E");
transition: transform 0.2s;
margin-right: 15px;
}
.replay-button:hover {
transform: scale(1.1);
}
.nightMode .replay-button {
filter: invert(85%);
}
video, audio {
display: block;
max-width: 100%;
margin: auto;
border-radius: 15px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s;
}
video:hover, audio:hover {
box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
}
.speed-control {
display: flex;
align-items: center;
}
.speed-control label {
margin-right: 5px;
font-size: 16px;
}
.speed-control select {
font-size: 16px;
padding: 5px;
border: 1px solid #b2d8b2;
border-radius: 5px;
background-color: #ffffff;
color: #2e2e2e;
transition: background-color 0.3s, color 0.3s;
}
.speed-control select:focus {
background-color: #e8f5e9;
color: #2e2e2e;
}
.nightMode .speed-control select {
color: #ffffff;
background-color: #4caf50;
border: 1px solid #81c784;
}
.nightMode .speed-control select:focus {
background-color: #388e3c;
color: #ffffff;
}
.mobile body, .mobile #content {
margin: 0;
padding: 0;
}
.mobile .expression,
.mobile .meaning,
.mobile .notes {
margin-left: 10px;
margin-right: 10px;
}