Module:Football box/sandbox/styles.css
Jump to navigation
Jump to search
.footballbox {
clear: both;
overflow: auto;
}
.footballbox tr {
vertical-align: top;
}
.footballbox time {
display: block;
overflow: auto;
}
.footballbox .ftitle {
text-align: center;
font-weight: bold;
}
.footballbox .fevent {
width: 100%;
table-layout: fixed;
text-align: center;
}
.footballbox .fevent,
.footballbox .fright {
margin-bottom: 10px;
}
.footballbox .fdate,
.footballbox .ftime {
display: block;
}
.footballbox .fhome,
.footballbox .faway {
width: 39%;
}
.footballbox .fscore {
width: 22%;
}
.footballbox .fgoals {
font-size: 85%;
}
.footballbox .fhome,
.footballbox .fhgoal {
text-align: right;
}
.footballbox .faway,
.footballbox .fagoal {
text-align: left;
}
.footballbox .fpenalty-first-home .fhgoal,
.footballbox .fpenalty-first-away .fagoal {
padding-top: 0;
}
.footballbox .fpenalty-first-home .fagoal,
.footballbox .fpenalty-first-away .fhgoal {
padding-top: 1.2em;
}
.footballbox .fpenalty-first-home .fhgoal > .plainlist > div > ul > li,
.footballbox .fpenalty-first-home .fhgoal > div > ul > li,
.footballbox .fpenalty-first-away .fagoal > .plainlist > div > ul > li,
.footballbox .fpenalty-first-away .fagoal > div > ul > li {
margin-bottom: 1.2em;
}
.footballbox .fpenalty-first-home .fhgoal > .plainlist > div > ul > li:last-child,
.footballbox .fpenalty-first-home .fhgoal > div > ul > li:last-child,
.footballbox .fpenalty-first-away .fagoal > .plainlist > div > ul > li:last-child,
.footballbox .fpenalty-first-away .fagoal > div > ul > li:last-child {
margin-bottom: 0;
}
.footballbox .fpenalty-first-home .fagoal > .plainlist > div > ul > li,
.footballbox .fpenalty-first-home .fagoal > div > ul > li,
.footballbox .fpenalty-first-away .fhgoal > .plainlist > div > ul > li,
.footballbox .fpenalty-first-away .fhgoal > div > ul > li {
margin-bottom: 1.2em;
}
.footballbox .fpenalty-first-home .fagoal > .plainlist > div > ul > li:last-child,
.footballbox .fpenalty-first-home .fagoal > div > ul > li:last-child,
.footballbox .fpenalty-first-away .fhgoal > .plainlist > div > ul > li:last-child,
.footballbox .fpenalty-first-away .fhgoal > div > ul > li:last-child {
margin-bottom: 0;
}
@media all and (min-width: 720px) {
.footballbox .fdate,
.footballbox .ftime,
.footballbox .frnd {
text-align: right;
}
.footballbox .fleft,
.footballbox .fright {
float: left;
padding: 2px 0;
}
.footballbox .fleft {
width: 15%;
overflow: auto;
}
.footballbox .fevent {
float: left;
width: 61%;
}
.footballbox .fevent,
.footballbox .fright {
margin-bottom: 0;
}
.footballbox .fright {
font-size: 85%;
width: 24%;
}
}