Custom CSS for League Manager

The following stylesheet is used for the MSTW League Manager plugin’s front end displays on dev.shoalsummitsolutions.com

/* 
 * MSTW League Manager Custom Stylesheet [mstw_lm-custom-styles.css]  
 *  Should be placed in your theme's (or hopefully child theme's) main directory
 *
 *	MSTW WordPress Plugins (http://shoalsummitsolutions.com)
 *	Copyright 2015 Mark O'Donnell (mark@shoalsummitsolutions.com)
 *
 *	This program is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.

 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program. If not, see .
 *--------------------------------------------------------------------------*/

/* messages appearing on the front-end; 
 * usually warnings that something is wrong 
 */
.mstw-lm-user-msg {
	color:       red;
	font-style:  italic;
	font-weight: normal;
	}
	
/*----------------------------------------------
 * Styles for the Schedule Table [shortcode]
 *----------------------------------------------*/
table.mstw-lm-table td img,
table.mstw-lm-standings td img,
table.mstw-lm-schedules td img,
table.mstw-lm-team-schedule td img
 {
	vertical-align: middle;
	padding-right:  5px;
	}

/*----------------------------------------------
 * Styles for the Schedule Gallery
 *----------------------------------------------*/
table.mstw-lm-table/*, 
table.mstw-lm-standings,
table.mstw-lm-schedules,
table.mstw-lm-team-schedule*/ {
	color:        rgb(51,51,51);
	font-family:  'Open Sans', Helvetica, Arial, sans-serif;
	font-size:    12px;
	table-layout: fixed;
	width:        100%;
	}
	
table.mstw-lm-standings,
table.mstw-lm-schedules,
table.mstw-lm-team-schedule {
	table-layout: auto; 
	}
	
table.mstw-lm-gallery-table {
	table-layout: fixed; 
	}
	
table.mstw-lm-table thead tr th, 
table.mstw-lm-standings thead tr th,
table.mstw-lm-team-schedule thead tr th {
	border:          0;
	border-top:      1px solid #ddd;
	border-bottom:   1px solid #ddd;
	text-transform:  uppercase;
	font-weight:     normal;
	/*padding-right:	 10px;*/
	padding:         3px 0 3px 5px;
	height:          24px;
	vertical-align:  middle;
	}
	
table.mstw-lm-standings.mstw-lm-standings_euro-16-a thead tr th,
table.mstw-lm-standings.mstw-lm-standings_euro-16-b thead tr th,
table.mstw-lm-standings.mstw-lm-standings_euro-16-c thead tr th,
table.mstw-lm-standings.mstw-lm-standings_euro-16-d thead tr th,
table.mstw-lm-standings.mstw-lm-standings_euro-16-e thead tr th,
table.mstw-lm-standings.mstw-lm-standings_euro-16-f thead tr th {
	text-transform:  none;
	}
	
table.mstw-lm-table tbody tr td,
table.mstw-lm-standings tbody tr td,
table.mstw-lm-team-schedule tbody tr td {
	border:      0;
	padding:     3px 0 3px 5px;
	line-height: 18px;
	}
	
table.mstw-lm-table caption {
	font-size:     14px;
	font-weight:   600;
	margin-top:    0;
	margin-bottom: 6px;
	}

table.mstw-lm-table tbody tr td.home-cell::before {
	content: "at";
	padding: 0 10px 0 0;
	}
	
table.mstw-lm-gallery-table tbody tr td.visitor-cell::before {
	content: "vs";
	padding: 0 10px 0 0;
	}	
	
/*----------------------------------------------
 * Styles for the Schedule Gallery [shortcode]
 *----------------------------------------------*/
 /* DATE HEADER ... A BIT SEPARATE */
h4.lm-date-header {
	padding: 12px 6px 6px;
	margin: 0;
	font: normal 700 14px Verdana,Arial,Helvetica,sans-serif;
	color: #454545;
}

/* GAMES ON A DAY Need this to make game-blocks float properly.*/
div.lm-schedule-day-container {
	width: 700px;
}

h4.lm-date-header, .lm-date-header {
	color: #000;
	font-weight: bold;
}

/* GAME HEADER */
.lm-schedule-container div.lm-game-header {
	background: #3F3F3F url( ../images/lm-header-bkgd.png ) top left no-repeat;
	padding: 2px 6px;
	border-bottom: 1px solid #DFDFDF;
	height: 1%;
	overflow-x: hidden;
}

