Created
September 3, 2022 15:21
-
-
Save AakashRao-dev/359cf7345ce1939764df8aea0dd578ed to your computer and use it in GitHub Desktop.
Step-11 at conference building interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--main-bg: rgb(238, 238, 238); | |
--stage-time-bg: rgba(217, 217, 217); | |
--blue-slot-bg: rgba(52, 129, 174, 0.3); | |
--blue-slot-text: rgba(52, 129, 174, 1); | |
--green-slot-bg: rgba(49, 223, 118, 0.42); | |
--green-slot-text: rgba(40, 188, 99, 1); | |
--red-slot-bg: rgba(223, 49, 49, 0.28); | |
--red-slot-text: rgba(223, 49, 49, 0.75); | |
--yellow-slot-bg: rgba(255, 230, 0, 0.3); | |
--yellow-slot-text: rgb(229, 168, 46); | |
--break-bg: rgba(83, 83, 83); | |
--break-text: rgba(38, 38, 38, 1); | |
--break-time-highlight: rgba(255, 110, 5, 0.5); | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
html { | |
font-size: 62.5%; | |
} | |
body { | |
height: 100%; | |
background: var(--main-bg); | |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
font-size: 1.6rem; | |
line-height: 1.5; | |
} | |
/********************* | |
*** GRID STYLING ****/ | |
/********************/ | |
.main-container { | |
min-height: 100vh; | |
display: grid; | |
grid-template-columns: repeat(8, 1fr); | |
grid-template-rows: repeat(11, 1fr); | |
gap: 1.5rem; | |
} | |
/*===== TOP STAGES CONTAINER ====*/ | |
.stages-container-row { | |
grid-column: 2 / -1; | |
grid-row: 1 / 2; | |
} | |
.stages { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.stage { | |
padding: 3rem 4rem; | |
} | |
.stage, | |
.time { | |
background: var(--stage-time-bg); | |
border-radius: 1rem; | |
} | |
.details { | |
display: flex; | |
flex-direction: column; | |
} | |
/*===== LEFT TIMING CONTAINER =====*/ | |
.timing-container-column { | |
grid-column: 1 / 2; | |
grid-row: 1 / -1; | |
} | |
.timings { | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
justify-content: space-between; | |
padding: 0 1rem; | |
} | |
.time { | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
padding: 3rem; | |
background: var(--stage-time-bg); | |
border-radius: 1rem; | |
} | |
/*===== SUBGRID OF OUR MAIN UI =====*/ | |
.subgrid-main-ui { | |
grid-column: 2 / -1; | |
grid-row: 2 / -1; | |
display: grid; | |
/* Currenlty not supported by Chrome, please check it in Firefox | |
to see the subgrid option*/ | |
grid-template-columns: subgrid; | |
grid-template-rows: repeat(10, 1fr); | |
gap: 1rem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment