215 lines
3.1 KiB
CSS
215 lines
3.1 KiB
CSS
|
:root {
|
||
|
--font-size: 1vw;
|
||
|
--width: 65vw;
|
||
|
--img-margin: -2vw;
|
||
|
}
|
||
|
|
||
|
@media (orientation: landscape) {
|
||
|
:root {
|
||
|
--font-size: 1vh;
|
||
|
--width: 65vh;
|
||
|
--img-margin: -2vh;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
height: 100%;
|
||
|
font-size: var(--font-size);
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
height: 100%;
|
||
|
font-family: "Calibri", sans-serif;
|
||
|
background-color: black;
|
||
|
color: #FFFFFF;
|
||
|
}
|
||
|
|
||
|
.header {
|
||
|
text-align: center;
|
||
|
width: 100%;
|
||
|
flex-grow: 0;
|
||
|
}
|
||
|
|
||
|
.resource-wrapper {
|
||
|
/* display: flex; */
|
||
|
/* flex-direction: column; */
|
||
|
/* justify-content: space-around; */
|
||
|
width: 100%;
|
||
|
/* overflow-x: hidden; */
|
||
|
}
|
||
|
|
||
|
.title-row {
|
||
|
font-weight: bold;
|
||
|
font-size: 3em;
|
||
|
padding: 0.25em 0;
|
||
|
}
|
||
|
|
||
|
.event-row {
|
||
|
display: flex;
|
||
|
flex-wrap: nowrap;
|
||
|
overflow-x: hidden;
|
||
|
font-size: 3em;
|
||
|
}
|
||
|
|
||
|
.flex-row {
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
|
||
|
.flex-cell {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
flex-grow: 1;
|
||
|
flex-basis: 33%;
|
||
|
justify-content: start;
|
||
|
align-items: left;
|
||
|
margin-right: 0.5em;
|
||
|
}
|
||
|
|
||
|
.organizer {
|
||
|
font-weight: lighter;
|
||
|
font-style: italic;
|
||
|
}
|
||
|
.horizontal-logo {
|
||
|
width: 100%;
|
||
|
/* margin: 2em 0 1em 0; */
|
||
|
}
|
||
|
|
||
|
#resources-container {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
overflow: hidden;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-between;
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
|
||
|
#grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 2fr 1fr;
|
||
|
/* gap: 1em; */
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
#schedule-container {
|
||
|
height: 100%;
|
||
|
grid-column: 1;
|
||
|
padding: 2em;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
#schedule-container .header {
|
||
|
margin-bottom: 3em;
|
||
|
}
|
||
|
|
||
|
#homepage-container {
|
||
|
grid-column: 3;
|
||
|
padding: 2em;
|
||
|
text-align: center;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.top-container {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
height: 50%;
|
||
|
}
|
||
|
|
||
|
#time-weather-container {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 1fr;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
font-size: 5em;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.time {
|
||
|
font-family: 'Calibri', sans-serif;
|
||
|
}
|
||
|
|
||
|
.separator {
|
||
|
font-family: 'Courier New', monospace;
|
||
|
}
|
||
|
|
||
|
#slideshow {
|
||
|
grid-column: 2;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.slideshow-img {
|
||
|
transition: opacity 500ms ease-in-out;
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
#bottom-section {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
#weather-icon {
|
||
|
align-self: end; /* Aligns the icon to the end of its grid cell */
|
||
|
width: 2em;
|
||
|
margin: var(--img-margin);
|
||
|
}
|
||
|
|
||
|
#temperature {
|
||
|
align-self: start; /* Aligns the temperature text to the start of its grid cell */
|
||
|
}
|
||
|
#description {
|
||
|
font-weight: lighter;
|
||
|
}
|
||
|
|
||
|
#quote {
|
||
|
font-size: 5em;
|
||
|
margin: 0 10%;
|
||
|
max-height: 40vh;
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
#author {
|
||
|
margin-top: 2.5%;
|
||
|
font-size: 4em;
|
||
|
width: 75%;
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
#welcome-message {
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100vh;
|
||
|
/* CYAN DEFAULT BACKGROUND */
|
||
|
background-color: #00ADEF;
|
||
|
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
color: white;
|
||
|
font-size: 2em;
|
||
|
display: flex;
|
||
|
z-index: 1001;
|
||
|
padding: 20em;
|
||
|
opacity: 0;
|
||
|
transition: opacity 1s linear;
|
||
|
|
||
|
}
|
||
|
#welcome-message.visible {
|
||
|
opacity: 1;
|
||
|
}
|