UNPKG

server-ssl

Version:

Node.js server that is SSL by default that can be used for development or production and can create and renew Lets Encrypt Certificates automatically using ACME, including wildcard certificates

112 lines (100 loc) 2.42 kB
* { user-select: none; -webkit-user-drag: none; -moz-user-select: none; pointer-events: auto; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background-color: #f4f4f4; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; text-align: center; } .container { display: flex; background-image: url("bg.png"); background-size: cover; background-position: center; background-repeat: no-repeat; flex-direction: column; align-items: center; justify-content: center; padding: 12px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); max-width: 350px; width: 100%; backdrop-filter: blur(10px); background-color: rgba(255, 255, 255, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); } .time-container { display: flex; height: 24px; align-items: center; } .status-icon { font-size: 72px; font-weight: bold; color: rgb(0, 255, 85); margin-bottom: 5px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .status-message { font-size: 18px; color: white; margin-bottom: 10px; font-weight: 800; text-shadow: 1px 1px 3px rgba(0, 0, 0, 1); } .status-time { font-size: 12px; color: white; font-weight: 600; text-shadow: 3px 3px 3px rgba(0, 0, 0, 1); } .a { background-color: rgba(0, 0, 0, 0.418); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 4px; padding: 2px 5px; font-weight: 800; color: white; text-decoration: none; text-shadow: 1px 1px 3px rgba(0, 0, 0, 1); transition: all 0.3s ease; pointer-events: visible; } .a:hover { background-color: rgba(0, 0, 0, 0.618); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .spinner { width: 1rem; height: 1rem; border: 3px solid rgba(22, 21, 21, 0.618); border-top-color: rgba(0, 0, 0, 0.618); border-radius: 50%; animation: spin 1s linear infinite; opacity: 100; } @keyframes spin { to { transform: rotate(360deg); } } @supports not (backdrop-filter: blur(10px)) { .container { background-color: rgba(255, 255, 255, 0.8); } } @media (prefers-color-scheme: dark) { body { background-color: rgb(17, 16, 16); color: white; } }