Module:Current events calendar/styles.css: Difference between revisions

Content deleted Content added
Created page with '.current-events-calendar { clear: right; max-width: 350px; width: 100%; margin: auto; padding: 0.2em; font-size: 88%; line-height: 1.5em; border-spacing: 3px; border: 1px solid #cedff2; text-align: center; background-color: #f5faff; color: black; } .current-events-calendar-archive { margin: 8px 0 0 8px; } .current-events-calendar caption { background-color: #cedff2; } .current-events-calendar a { font-weight: bold; padding: 0 1em; } .cur...'
 
fix the offset on archive pages.
 
(16 intermediate revisions by one other user not shown)
Line 1:
/* {{pp|small=y}} */
.current-events-calendar {
clear: right;
Line 6 ⟶ 7:
padding: 0.2em;
font-size: 88%;
line-height: 1.5em5;
border-spacing: 3px;
border: 1px solid #cedff2;
Line 12 ⟶ 13:
background-color: #f5faff;
color: black;
}
 
.current-events-calendar tbody a {
font-weight: bold;
width: 100%;
display: inline-block;
}
 
.current-events-calendar-archive {
margin: 8px 0 0 8px0;
}
 
.current-events-calendar caption {
font-weight: bold;
background-color: #cedff2;
line-height: 1.6;
padding: 0 1em.2em;
}
 
.current-events-calendar acaption span:first-child {
font-weightfloat: boldleft;
/* width of a table cell */
padding: 0 1em;
width: calc(14% + 6px);
}
 
.current-events-calendar caption span:last-child {
float: right;
/* width of a table cell */
width: calc(14% + 6px);
}
 
Line 35 ⟶ 52:
padding-bottom: 5px;
text-align: right;
}
 
.current-events-calendar-footer td a {
font-weight: normal;
width: initial;
}