lila/public/stylesheets/coach.css

231 lines
4.0 KiB
CSS

.coach a {
color: #3893E8!important;
}
.coach .top {
/* background: #303F9F; */
background: #639B24;
color: #fff;
display: flex;
}
.coach .top a {
color: #fff!important;
}
.coach .top a:hover {
color: #fff!important;
border-bottom: 1px dotted #fff;
}
.coach .top img.picture {
flex: 0 0 250px;
background: #888;
}
.coach .top .overview {
padding: 15px 25px;
box-sizing: border-box;
height: 250px;
max-height: 250px;
}
.coach .top h1 {
font-family: 'Roboto';
font-size: 33px;
text-transform: uppercase;
letter-spacing: 3px;
padding: 6px 0 9px 0!important;
text-shadow: none!important;
white-space: nowrap;
}
.coach .top .headline {
font-family: 'PT Serif', 'Noto Sans', 'Lucida Grande';
font-size: 16px;
padding: 0 0 20px 0!important;
}
.coach .top .headline.medium {
font-size: 14px;
padding-bottom: 15px!important;
}
.coach .top .headline.large {
font-size: 13.5px;
padding-bottom: 10px!important;
}
.coach .top table {
line-height: 1.7;
}
.coach .top table th {
opacity: 0.7;
padding-right: 20px;
text-align: right;
}
.coach .top .rating td a > span {
margin-left: 4px;
display: inline-block;
}
.coach .sections {
margin-top: 20px;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.coach .sections section {
font-size: 1.2em;
box-sizing: border-box;
width: 50%;
padding: 20px 40px 20px 20px;
text-align: justify;
}
.coach .sections section:nth-child(odd) {
padding: 20px 20px 20px 40px;
}
.coach section h1 {
padding: 0 0 12px 0!important;
color: #639B24;
}
.coach section .content {
overflow: hidden;
text-overflow: ellipsis;
}
.coach .youtube {
background: #222;
margin-top: 20px;
padding-bottom: 20px;
}
.coach .youtube h1 {
padding: 20px 40px!important;
color: #ccc;
}
.coach .youtube .list {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.coach .youtube .list iframe {
margin-bottom: 10px;
width: 256px;
height: 192px;
background: #000;
}
.coach .studies {
margin-top: 20px;
}
.coach .studies h1 {
color: #777;
padding: 20px 30px!important;
}
body.dark .coach .studies h1 {
color: #aaa;
}
.review-form {
margin-top: 30px;
text-align: center;
}
.review-form .toggle {
box-sizing: border-box;
}
.review-form form {
display: none;
}
.review-form textarea {
width: 100%;
height: 14em;
padding: 5px;
box-sizing: border-box;
resize: vertical;
}
.review-form .button {
display: block;
width: 100%;
margin-top: 5px;
}
.reviews {
margin: 20px 0;
}
.reviews h2 {
font-size: 1.5em;
margin-bottom: -10px;
font-family: Roboto;
}
.reviews .review {
margin-top: 15px;
border-top: 1px solid #dadada;
padding-top: 15px;
}
.reviews .top {
display: flex;
justify-content: space-between;
width: 100%;
margin-bottom: 5px;
}
.reviews .top .user_link {
margin-left: -4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.reviews .content {
font-style: italic;
opacity: 0.8;
max-height: 10em;
overflow: hidden;
text-overflow: ellipsis;
transition: 0.3s;
}
.reviews .review:hover .content {
max-height: 50em;
opacity: 1;
}
.reviews .br-wrapper {
flex: 0 0;
}
.coach-side {
margin: 50px 0 0 -35px;
width: 226px;
}
@media (max-width: 1084px) {
.coach-side {
margin-left: 0!important;
width: 196px!important;
}
}
/* review score */
.br-widget {
white-space: nowrap;
}
.br-widget a {
font: 25px "lichess";
text-rendering: auto;
-webkit-font-smoothing: antialiased;
text-decoration: none;
margin-right: 2px;
display: inline-block;
}
.br-widget a:after {
content: 't';
color: #ccc;
}
body.dark .br-widget a:after {
color: #555;
}
.br-widget a.br-active:after,
.br-widget a.br-selected:after {
color: #d59120!important;
}
.br-widget .br-current-rating {
display: none;
}
.br-readonly a {
font-size: 10px;
margin-right: 0;
cursor: default;
}
.br-readonly a.br-selected:after {
margin-right: 0;
color: #888!important;
}
body.dark .reviews .review {
border-color: #3d3d3d;
}