Update default event styling
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
/* SportsPress */
|
||||
|
||||
.sp-align-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.sp-align-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.sp-align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.sp-header {
|
||||
position: relative;
|
||||
@@ -30,7 +42,9 @@
|
||||
/* Data Tables */
|
||||
.sp-scrollable-table-wrapper {
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
overflow: hidden;
|
||||
overflow-x: auto;
|
||||
position: relative;
|
||||
}
|
||||
.sp-data-table {
|
||||
width: 100%;
|
||||
@@ -103,6 +117,24 @@
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/* Post Excerpt */
|
||||
.sp-excerpt {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* Featured Image */
|
||||
.single-sp_team .wp-post-image,
|
||||
.single-sp_player .wp-post-image,
|
||||
.single-sp_staff .wp-post-image {
|
||||
display: none;
|
||||
}
|
||||
.single-sp_team .sp-template .wp-post-image,
|
||||
.single-sp_player .sp-template .wp-post-image,
|
||||
.single-sp_staff .sp-template .wp-post-image {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* League Table */
|
||||
.sp-league-table td.has-logo {
|
||||
line-height: 2em;
|
||||
@@ -157,6 +189,28 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Events */
|
||||
.sp-event-overview,
|
||||
.sp-event-performance-tables {
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Event Logos */
|
||||
.sp-event-logos .sp-team-logo {
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sp-event-logos .sp-team-logo .sp-team-result {
|
||||
display: block;
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
.sp-event-logos .sp-team-logo:last-child .sp-team-result {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Event Venue */
|
||||
.sp-event-venue thead th {
|
||||
white-space: normal;
|
||||
@@ -368,3 +422,18 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 601px) {
|
||||
.sp-event-logos .sp-team-logo {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.sp-event-logos-2 .sp-team-logo {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.sp-event-logos-2 .sp-team-logo .sp-team-result {
|
||||
display: inline-block;
|
||||
margin: 0 0.25em;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user