Files
Jump/jumpapp/assets/css/styles.css

172 lines
3.2 KiB
CSS

/**
* Some CSS because Jump would look pretty ugly without it.
*
* @author Dale Davies <dale@daledavies.co.uk>
* @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.8) blur(10px);
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
transform: scale(1.07);
z-index: 1;
}
.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: 400;
text-transform: capitalize;
text-shadow: 1px 1px 2px #00000070;
margin-bottom: 15px;
}
.time-weather {
font-family: 'Quicksand', sans-serif;
font-weight: 400;
color: inherit;
text-decoration: none;
text-shadow: 1px 1px 2px #00000070;
user-select: none;
display: block;
position: absolute;
right: 15px;
bottom: 10px;
padding:5px 10px;
z-index: 100;
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: 14px;
text-shadow: 1px 1px 2px #00000070;
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: 37px;
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: 13px;
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;
}