program: main css
This commit is contained in:
parent
5efbf587b1
commit
35cb6c7def
3 changed files with 115 additions and 40 deletions
72
_includes/program.css
Normal file
72
_includes/program.css
Normal file
|
@ -0,0 +1,72 @@
|
|||
.program-date ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.timeslot {
|
||||
display: block;
|
||||
border-bottom: 1px solid rgba(0,0,0,.05);
|
||||
}
|
||||
|
||||
.timeslot h3 {
|
||||
margin: 0;
|
||||
font-size: 1.3em;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.timeslot-container {
|
||||
position: relative;
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.timeslot-time {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.timeslot-time :is(.start, .end) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.timeslot-time .full {
|
||||
font-size: 26px;
|
||||
}
|
||||
|
||||
@media (width < 640px) {
|
||||
.timeslot {
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (width >= 640px) {
|
||||
.timeslot:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.timeslot-container {
|
||||
padding: 2rem 3rem;
|
||||
margin-left: 14rem;
|
||||
}
|
||||
|
||||
.timeslot-time {
|
||||
height: auto;
|
||||
width: 14rem;
|
||||
left: -14rem;
|
||||
text-align: right;
|
||||
padding: 2rem 3rem;
|
||||
}
|
||||
|
||||
.timeslot-time .start {
|
||||
display: block;
|
||||
font-size: 38px;
|
||||
}
|
||||
|
||||
.timeslot-time .end {
|
||||
display: block;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.timeslot-time .full {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue