Skip to content

Commit

Permalink
Merge pull request #17 from murajun1978/add-timetable
Browse files Browse the repository at this point in the history
Add timetable
  • Loading branch information
honeniq authored Aug 6, 2023
2 parents a78957c + 489c5ec commit 6540733
Show file tree
Hide file tree
Showing 5 changed files with 335 additions and 5 deletions.
19 changes: 15 additions & 4 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,20 @@ body {

#guest-speaker h2 {
color: #e50808;
font-size: calc(42 / 1440 * 100vw);
font-size: calc(62 / 1440 * 100vw);
}

/* timetable */
#timetable {
padding: 13vw;
color: #111111;
text-align: left;
}

#timetable h2 {
color: #F50808;
font-size: calc(62 / 1440 * 100vw);
}

/* sponsor */
#sponsor {
Expand All @@ -97,7 +108,7 @@ body {

#sponsor h2 {
color: #e50808;
font-size: calc(42 / 1440 * 100vw);
font-size: calc(62 / 1440 * 100vw);
}

/* member */
Expand All @@ -109,7 +120,7 @@ body {

#member h2 {
color: #e50808;
font-size: calc(42 / 1440 * 100vw);
font-size: calc(62 / 1440 * 100vw);
}

/* Access */
Expand All @@ -120,7 +131,7 @@ body {

#access h2 {
color: #292929;
font-size: calc(42 / 1440 * 100vw);
font-size: calc(62 / 1440 * 100vw);
}

#access p {
Expand Down
116 changes: 116 additions & 0 deletions assets/css/timetable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
ul.timetable {
border-left: 0.3rem solid #f50808;
padding-inline-start: 0px;
}

.timetable-event-item {
display:flex;
margin-bottom: 50px;
align-items: center;
}

.timetable-session-item {
display:flex;
margin-bottom: 50px;
align-items: center;
}

.timetable-timebox {
font-size: 34px;
font-weight: 300;
margin-right: 50px;
}

.timetable-event-item .timetable-timebox {
background: url(../images/event-pin.svg);
background-repeat: no-repeat;
background-position: left;
padding-left: 80px;
}

.timetable-session-item .timetable-timebox {
background: url(../images/session-pin.svg);
background-repeat: no-repeat;
background-position: left;
padding-left: 80px;
}

.timetable-evnet {
font-size: 32px;
font-weight: 500;
}

.timetable-session {
position:relative;
min-width:400px;
min-height:50px;
background:#F50808;
padding:30px;
text-align:left;
border-radius:16px;
}

.timetable-session-title {
color: #FFFFFF;
font-weight: 300;
font-size: 32px;
}

.timetable-session-speaker {
color: #FFFFFF;
font-weight: 400;
font-size: 28px;
margin-top: 35px;
}

/* for PC */
@media (min-width: 1280px) {
.timetable-session::after {
border: solid transparent;
content:'';
height:0;
width:0;
pointer-events:none;
position:absolute;
border-color: rgba(245, 8, 8, 0);
border-top-width:10px;
border-bottom-width:10px;
border-left-width:30px;
border-right-width:30px;
margin-top: -10px;
border-right-color:#F50808;
right:100%;
top:50%;
}
}

/* for mobile */
@media (max-width: 1280px) {
.timetable-session-item {
flex-wrap: wrap;
}

.timetable-evnet {
font-size: 25px;
}

.timetable-timebox {
font-size: 24px;
}

.timetable-session-title {
font-size: 20px;
}

.timetable-session-speaker {
font-size: 18px;
}

.timetable-session {
margin-left: 10px;
margin-right: 10px;
min-width:380px;
min-height:30px;
padding:15px;
}
}
4 changes: 4 additions & 0 deletions assets/images/event-pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/images/session-pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6540733

Please sign in to comment.