::selection { background: purple; color: #fff; } body { font-family: -apple-system,system-ui,blinkmacsystemfont,Segoe UI,roboto,oxygen,ubuntu,Helvetica Neue,arial,sans-serif; display: flex; flex-wrap: wrap; margin: 0; align-items: flex-start; padding: 10px; background-image: url("/assets/pic/star.gif"); background-color: #000; } header, main, footer { margin: 5px; display: flex; flex-direction: column; gap: 10px; } header, footer { flex: 2; } main { flex: 3; } div { text-align: left; background-color: #b1cfd8; box-shadow: 0 0 3px 3px rgba(135, 182, 196, 0.95); box-sizing: border-box; border: 1px solid; border-radius: 10px; width: 100%; padding: 0 20px; overflow: hidden; } .pagi { color: #b1cfd8; text-align: center; background-color: transparent; box-shadow: none; border: none; font-size: 1.5em; } h1 { text-align: center; padding: 30px; position: relative; } h1::before, h1::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: url('data:image/svg+xml;utf8,'); } h1::before { top: 0; } h1::after { bottom: 0; } a { cursor: pointer; color: black; text-decoration: none; padding: 0 5px; background-image: linear-gradient(to bottom, transparent 60%, #77abbb 60%); background-repeat: no-repeat; transition: background-color 0.1s ease; border-radius: 2px; } a:hover { background-image: linear-gradient(to bottom, transparent 60%, #778bbb 60%); } a[hx-get] { background-image: linear-gradient(to right, #77abbb, #778bbb); } a[hx-get]:hover { background-image: linear-gradient(to right, #778bbb, #778bbb); } pre { padding: 10px; background: #77abbb; border: 1px solid #000; border-radius: 2px; overflow-x: auto; white-space: pre; word-wrap: normal; width: 0; min-width: calc(100% - 22px); } details > summary { cursor: pointer; } details[open] > summary { cursor: pointer; } .rotating-pic-container { width: 100%; height: 100%; overflow: hidden; } .rotating-pic { width: 100%; height: 100%; animation: swing 1.5s ease-in-out infinite alternate; } @keyframes swing { 0% { transform: rotate(-10deg); } 100% { transform: rotate(10deg); } } .pulse-container { text-align: center; } .pulse-text { font-weight: bold; color: purple; animation: scalePulse 2s infinite ease-in-out; } @keyframes scalePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } @media (max-width: 800px) { a:hover { background-color: #77abbb; } a[hx-get]:hover { background: linear-gradient(to right, #77abbb, #778bbb); } header, footer, main { flex: 1 100%; } details > summary { cursor: default; } details[open] > summary { cursor: default; } }