Files

93 lines
1.5 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
min-height: 100vh;
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.container {
width: 100%;
max-width: 720px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 16px;
padding: 40px 30px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
text-align: center;
}
h1 {
font-size: 32px;
margin-bottom: 10px;
}
.subtitle {
color: #d0d8ff;
margin-bottom: 30px;
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
margin-bottom: 30px;
}
button {
padding: 10px 20px;
border: none;
border-radius: 8px;
background: #4ecdc4;
color: #1a1a1a;
font-weight: 600;
cursor: pointer;
transition: transform 0.15s ease, background 0.2s ease;
}
button:hover {
background: #38b2a8;
transform: translateY(-2px);
}
button:active {
transform: translateY(0);
}
.result-box {
background: rgba(0, 0, 0, 0.25);
border-radius: 12px;
padding: 24px;
}
.result {
font-size: 20px;
line-height: 1.6;
word-break: break-word;
min-height: 60px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
transition: color 0.3s ease;
}
.copy-btn {
background: #ff6b6b;
color: #fff;
}
.copy-btn:hover {
background: #e85a5a;
}