.lm-schedule-container div.lm-game-header p {
	margin:      0;
	padding:     3px 0;
	line-height: 1;
	}

div.lm-header-status {
	float: left;
	width: 130px;
}

p.lm-header-status, p.lm-header-score {
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 15px;
	font-weight: normal;
	color: #fff;
	font-weight: bold;
}

div.lm-header-score {
	float: right;
}

/* TEAM INFO */
div.lm-team {
	overflow: hidden;
	clear: both;
	padding: 6px 6px 6px 0;
	border-bottom: 1px solid #DFDFDF;
	/*background: #FEFEFE url(../images/lm-game-block-bkgd.jpg) top left repeat-x;*/
	background: #FEFEFE;
	height: 1%;
	position: relative;
}

div.lm-team.lm-winner, .lm-winner {
	background: rgba(255, 242, 0, 0.290196);
}

div.lm-team-logo {
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}

div.lm-team-name {
	float: left;
	width: 200px;
	overflow: hidden;
}

p.lm-team-name, p.lm-team-score {
	font: normal 700 14px Helvetica,Arial,sans-serif;
	color: #343434;
	line-height: 28px;
	padding: 0;
	margin: 0;
}

div.lm-team-score {
	float: right;
}

div.lm-game-block {
float: left;
margin-right: 6px;
position: relative;
margin-bottom: 10px;
width: 300px;
}

@media only screen and (max-width: 650px), only screen and (max-device-width: 650px) {
	div.lm-game-block {
		clear: left;
	}
}

/******************************************************/
/* Styles for the Single Game template  */
/******************************************************/

.single-game {
	margin: 15px;
	background-color: #fff;
	padding: 10px;
	width: 600px;
	/*font-size: 1.5rem;*/
	font-size: 21px;
	border: 2px solid black;
}

.single-game a, .single-game a:visited, .single-game a:active {
	color: #666;
	text-decoration: underline;
}

.single-game a:hover {
	color: #666;
	text-decoration: none;
}

/* DATE-TIME BLOCK */
.single-game .date-time-block {
	width: 90%;
	margin: 15px auto 15px auto;
	/*font-size: 1.5rem;*/
	font-weight: bold;
	text-align: center;
}

/* SCOREBOARD BLOCK (MAIN BLOCK) */
.single-game .single-game-sb-block {
	width: 90%;
	margin: 0 auto 15px auto;
	font-weight: bold;
	text-align: center;
	/*font-size: 21px;*/
}

.single-game-sb-block .sb-data {
	font-size: 38px;
}

/* DATA BLOCK - 'VS', SCOREBOARD, OR RESULT */
.single-game-sb-block .sb-data {
	width: 30%;
	float: left;
	margin: 15px 5%;
}

.sb-team-block {
	width: 30%;
	text-align: center;
	margin: auto;
	margin-bottom: 15px;
	float: left;
}

.sb-team-block img {
	margin: 0 auto;
	width: 120px;
	height: auto;
}

div.sb-score, div.sb-status {
	/*color: #F00;*/
	text-align: center;
	/*font-size: 1.5rem;*/
	font-weight: bold;
	margin: 0;
	padding: 0;
}

/* VENUE BLOCK */
.single-game-venue {
	clear: both;
	width: 90%;
	/*font-size: 1.5rem;*/
	margin: 0 auto 15px auto;
	text-align: center;
}

/* MEDIA LINKS BLOCK */
.single-game-links {
	clear: both;
	width: 90%;
	/*font-size: 1.5rem;*/
	text-align: center;
	margin: 0 auto 15px auto;
}

.media-link {
	float: left;
	margin-right: 15px;
}

/*----------------------------------------------
 * Styles for the Pac-12 bowl results gallery
 *----------------------------------------------*/
 table.mstw-lm-table_pac-12-bowls caption {
    background-color: #999; /* gray */
    color:            white;
    font-weight:      bold;
	padding-left:     10px;
	}
 
/*----------------------------------------------
 * Styles for the Pac-12 league schedule
 *----------------------------------------------*/
table.mstw-lm-table_pac-12 thead tr th {
    background-color: #1E3253; /* blue */
    color:            white;
    font-weight:      bold;
	}

