Template:ScheduleList/styles.css: Difference between revisions

Created page with ".schedule-list { font-family: Arial, sans-serif; line-height: 1.6; →‎行高: margin: 1px 0 0 0; } .schedule-list li { margin-bottom: 1px; } .schedule-list li .datetime{ display: flex; align-items: center; padding: 0 15px; } .schedule-list li .datetime > .schedule-week{ margin-right: 15px; font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif; font-weight: bold; } .schedule-list li .datetime > .schedule-box{ margin-left: 15px; } .sc..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
line-height: 1.6; /* 行高 */
line-height: 1.6; /* 行高 */
margin: 1px 0 0 0;
margin: 1px 0 0 0;
flex:1;
background:#000;
}
}


Line 11: Line 13:
.schedule-list li .datetime{
.schedule-list li .datetime{
display: flex;
display: flex;
align-items: center;
align-items: stretch;
padding: 0 15px;
padding: 0 15px;
}
}
Line 18: Line 20:
font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif;
font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif;
font-weight: bold;
font-weight: bold;
white-space: nowrap;
width: 38px;
display: flex;
justify-content: center;
align-items: center;
}
}
.schedule-list li .datetime > .schedule-box{
.schedule-list li .datetime > .schedule-box{
margin-left: 15px;
margin-left: 15px;
max-width: 60%;
}
}
.schedule-list li .datetime > .schedule-date{
.schedule-list li .datetime > .schedule-date{
background:#000;
background:#000;
height:100%;
display: flex;
display: flex;
align-items: center;
align-items: center;