179 lines
2.5 KiB
CSS
179 lines
2.5 KiB
CSS
|
/* schedule-styles.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%;
|
||
|
}
|
||
|
|
||
|
.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;
|
||
|
justify-content: start;
|
||
|
align-items: left;
|
||
|
flex: 0 0 633px;
|
||
|
margin-right: 0.5em;
|
||
|
}
|
||
|
|
||
|
.organizer {
|
||
|
font-weight: lighter;
|
||
|
font-style: italic;
|
||
|
}
|
||
|
#horizontal-logo {
|
||
|
width: 100%;
|
||
|
/* margin: 2em 0 1em 0; */
|
||
|
}
|
||
|
|
||
|
#resources-container {
|
||
|
width: 100%;
|
||
|
overflow: hidden;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: start;
|
||
|
}
|
||
|
|
||
|
.time-range {
|
||
|
font-weight: lighter;
|
||
|
}
|
||
|
|
||
|
#grid {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 2fr 1fr;
|
||
|
gap: 1em;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
#schedule-container {
|
||
|
height: 100%;
|
||
|
grid-column: 1;
|
||
|
padding: 2em;
|
||
|
}
|
||
|
|
||
|
#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%;
|
||
|
height: 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 1s ease-in-out;
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
#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;
|
||
|
}
|