table.mstw-lm-table_pac-12 tr:nth-child(even) {
	background-color: #E9E9E9;    /* light blue/gray */
	color:            #0d3a80;   /* blue */
	}
	
table.mstw-lm-table_pac-12 tr:nth-child(odd) {
	background-color: #FFF;       /* white */
	color:            #0d3a80;   /* blue */
	}
	
/*----------------------------------------------
 * Styles for the Pac-12 South league schedule
 *----------------------------------------------*/
table.mstw-lm-table_pac-12-south thead tr th {
    background-color: #999;  /* gray */
    color:            white;
    font-weight:      bold;
	}

table.mstw-lm-table_pac-12-south tr:nth-child(even) {
	background-color: #ECECEC; /* light blue/gray */
	color:            #000;    /* black */
	}

table.mstw-lm-table_pac-12-south tbody tr td {
    border: #A1A1A1 solid 1px;
	}
	
/*----------------------------------------------
 * Styles for the Cal Bears team schedules
 *----------------------------------------------*/	
table.mstw-lm-team-schedule_cal-bears thead tr th {
	background-color: #041E42; /* cal blue */
	color:            #FFC72C; /* cal gold */
	font-weight:      bold;
	border-top:       1px solid #FFC72C; /* cal gold */
	border-bottom:    1px solid #FFC72C; /* cal gold */
	}
	
table.mstw-lm-team-schedule_cal-bears tr:nth-child(odd) {
	background-color: #A2AAAD; /* cal gray */
	color:            #041E42; /* cal blue */
	}

table.mstw-lm-team-schedule_cal-bears tr:nth-child(even) {
	background-color: #041E42; /* cal blue */
	color:            #FFC72C; /* cal gold */
	}

table.mstw-lm-team-schedule_cal-bears tbody tr td {
	border-top:       1px solid #FFC72C; /* cal gold */
	border-bottom:    1px solid #FFC72C; /* cal gold */
	}
	
table.mstw-lm-team-schedule_cal-bears a {
    text-decoration: underline;
}

table.mstw-lm-team-schedule_cal-bears a:hover {
    text-decoration: none;
}

table.mstw-lm-team-schedule_cal-bears tr:nth-child(odd) a,
table.mstw-lm-team-schedule_cal-bears tr:nth-child(odd) a:hover,
table.mstw-lm-team-schedule_cal-bears tr:nth-child(odd) a:visited,
table.mstw-lm-team-schedule_cal-bears tr:nth-child(odd) a:active {
    color: #041E42; /* cal blue */
}

table.mstw-lm-team-schedule_cal-bears tr:nth-child(even) a,
table.mstw-lm-team-schedule_cal-bears tr:nth-child(even) a:hover,
table.mstw-lm-team-schedule_cal-bears tr:nth-child(even) a:visited,
table.mstw-lm-team-schedule_cal-bears tr:nth-child(even) a:active {
    color: #FFC72C; /* cal gold */
}

/*----------------------------------------------
 * Styles for the NHL Standings
 *----------------------------------------------*/	
table.mstw-lm-standings_premier-league thead tr th {
    background-color: #999; /* gray */
    color:            white;
    font-weight:      bold;
	}
	
table.mstw-lm-standings.mstw-lm-standings_premier-league td,
table.mstw-lm-standings.mstw-lm-standings_premier-league th {
    padding-left: 5px;
}

table.mstw-lm-standings.mstw-lm-standings_premier-league td {
    border: #A1A1A1 solid 1px;
}

table.mstw-lm-standings_premier-league tr:nth-child(even) {
	background-color: #ECECEC; /* light blue/gray */
	color:            #000;    /* black */
	}

	
/*----------------------------------------------
 * Styles for the PAC-12 Standings
 *----------------------------------------------*/	
table.mstw-lm-standings_pac-12-north thead tr th {
    background-color: #1E3253; /* blue */
    color:            white;
    font-weight:      bold;
	}

table.mstw-lm-standings_pac-12-north tr:nth-child(even) {
	background-color: #E9E9E9;    /* light blue/gray */
	color:            #0d3a80;   /* blue */
	}
	
table.mstw-lm-standings_pac-12-north tr:nth-child(odd) {
	background-color: #FFF;       /* white */
	color:            #0d3a80;   /* blue */
	}