horizontal-seasonal-hours-c.../style.css

183 lines
2.8 KiB
CSS

body {
background-color: #2e3440;
margin: 0;
}
#settings-wrapper {
width: 40%;
margin: 0 auto;
background-color: white;
padding: 5px;
position: relative;
display: none;
}
#settings-close {
position: absolute;
top: 5px;
right: calc(5px + .5em);
cursor: pointer;
}
#settings {
padding: 1em;
border: 1px solid red;
background-color: white;
}
#settings span {
float: left;
}
#settings select,input {
float: right;
}
#settings br {
float: none;
clear: both;
}
#settings h2 {
margin: 0 0 1em 0;
text-align: center;
}
#settings-button {
position: absolute;
left: 5px;
bottom: 5px;
cursor: pointer;
}
#marker {
width: 1px;
height: 75px;
background-color: rgba(255, 255, 0, 0.5);
position: absolute;
top: 3em;
z-index: 1000;
}
#current-time-wrapper {
position: absolute;
width: 100%;
height: 100%;
top: 0;
display: flex;
justify-content: center;
align-items: center;
}
#current-time {
font-size: 300%;
font-weight: bold;
text-align: center;
color: white;
}
#utc-hours {
white-space: nowrap;
overflow-x: hidden;
position: relative;
margin-top: 3em;
}
#utc-hours-inner {
position: relative;
}
#utc-hours-inner span {
width: var(--hour-width);
display: inline-block;
text-align: center;
color: #555555;
}
#local-hours {
white-space: nowrap;
overflow-x: hidden;
position: relative;
margin-top: -48px;
}
#local-hours-inner {
position: relative;
}
#local-hours-inner span {
width: var(--hour-width);
display: inline-block;
text-align: center;
color: #cccccc;
font-size: 30px;
}
#hour-icons {
white-space: nowrap;
overflow-x: hidden;
position: relative;
}
#hour-icons-inner {
position: relative;
}
#hour-icons-inner span {
width: var(--hour-width);
display: inline-block;
text-align: center;
padding: 5px 0;
font-size: 30px;
}
#hour-names {
white-space: nowrap;
overflow-x: hidden;
position: relative;
}
#hour-names-inner {
position: relative;
}
#hour-names-inner span {
width: var(--hour-width);
display: inline-block;
text-align: center;
color: rgb(238, 187, 85);
padding-top: 5px;
}
#hour-names-inner .winter {
background-color: rgb(70, 62, 108);
}
#hour-names-inner .active.winter {
background-color: rgb(100, 92, 138);
}
#hour-names-inner .spring {
background-color: rgb(55, 87, 55);
}
#hour-names-inner .active.spring {
background-color: rgb(85, 117, 85);
}
#hour-names-inner .summer {
background-color: rgb(113, 92, 43);
}
#hour-names-inner .active.summer {
background-color: rgb(143, 122, 73);
}
#hour-names-inner .autumn {
background-color: rgb(108, 68, 44);
}
#hour-names-inner .active.autumn {
background-color: rgb(138, 98, 74);
}