Created
September 3, 2022 14:38
-
-
Save AakashRao-dev/c443b4c903768e5491223ded101e1e10 to your computer and use it in GitHub Desktop.
Step-8 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="./style.css" /> | |
<title>Conference Scheduler interface using CSS Grid</title> | |
</head> | |
<body> | |
<!-- GRID CONTAINER --> | |
<div class="main-container"> | |
<!-- TOP STAGES CONTAINER --> | |
<div class="stages-container-row"> | |
<div class="stages"> | |
<div class="stage">Stage-1</div> | |
<div class="stage">Stage-2</div> | |
<div class="stage">Stage-3</div> | |
<div class="stage">Stage-4</div> | |
<div class="stage">Stage-5</div> | |
<div class="stage">Stage-6</div> | |
<div class="stage">Stage-7</div> | |
</div> | |
</div> | |
<!-- LEFT TIMING CONTAINER --> | |
<div class="timing-container-column"> | |
<div class="timings"> | |
<div class="time">/</div> | |
<div class="time">10:00</div> | |
<div class="time">10:30</div> | |
<div class="time">11:00</div> | |
<div class="time">11:30</div> | |
<div class="time">12:00</div> | |
<div class="time">12:30</div> | |
<div class="time">01:00</div> | |
<div class="time">01:30</div> | |
<div class="time">02:00</div> | |
<div class="time">02:30</div> | |
</div> | |
</div> | |
<!-- SUBGRID OF OUR MAIN UI --> | |
<div class="subgrid-main-ui"> | |
<!-- SLOTS --> | |
<div class="slot"> | |
<h2>Talk Title 1</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 2 & 3</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 4</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 5</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 6</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 7</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 8</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 9</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<div class="slot"> | |
<h2>Talk Title 10</h2> | |
<div class="details"> | |
<span>Time: 10-11</span> | |
<span>Stage</span> | |
<span>Presenter</span> | |
</div> | |
</div> | |
<!-- BREAK SLOTS --> | |
<div class="break">BREAK</div> | |
<div class="break">BREAK</div> | |
<div class="break">BREAK</div> | |
</div> | |
</div> | |
</body> | |
</html> |
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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment