/** * Some CSS because Jump would look pretty ugly without it. * * @author Dale Davies * @license MIT */ * { box-sizing: border-box; } body { font-family: sans-serif; margin: 0; padding: 0; color: #fff; text-align: center; background: #000; } .fixed { position: fixed; top: 0; right: 0; left: 0; bottom: 0; } .hidden { opacity: 0; } .background { filter: brightness(0.65) blur(13px); background-repeat: no-repeat; background-size: cover; background-position: center center; transform: scale(1.07); z-index: 1; } body::after { content: ''; position:fixed; top: 0; left: 0; right:0; bottom:0; background-image: url(../images/overlay.png); opacity: 0.3; z-index: 2; } .content { z-index: 10; display: flex; flex-direction: column; justify-content:center; width: 100%; max-width: 650px; margin:0 auto; } .greeting { font-family: 'Quicksand', sans-serif; font-size: 2.3em; font-weight: 200; text-transform: capitalize; text-shadow: 1px 2px 10px #000000; margin-bottom: 13px; } .time-weather { font-family: 'Quicksand', sans-serif; font-weight: 200; user-select: none; display: block; position: absolute; z-index: 100; right: 15px; bottom: 10px; color: inherit; text-decoration: none; padding:5px 10px; border-radius: 6px; } .time-weather:hover { background-color: #ffffff15; transition: background-color .1s; } .time { font-size: 2.4em; margin-right:10px; } .weather { font-size: 1.9em; position: relative; top: -1px; } .useclientlocation { font-size: 13px; user-select: none; cursor: pointer; display: none; position: absolute; bottom: 10px; left: 15px; z-index: 10; border-radius: 6px; height: 58px; line-height:58px; padding: 0 10px 0 45px; background-size: 35px; background-position: top 50% left 5px; background-repeat: no-repeat; background-image: url(../images/map-pin.svg); } .useclientlocation:hover { background-color: #ffffff15; transition: background-color .1s; } .useclientlocation.enable { display: block; } .sites, .sites li { padding: 0; margin: 0; list-style-type: none; font-size: 14px; } .sites li { display: inline-block; } .sites li a { color: inherit; text-decoration: none; display: inline-block; padding: 15px; border-radius: 6px } .sites li a:hover { background-color: #ffffff15; transition: background-color .1s; } .sites .icon { display: block; background-color: #fff; width: 80px; height: 80px; border-radius: 6px; border: .2em solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.3); padding: 15px; margin-bottom: 8px; } .sites .icon img { width:100%; } .sites .name { display: block; width: 80px; max-height: 3.3em; overflow: hidden; word-wrap: break-word; text-shadow: 1px 1px 2px #00000070; text-overflow: ellipsis; white-space: nowrap; }