lila/public/stylesheets/common.css
2013-10-10 10:25:30 +02:00

2043 lines
40 KiB
CSS

body, ul, ol, li, h1, h2, form, legend, input, textarea, p, th, td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
img {
border:0;
}
em, strong, th {
font-style:normal;
font-weight:normal;
}
li {
list-style:none;
}
th {
text-align:left;
}
h1, h2, h3 {
font-size:100%;
font-weight:normal;
}
input, textarea, select {
font-family:inherit;
font-size:inherit;
font-weight:inherit;
}
/* jquery-ui */
/* button */
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-state-default {
border: 1px solid #d3d3d3;
}
.ui-state-default.ui-state-hover {
border-color: #aaa;
}
button.ui-state-hover {
box-shadow: 0 0 9px #d85000;
}
.ui-state-active {
border: 1px solid #d85000;
}
.ui-state-active.ui-state-hover {
border-color: #984000;
}
/* defaults */
.ui-button {
display: inline-block;
position: relative;
padding: 0;
margin-right: .1em;
text-decoration: none !important;
cursor: pointer;
text-align: center;
overflow: visible;
}
/* the overflow property removes extra width in IE */
.ui-button-icon-only {
width: 2.2em;
}
/* to make room for the icon, a width needs to be set here */
button.ui-button-icon-only {
width: 2.4em;
}
/* button elements seem to need a little more width */
.ui-button-icons-only {
width: 3.4em;
}
button.ui-button-icons-only {
width: 3.7em;
}
/*button text element */
.ui-button .ui-button-text {
display: block;
line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
padding: .4em 1em;
}
/*button sets*/
.ui-buttonset .ui-button {
margin-left: 0;
margin-right: -.3em;
}
/* Corner radius */
.ui-corner-right {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.ui-corner-left {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.ui-corner-all {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
/* workarounds */
button.ui-button::-moz-focus-inner {
border: 0;
padding: 0;
}
/* reset extra padding in Firefox */
ul.ui-autocomplete {
width: 200px;
background: #FAFAFA;
border: 1px solid #DADADA;
max-height: 200px;
overflow: auto;
}
ul.ui-autocomplete li a {
display: block;
padding: 0.6em 1em;
text-decoration: none;
}
ul.ui-autocomplete li a.ui-state-focus {
background: #E1F6F8;
color: #444;
}
/* slider */
.ui-widget-content {
border: 1px solid #DDD;
background: #EEE;
color: #333;
}
.ui-widget-header {
border: 1px solid #E78F08;
color: white;
font-weight: bold;
}
.ui-slider {
background: #fff;
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 1.2em;
height: 1.2em;
cursor: default;
}
.ui-slider .ui-slider-range {
position: absolute;
z-index: 1;
font-size: .7em;
display: block;
border: 0;
background-position: 0 0;
}
.ui-slider-horizontal {
height: .8em;
}
.ui-slider-horizontal .ui-slider-handle {
top: -.3em;
margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
.ui-slider-vertical {
width: .8em;
height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
left: -.3em;
margin-left: 0;
margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
left: 0;
width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
top: 0;
}
#powerTip, #hook {
width: 240px;
min-height: 6em;
cursor: default;
background-color: #f0f0f0;
border: 1px solid #c0c0c0;
border-radius: 4px;
display: none;
position: absolute;
z-index: 2147483647;
}
#powerTip > .title {
padding: 8px;
border-bottom: 1px solid #c0c0c0;
}
#powerTip > .content {
text-align: right;
padding: 16px 8px;
}
#powerTip .lang {
display: block;
height: 16px;
margin-top: 5px;
}
#powerTip:before, #hook:before {
content:"";
position: absolute;
}
#powerTip.n:before, #powerTip.s:before {
border-right: 5px solid transparent;
border-left: 5px solid transparent;
left: 50%;
margin-left: -5px;
}
#powerTip.e:before, #powerTip.w:before {
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
margin-top: -5px;
top: 50%;
}
#powerTip.n:before {
border-top: 10px solid #acacac;
border-top: 10px solid rgba(172, 172, 172, 0.8);
bottom: -10px;
}
#powerTip.e:before {
border-right: 10px solid #acacac;
border-right: 10px solid rgba(172, 172, 172, 0.8);
left: -10px;
}
#powerTip.s:before {
border-bottom: 10px solid #acacac;
border-bottom: 10px solid rgba(172, 172, 172, 0.8);
top: -10px;
}
#powerTip.w:before {
border-left: 10px solid #acacac;
border-left: 10px solid rgba(172, 172, 172, 0.8);
right: -10px;
}
#powerTip.ne:before, #hook.ne:before, #powerTip.se:before {
border-right: 10px solid transparent;
border-left: 0;
left: 10px;
}
#powerTip.nw:before, #powerTip.sw:before {
border-left: 10px solid transparent;
border-right: 0;
right: 10px;
}
#powerTip.ne:before, #hook.ne:before, #powerTip.nw:before {
border-top: 10px solid #acacac;
border-top: 10px solid rgba(172, 172, 172, 0.8);
bottom: -10px;
}
#powerTip.se:before, #powerTip.sw:before {
border-bottom: 10px solid #acacac;
border-bottom: 10px solid rgba(172, 172, 172, 0.8);
top: -10px;
}
#powerTip.nw-alt:before, #powerTip.ne-alt:before, #hook.ne-alt:before, #powerTip.sw-alt:before, #powerTip.se-alt:before {
border-top: 10px solid #acacac;
border-top: 10px solid rgba(172, 172, 172, 0.8);
bottom: -10px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
left: 10px;
}
#powerTip.ne-alt:before, #hook.ne-alt:before {
left: auto;
right: 10px;
}
#powerTip.sw-alt:before, #powerTip.se-alt:before {
border-top: none;
border-bottom: 10px solid #acacac;
border-bottom: 10px solid rgba(172, 172, 172, 0.8);
bottom: auto;
top: -10px;
}
#powerTip.se-alt:before {
left: auto;
right: 10px;
}
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.clearfix {
display:inline-block;
}
.none {
display: none;
}
.s16 {
padding-left: 20px;
background: transparent url(../images/s16.png) top left no-repeat;
}
body {
font:12px'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
color: #848484;
background: #F7F7F7 url(../images/head_bg.png) top left repeat-x;
background-position: left +25px;
}
a, a:visited {
color: #848484;
text-decoration: underline;
cursor: pointer;
}
a:hover {
text-decoration: none;
}
a.revert-underline {
text-decoration: none;
}
a.revert-underline:hover {
text-decoration: underline;
}
strong {
font-weight: bold;
}
.small {
font-size: 11.5px;
}
#site_header {
width: 200px;
float: left;
position: relative;
}
body.tight #site_header {
display: none;
}
#site_header a.lang_fallback {
font-weight: bold;
display: inline-block;
margin-right: 1em;
}
body > div.content {
width: 1005px;
min-height: 590px;
margin: 30px auto 30px auto;
}
body.tight > div.content {
width: auto;
min-width: 780px;
margin-top: 35px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
body > div.content {
margin-top: 40px;
}
body.tight > div.content {
margin-top: 45px;
}
}
#top {
width: 100%;
min-width: 1005px;
height: 24px;
border-bottom: 1px solid #c4c4c4;
}
body.tight #top {
min-width: 780px;
}
#site_description {
position: absolute;
top: -100px;
}
#lichess {
margin-left: 211px;
}
body.tight #lichess {
margin-left: 10px;
}
#site_title {
width: 130px;
color: #666;
font-family:'Trebuchet MS', 'Helvetica Neue', Arial, Sans-Serif;
font-size: 30px;
color: #afafaf;
text-decoration: none;
display: block;
margin-bottom: 3px;
}
body.tight #site_title {
margin-left: 10px;
}
#site_title span.extension {
color: #c8c8c8;
font-weight: normal;
}
#site_title:hover {
color: #8899aa;
}
#site_title:hover span.extension {
color: #99aabb;
}
#site_baseline {
font-style: italic;
color: #afafaf;
}
body.tight #site_baseline {
display: none;
}
div.footer_wrap {
width: 100%;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
background: #EEE;
padding: 20px 0;
display: block;
}
div.footer {
width: 1000px;
margin: auto;
line-height: 2em;
}
body.tight div.footer {
width: auto;
padding: 0 10px;
}
div.footer div.right {
float: right;
text-align: right;
}
.button, a.button {
border-radius: 5px;
border: 1px solid #DADADA;
padding: 0.4em 1em;
text-decoration: none;
cursor: pointer;
}
.button .s16 {
display: inline-block;
height: 16px;
line-height: 16px;
}
a.easy_button {
font-weight: normal;
}
div.content_box {
border: 1px solid #ccc;
border-radius: 5px;
background: #fff;
padding: 20px 24px 24px 24px;
text-align: left;
}
div.content_box h1 {
font-size: 1.8em;
color: #666;
font-weight: normal;
display: inline;
}
div.content_box h1 a.user_link {
display: inline;
}
div.content_box.small_box {
width: 530px;
}
div.content_box.no_padding {
padding: 0;
}
div.content_box.no_padding h1 {
display: block;
padding: 20px 25px;
}
.content_box_title {
padding: 20px 25px 0 25px;
}
div.content_box_top {
padding-left: 25px;
height: 40px;
line-height: 40px;
border-radius: 4px 4px 0 0;
border-bottom: 1px solid #ccc;
}
div.content_box_top a {
float: right;
text-decoration: none;
font-size: 1.2em;
font-weight: bold;
line-height: 40px;
padding: 0 12px;
border-left: 1px solid #ccc;
}
div.content_box_top .link:hover {
background: #fff;
}
div.content_box_top h1.lichess_title {
display: inline;
padding: 0;
}
div.content_box_top .icon {
display: block;
width: 16px;
height: 16px;
float: left;
background: transparent url(/assets/images/s16.png) top left no-repeat;
margin: 12px 8px 0 -10px;
}
.content_box_content {
padding: 20px 25px 25px 25px;
}
div.content_box_inter {
padding-left: 25px;
background: #f0f0f0;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
display: block;
}
div.content_box_inter .intertab {
float: left;
text-align: center;
line-height: 1.5em;
margin: 5px 0 -1px 0;
padding: 0.5em 0.7em;
font-size: 1em;
text-decoration: none;
text-transform: capitalize;
}
div.content_box_inter a.intertab:hover {
background: #fff;
}
div.content_box_inter a.intertab.active {
background: white;
border: 1px solid #ccc;
border-bottom: 0;
text-decoration: none;
}
div.content_box .lichess_title {
font-size: 2em;
display: block;
margin-bottom: 0.5em;
}
div.content_box table.datatable {
width: 100%;
margin-top: 20px;
}
div.content_box table.datatable td {
padding: 5px 10px 5px 10px;
}
div.content_box table.datatable tr:nth-child(odd) {
background: #f7f7f7;
}
table.slist {
width: 100%;
border-bottom: 1px solid #d4d4d4;
}
table.slist thead th {
border-top: 1px solid #d4d4d4;
padding: 0.4em 0.6em;
}
table.slist thead th.large {
font-size: 1.4em;
}
table.slist td {
padding: 0.6em;
font-size: 1.2em;
}
table.slist td .label {
font-family: monospace;
font-size: 10px;
}
table.slist .s16 {
display: block;
height: 16px;
padding: 0 0 0 20px;
}
table.slist tbody tr:nth-child(even) {
background: #f4f4f4;
}
table.slist td:first-child, table.slist th:first-child {
padding-left: 25px;
}
div.lichess_goodies h2 {
text-align: center;
font-size: 1.5em;
}
div.lichess_goodies div.box {
margin-top: 1em;
margin-left: -30px;
width: 212px;
border: 1px solid #C0C0C0;
padding: 7px;
border-radius: 4px;
}
div.lichess_goodies div.box .player {
margin: 4px 0;
}
div.lichess_goodies div.confrontation {
text-align: center;
}
div.lichess_goodies div.confrontation div.vs {
margin-bottom: 5px;
}
div.lichess_goodies a.user_link {
font-weight: bold;
text-decoration: none;
}
#site_header div.side_menu {
margin-top: 15px;
}
#site_header div.side_menu a {
padding: 8px 0 8px 8px;
display: block;
text-decoration: none;
width: 203px;
font-weight: bold;
}
body.tight div.side_menu a {
padding-right: 10px;
}
#site_header div.side_menu a.active {
background: white;
border: 1px solid #dadada;
border-right: none;
border-radius: 4px 0 0 4px;
box-shadow: -3px 0 5px #d0d0d0;
}
#nb_connected_players, #reconnecting, a.goto_nav, #top a.toggle, #top a.bgpicker, a#sound_state {
text-decoration: none;
font-size: 13px;
height: 24px;
line-height: 24px;
padding: 0 8px;
}
#reconnecting {
display: none;
font-style: italic;
}
body.offline #reconnecting {
display: inline-block;
color: red;
float: left;
}
#nb_connected_players {
float: left;
color: #999;
}
body.offline #nb_connected_players {
display: none;
}
#nb_connected_players, #reconnecting {
border-left: 1px solid #ccc;
}
a.goto_nav {
float: left;
}
a.goto_nav:hover, #top a.toggle:hover, #top a.bgpicker:hover, a#sound_state:hover {
background-color: #fff;
}
#top .s16 {
display:block;
height: 16px;
margin-top: 4px;
line-height: 16px;
}
#top a.goto_nav .s16 {
display: inline-block;
vertical-align: text-bottom;
}
#top span.new_messages {
display: none;
padding: 1px 5px 1px 4px;
background: #bbb;
color: white;
font-weight: bold;
border-radius:4px;
font-size: 0.9em;
}
#top span.new_messages.unread {
display: inline;
}
#top .shown a.toggle {
background: #fff;
}
#top a.signin {
float: right;
position: relative;
display: block;
margin: 3px 0.5em 0 0;
padding: 1px 5px;
text-decoration: none;
line-height: normal;
border: 1px solid #d85000;
border-radius: 3px;
}
#top div.auth {
float: right;
position: relative;
}
#top div.auth.shown form, #top div.auth.shown .links {
display: block;
}
#top div.auth .links a {
display: block;
padding: 6px 10px;
text-decoration: none;
text-transform: capitalize;
}
#top div.auth .links a:hover {
background: #F0F0F0;
color: #444;
}
#top div.auth .links .goto_logout {
background-position: 0 -48px;
}
#top div.auth .links .goto_profile {
background-position: 0 -208px;
}
form.wide input[type="text"], form.wide textarea {
padding: 0.5em;
border: 1px solid #D4D4D4;
}
#top a.toggle {
display:block;
padding-right: 4px;
float: left;
}
#top .dropdown {
display: none;
position: absolute;
right: -1px;
top: 24px;
background: #fff;
border: 1px solid #dadada;
border-top: none;
z-index: 1;
}
div.auth input.username, div.auth input.password {
border: 1px solid #dadada;
padding: 2px 3px;
width: 100px;
background: #fff;
}
div.auth input.login {
padding: 0 3px;
}
div.lichess_language {
float: right;
position: relative;
}
ul.language_links {
width: 620px;
padding: 10px;
max-height: 700px;
overflow:auto;
}
#top div.lichess_language.shown ul.language_links {
display: block;
}
ul.language_links a {
display: block;
padding: 0.4em 0.5em;
text-decoration: none;
}
ul.language_links a.current, ul.language_links a.accepted {
font-weight: bold;
color: #444;
}
ul.language_links a.accepted {
text-decoration: underline;
}
ul.language_links a:hover, ul.language_links a.current {
background: #F0F0F0;
}
ul.language_links li {
width: 25%;
height: 24px;
float: left;
display: block;
overflow: hidden;
}
ul.language_links li:last-child {
width: 50%;
font-weight: bold;
font-style: italic;
}
#top div.themepicker {
float: right;
position: relative;
}
#top div.themepicker span.down {
display: block;
margin: 3px 0.5em 0 0;
padding: 1px 5px;
text-decoration: none;
line-height: normal;
}
#top div.themepicker.shown div.themes {
display: block;
}
#top div.themepicker.shown div.theme {
padding: 5px 10px;
cursor: pointer;
}
#top div.themepicker.shown div.theme:hover {
background: #f0f0f0;
}
#top div.themepicker.shown div.color_demo {
border: 1px solid #dadada;
position: relative;
width: 128px;
height: 64px;
}
#top a.bgpicker {
float: right;
}
#top a.bgpicker span {
width: 24px;
height: 24px;
opacity: 0.7;
background: url(../images/s24.png) no-repeat;
background-position: 0 -48px;
display: block;
}
a#sound_state {
float: right;
}
a#sound_state span {
margin-top: 4px;
width: 18px;
height: 15px;
opacity: 0.7;
background: url(../images/s16.png) no-repeat;
background-position: 0 -64px;
display: block;
}
a#sound_state.sound_state_on span {
background-position: 0 -80px;
}
a#sound_state.unavailable {
display: none;
}
#call_boxes {
position: absolute;
top: 30px;
right: 10px;
width: 250px;
}
#translation_call {
margin-top: 1em;
padding: 0.5em;
border: 1px solid #d0d0d0;
display: block;
border-radius: 4px;
text-decoration: none;
position: relative;
}
#translation_call span.action {
float: right;
margin-right: 2px;
}
#translation_call span.name {
font-weight: bold;
}
#translation_call div.progressbar {
margin-top: 0.5em;
background: #fff;
margin-bottom: 0.4em;
}
#translation_call .close {
position: absolute;
bottom: 0.4em;
right: 0.6em;
text-decoration: none;
font-weight: bold;
}
#translation_call .close:hover {
color: red;
font-size: 1.4em;
bottom: 0.2em;
right: 0.3em;
}
#friend_box {
position: fixed;
bottom: 0px;
right: 10px;
background: #fff;
border: 1px solid #ccc;
border-radius: 4px 4px 0 0;
min-width: 150px;
box-shadow: 0 0 7px #d0d0d0;
}
#friend_box .title {
cursor: pointer;
padding: 3px 5px;
border-bottom: 1px solid #ccc;
border-radius: 4px 4px 0 0;
}
#friend_box .content a {
padding: 3px 5px;
text-decoration: none;
display: block;
}
#friend_box .content a:hover {
background: #F0F0F0;
}
#friend_box .nobody {
text-align: center;
display: none;
padding: 3px 5px;
font-style: italic;
}
#friend_box .nobody span {
display: block;
margin: 5px;
}
#friend_box a.find {
display: none;
margin: 7px;
font-style: normal;
}
#friend_box div.nobody:hover a.find {
display: block;
}
span.s16.clock {
background-position: 0 -224px;
padding-bottom: 1px;
}
.s16.tournament {
background-position: 0 -304px;
padding-bottom: 1px;
}
.s16.team {
background-position: 0 -336px;
padding-bottom: 1px;
display: block;
height: 15px;
}
.s16.team.mine {
background-position: 0 -352px;
}
.s16.ddown {
background-position: right -192px;
padding-left: 0;
padding-right: 20px;
}
.s16.message {
background-position: 0 -144px;
}
.s16.nuclear {
background-position: 0 -400px;
}
.s16.download {
background-position: 0 -416px;
}
.s16.tup {
background-position: 0 -432px;
}
.s16.tdown {
background-position: 0 -448px;
}
.s16.lock {
background-position: 0 -480px;
}
.user_link.white, .user_link.black, .user_link.online, .user_link.offline {
line-height: 16px;
display: block;
background: url(../images/s16.png) no-repeat;
padding-left: 20px;
white-space: nowrap;
}
.user_link.white, .s16.challenge, .s16.white {
background-position: 0 -240px;
}
.user_link.black, .s16.black {
background-position: 0 -256px;
}
.s16.random {
background-position: 0 -272px;
}
.user_link.offline {
background-position: 0 -160px;
}
.user_link.online {
background-position: 0 -208px;
}
.user_link.inline {
display: inline-block;
}
.tournament_link {
padding-left: 20px;
background-position: 0 -304px;
}
div.engine_warning {
padding: 5px 5px 5px 40px;
background: #f2dede url(../images/engine_big.png) 8px 5px no-repeat;
line-height: 16px;
border: 1px solid #eed3d7;
color: #894a48;
width: 240px;
margin-bottom: 15px;
}
.engine_mark {
display: inline-block;
width: 16px;
height: 16px;
background: transparent url(../images/engine_small.png) top left no-repeat;
opacity: 0.8;
vertical-align: bottom;
}
#lichess_social {
height: 0px;
text-align: center;
}
#lichess_social div.addtochrome {
margin-bottom: 15px;
}
/* soft inactive gradient */
#top, #hooks_wrap > a.no_hook, div.lichess_chat_top, #friend_box .title, div.undertable_top, .button, .button:visited, .ui-state-default, div.content_box_top, #hooks tr, #translation_call, #notifications > div, div.locale_menu a, table.slist thead {
color: #666;
background: #fafafa;
background: -moz-linear-gradient(center top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#e0e0e0));
background: -webkit-linear-gradient(top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: -ms-linear-gradient(top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: -o-linear-gradient(top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
}
/* active gradient */
#top a.signin, #top a.goto_nav.active, .button.active, .button.active:hover, .ui-state-active, .ui-widget-header, div.pagination span.current, #top span.new_messages, #hooks td.action:hover, div.progressbar.flashy div, .button.strong:hover, div.locale_menu a.active, #import_game .progression {
color: #fff;
background: #d85000;
background: -moz-linear-gradient(center top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f49c00), to(#d85000));
background: -webkit-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -ms-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -o-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
}
/* strong inactive gradient */
#hooks td.action, .button:hover, #hooks_wrap > a.no_hook:hover, .button.strong {
background: #ffffff;
background: -moz-linear-gradient(center top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#c0c0c0));
background: -webkit-linear-gradient(top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
background: -ms-linear-gradient(top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
background: -o-linear-gradient(top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
}
/* current gradient */
#top a.goto_nav.current {
color: #fff;
background: #999;
background: -moz-linear-gradient(center top, #aaa, #999) repeat scroll 0 0 #999;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#aaa), to(#999));
background: -webkit-linear-gradient(top, #aaa, #999) repeat scroll 0 0 #999;
background: -ms-linear-gradient(top, #aaa, #999) repeat scroll 0 0 #999;
background: -o-linear-gradient(top, #aaa, #999) repeat scroll 0 0 #999;
}
/* standard shadow */
div.lichess_chat, div.undertable, div.lichess_board_wrap, .button.strong, .button.shadowed, div.content_box, div.undergame_box, div.lichess_goodies div.box, #powerTip {
box-shadow: 0 0 7px #d0d0d0;
border-radius: 4px;
}
div.checkmateFen {
float: left;
width: 250px;
margin-left: 110px;
cursor: pointer;
}
div.checkmateFen div.lmcs:hover {
background: #eebb77!important;
}
div.checkmateFen div.lmcs.selected {
background: #77eeaa!important;
}
div.checkmateSection {
float: left;
font-size: 0.9em;
}
div.checkmateSection label {
display: block;
width: 310px;
}
div.checkmateSection div.result {
display: none;
height: 48px;
line-height: 48px;
vertical-align: middle;
padding-left: 54px;
font-weight: bold;
}
div.checkmateSection div.success {
background: url(../images/tick-48.png) no-repeat;
color: #00aa00;
}
div.checkmateSection div.failure {
background: url(../images/cross-48.png) no-repeat;
color: #aa0000;
}
div.checkmateCaptcha.success div.success {
display: block;
}
div.checkmateCaptcha.failure div.failure {
display: block;
}
div.undergame_box {
margin-top: 10px;
width: 512px;
border: 1px solid #ccc;
border-radius: 5px;
line-height: 24px;
}
div.undergame_box div.inner {
padding: 10px 10px 0 10px;
width: 492px;
}
div.undergame_box .opponent_choice {
display: none;
}
div.undergame_box a {
text-decoration: none;
}
div.undergame_box a:hover {
text-decoration: underline;
}
div.game_analysis {
padding: 10px;
width: 492px;
}
div.game_analysis a {
background: url("../images/s24.png") no-repeat 0 -72px;
display: block;
height: 24px;
padding-left: 30px;
}
div.game_more div.more_top {
padding: 3px 10px;
width: 492px;
height: 29px;
border-bottom: 1px solid #ccc;
}
div.game_more div.more_top span.bookmark {
margin-top: 2px;
margin-right: 34px;
}
div.game_more a.game_permalink {
float: left;
margin-top: 3px;
}
div.game_more textarea {
display: block;
width: 100%;
height: 200px;
font-family: monospace;
line-height: normal;
margin: 0;
background: #fff;
color: #888;
border: 1px solid #eaeaea;
padding: 5px;
border-radius: 3px;
}
div.game_extra div.right_coll {
float: right;
max-width: 48%;
}
/* gamelist.css */
div.game_row {
display: block;
padding: 1.4em 20px;
height: 224px;
line-height: 1.6em;
border-bottom: 1px solid #eaeaea;
position: relative;
}
div.game_row:nth-child(odd) {
background: #f4f4f4;
}
div.game_row div.infos span.win {
color: #00AA00;
}
div.game_row div.infos span.loss {
color: #AA0000;
}
div.game_row a.go_analyse {
position: absolute;
bottom: 16px;
right: 25px;
text-decoration: none;
}
div.game_row table td {
padding: 4px 0;
}
div.game_row span.color {
line-height: 16px;
display: block;
margin-right: 1em;
}
div.game_row span.white {
background-position: 0 -240px;
}
div.game_row span.black {
background-position: 0 -256px;
}
div.game_row .bookmark {
margin-right: 26px;
}
div.game_list.realtime {
margin-top: 1.4em;
}
div.game_list.realtime > div {
float: left;
margin: 0px 12px 12px 12px;
}
div.vstext {
font-size: 11.5px;
width: 224px;
line-height: 1.2em;
height: 2.4em;
overflow: hidden;
white-space: nowrap;
margin-top: 5px;
position: relative;
}
div.vstext > .center {
width: 100%;
text-align: center;
}
div.vstext .left {
float: left;
}
div.vstext .right {
float: right;
text-align: right;
}
div.vstext .center {
position: absolute;
bottom: 0;
text-align: center;
}
div.extra_top {
float: right;
margin: 20px 20px 0 0;
}
.mini_board {
width: 224px;
height: 224px;
position: relative;
display: block;
box-shadow:0 0 5px #666;
}
div.all_games a.mini_board {
float: left;
margin: 0 20px 20px 10px;
}
div.lmcs {
position: absolute;
width: 28px;
height: 28px;
}
div.lmcs.white {
background: #FFFFFF;
}
div.lmcs.black {
background: #cacaca;
}
div.lmcs.moved {
background-image: url(../images/sprite_mini3.png);
background-position: -168px 0;
}
div.lcmp {
position: absolute;
width: 28px;
height: 28px;
background-image: url(../images/sprite_mini3.png);
}
div.lcmp.pawn.white {
background-position: 0 0;
}
div.lcmp.bishop.white {
background-position: -28px 0;
}
div.lcmp.knight.white {
background-position: -56px 0;
}
div.lcmp.rook.white {
background-position: -84px 0;
}
div.lcmp.queen.white {
background-position: -112px 0;
}
div.lcmp.king.white {
background-position: -140px 0;
}
div.lcmp.pawn.black {
background-position: 0px bottom;
}
div.lcmp.bishop.black {
background-position: -28px bottom;
}
div.lcmp.knight.black {
background-position: -56px bottom;
}
div.lcmp.rook.black {
background-position: -84px bottom;
}
div.lcmp.queen.black {
background-position: -112px bottom;
}
div.lcmp.king.black {
background-position: -140px bottom;
}
/* opening.css */
div.game_config button {
font-size: 1.4em;
padding: 0 2em;
}
div.game_config button {
letter-spacing: 1px;
}
div.lichess_overboard h2 {
margin-bottom: 1em;
font-size: 1.4em;
padding: 0 2em;
}
div.lichess_overboard .target {
display: inline-block;
margin-bottom: 2em;
}
div.game_config div.ui-buttonset {
margin-bottom: 1em;
}
#config_level .ui-button {
margin-right: -0.6em;
}
div.game_config .ui-button-text, div.game_config select {
text-transform: capitalize;
}
div.game_config div.ui-slider {
font-size: 1.3em;
margin: 0 15px;
}
div.game_config .optional_config {
background: #f4f4f4;
margin-bottom: 1em;
padding: 3px 0;
border-top: solid 1px #e4e4e4;
border-bottom: solid 1px #e4e4e4;
}
div.game_config input[type="text"] {
border: 1px solid #ccc;
width: 87%;
padding: 2px 3px;
}
div.game_config .fen_position {
display: none;
}
div.game_config input {
font-family: monospace;
}
div.game_config input#fen.success {
border-color: #00aa00;
}
div.game_config input#fen.failure {
border-color: #aa0000;
color: #aa0000;
}
div.game_config .fen_position .mini_board {
margin: 10px auto 0 auto;
}
div.game_config .time_choice, div.game_config .increment_choice, div.game_config .elo_range_config {
padding-bottom: 1em;
text-align: left;
text-indent: 15px;
}
div.game_config .time_choice span {
font-weight: bold;
}
div.game_config label.pointer {
cursor: pointer;
}
div.game_config button.submit {
margin-top: 0.5em;
}
div.game_config div.color_submits {
margin-top: 1em;
margin-left: 18px;
height: 65px;
}
div.game_config div.color_submits button.submit {
float: left;
width: 80px;
height: 65px;
padding: 5px 14px;
margin: 0 5px;
}
div.game_config div.color_submits button.submit span {
background: url(../images/sprite_color.png) no-repeat;
width: 50px;
height: 51px;
padding: 0;
}
div.game_config div.color_submits button.black span {
background-position: 0 -51px;
}
div.game_config div.color_submits button.random span {
background-position: 0 -102px;
}
#hooks_wrap {
display: block;
width: 512px;
height: 512px;
top: 0;
left: 0;
background: #f0f0f0 url(../images/knight2000.png) no-repeat;
border-radius: 0 5px 5px 5px;
overflow-x: hidden;
overflow-y: auto;
}
#hooks_wrap > div.tabs {
position: absolute;
top: -22px;
left: -1px;
height: 20px;
line-height: 20px;
}
#hooks_wrap > div.tabs > a {
text-decoration: none;
padding: 5px 10px;
border: 1px solid #ccc;
border-radius: 3px 3px 0 0;
border-bottom: 0;
background: #d0d0d0;
}
#hooks_wrap > div.tabs > a:hover, #hooks_wrap > div.tabs > a.active {
background: #f0f0f0;
}
#hooks_wrap > div.tabs > a.active {
font-weight: bold;
}
#hooks_wrap > a.filter {
position: absolute;
top: -21px;
right: -1px;
height: 20px;
line-height: 20px;
padding: 0 2px 0 10px;
border-bottom: 0;
display: block;
text-decoration: none;
}
#hooks_wrap > a.filter:hover, #hooks_wrap > a.filter.active {
background: #fff;
}
#hooks_wrap > a.filter span.number {
display: none;
}
#hooks_wrap > a.filter.on {
padding: 0 10px 0 2px;
}
#hooks_wrap > a.filter.on span.s16 {
padding: 0 0 0 20px;
background-position: left -112px;
}
#hooks_wrap > a.filter.on span.number {
display: inline;
}
#hook_filter {
position: absolute;
z-index: 99;
display: none;
top: 0px;
right: 0px;
min-height: 181px;
width: 472px;
height: 472px;
padding: 20px;
background: rgba(255, 255, 255, 0.8);
border-radius: 5px;
}
#hook_filter table {
width: 100%;
}
#hook_filter td {
padding: 20px 0;
}
#hook_filter td:first-child {
font-size: 1.3em;
}
#hook_filter td > label {
display: block;
padding: 3px 0;
color: #444;
}
#hook_filter label.hover, #hook_filter input {
cursor: pointer;
}
#hook_filter td > label.hover:hover {
background: #fff;
}
#hook_filter .range {
text-align: center;
}
#hook_filter .actions {
margin-top: 20px;
text-align: right;
}
#hook_filter .actions button {
padding: 6px;
margin-left: 3px;
}
#hooks_table {
width: 512px;
max-height: 512px;
}
#hooks_table th {
cursor: pointer;
border-bottom: 1px solid #ccc;
padding: 12px 12px;
}
#hooks_table th > span {
display: inline-block;
height: 16px;
line-height: 16px;
padding-right: 20px;
background: transparent url(../images/s16.png) top right no-repeat;
background-position: 0 9999px;
}
#hooks_table th.sorting-asc > span {
background-position: right -384px;
font-weight: bold;
}
#hooks_table th.sorting-desc > span {
background-position: right -368px;
font-weight: bold;
}
#hooks_table th.player {
width: 110px;
}
#hooks_table td {
padding: 12px 12px;
border-bottom: 1px solid #ccc;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
}
#hooks_table.crowded td {
padding: 8px 12px;
}
#hooks_table tr:nth-child(odd) td {
background: rgba(255, 255, 255, 0.6);
}
#hooks_table tr:nth-child(even) td {
background: rgba(230, 230, 230, 0.5);
}
#hooks_table tr.cancel td {
background: rgba(200, 255, 200, 0.7);
}
#hooks_table tr:hover td {
background: rgba(255, 255, 200, 0.7);
}
#hooks_table td:first-child {
width: 16px;
}
#hooks_table td:first-child span {
display: block;
padding: 0;
width: 16px;
height: 16px;
opacity: 0.7;
}
#hooks_table .chess960 {
padding-left: 1em;
font-size: 0.9em;
font-weight: bold;
}
#hooks_chart {
position: absolute;
top: 0;
left: 0;
width: 512px;
height: 512px;
}
#hooks_chart > span.label {
font-size: 8px;
position: absolute;
left: 3px;
bottom: 1px;
text-shadow: 0 0 3px #fff;
font-weight: bold;
}
#hooks_chart > div.grid {
position: absolute;
left: 0px;
bottom: 0px;
}
#hooks_chart > div.grid.horiz {
width: 100%;
border-top: 1px dashed #ccc;
}
#hooks_chart > div.grid.vert {
height: 100%;
border-right: 1px dashed #ccc;
}
#hooks_chart .canvas {
position: relative;
width: 512px;
height: 512px;
}
#hooks_chart .plot {
position: absolute;
width: 17px;
height: 17px;
background: #d0d0d0;
border: 3px solid #666;
box-shadow: 0 0 5px #777;
cursor: pointer;
z-index: 1;
}
#hooks_chart .plot:hover {
z-index: 2;
}
#hooks_chart .plot.casual {
border-radius: 16px;
}
#hooks_chart .plot.rated {
border-radius: 3px;
transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
-webkit-transform:rotate(45deg);
-ms-transform:rotate(45deg);
width: 15px;
height: 15px;
}
#hooks_chart .plot.chess960 {
border-style: double;
border-width: 5px;
}
#hooks_chart .plot.casual.chess960 {
width: 13px;
height: 13px;
}
#hooks_chart .plot.rated.chess960 {
width: 11px;
height: 11px;
}
#hooks_chart .plot.cancel {
background: #666;
}
#hooks_wrap > a.no_hook {
position: absolute;
top: 192px;
left: 64px;
display: block;
width: 356px;
padding: 60px 10px;
margin: 4px;
font-size: 1.25em;
border-radius: 3px;
color: #444;
text-align: center;
box-shadow:0 0 5px #333;
text-decoration: none;
}
#hook {
display: none;
width: 120px;
height: 120px;
color: #444;
text-align: center;
border: none;
box-shadow:0 0 9px #333;
background: #d0d0d0;
}
#hooks_chart .plot:hover {
background-color: #f6f6f6;
}
#hooks_chart .plot:hover, #hooks_wrap > a.no_hook:hover {
box-shadow: 0 0 9px #d85000 !important;
}
#hook .opponent {
border-radius: 3px 3px 0 0;
display: block;
height: 20px;
line-height: 20px;
padding: 5px 0;
background: #666;
color: #eee;
overflow: hidden;
text-decoration: none;
}
#hook a.opponent:hover {
text-decoration: underline;
}
#hook .clearfix {
width: 100%;
height: 30px;
}
#hook .elo, #hook .clock {
display: block;
width: 60px;
height: 20px;
padding: 5px 0;
font-size: 1.25em;
font-weight: bold;
}
#hook .elo {
float: right;
color: #bbb;
background: #666;
}
#hook .clock {
float: left;
color: #555;
}
#hook .clock > span {
color: #909090;
}
#hook .clock.nope {
font-size: 2.3em;
padding-top: 3px;
line-height: 20px;
}
#hook .mode {
margin-top: 40px;
}
#hook .mode, #hook .chess960 {
font-size: 1.25em;
display: block;
}
#hook .color {
position: absolute;
bottom: 5px;
left: 5px;
display: block;
width: 16px;
height: 16px;
background-position: 0 -240px;
}
#hook .color.black {
background-position: 0 -256px;
}
#hook .engine {
position: absolute;
bottom: 0px;
right: 0px;
display: block;
width: 16px;
height: 16px;
background: red url(../images/engine_small.png) top left no-repeat;
border-radius: 8px 0 3px 0;
}
div.undertable {
width: 514px;
font-size: 11.5px;
margin-top: 15px;
}
div.undertable_top {
border-radius: 4px 4px 0 0;
border: 1px solid #ccc;
padding: 3px 5px;
}
div.undertable_top a.more {
float: right;
padding-right: 2px;
text-decoration: none;
}
div.undertable_top span.title {
font-weight: bold;
color: #999;
padding-left: 4px;
}
div.undertable_inner {
border: 1px solid #ccc;
border-top: 0;
border-radius: 0 0 4px 4px;
height: 204px;
width: auto;
overflow: hidden;
}
div.undertable_inner:hover {
overflow-y: auto;
}
div.undertable a.user_link {
text-decoration: none;
font-weight: bold;
color: #999;
}
div.undertable a.user_link:hover {
text-decoration: underline;
}
div.undertable table {
width: 100%;
height: 100%;
}
div.undertable td {
padding: 6px 5px 6px 5px;
background: #fff;
border-top: 1px solid #eaeaea;
}
div.undertable tr:first-child td {
border-top: none;
}
div.undertable tr:nth-child(even) td {
background: #f0f0f0;
}
div.open_tournaments div.undertable_inner {
height: auto;
}
div.open_tournaments input.submit {
padding: 0.2em 1em;
}
div.open_tournaments td:first-child {
padding-left: 1em;
}
div.open_tournaments tr.create td {
text-align: center;
}
div.lichess_bot tr {
cursor: pointer;
}
div.lichess_bot a.watch {
display: block;
width: 24px;
height: 24px;
background: url("../images/s24.png") no-repeat 0 -96px;
opacity: 0.4;
}
div.lichess_bot tr:hover a.watch {
opacity: 1;
}
div.new_posts li {
margin: 0.6em 0;
padding-left: 9px;
line-height: 14px;
white-space: nowrap;
}
div.new_posts li.s16 {
padding-left: 20px;
margin-left: 5px;
height: 15px;
display: block;
}
div.new_posts a.post_link {
margin-right: 7px;
}
div.new_posts li span {
font-weight: bold;
margin-right: 6px;
color: #aaa;
}
div.lichess_overboard.joining input.submit {
font-size: 1.2em;
margin-top: 1em;
padding: 0.6em 1em;
}
div.lichess_overboard.joining .mini_board {
margin: 10px auto;
}
#timeline {
margin-top: 2em;
border-top: 1px solid #e0e0e0;
padding-top: 1em;
margin-left: -30px;
width: 230px;
}
#timeline > .entry {
padding-bottom: 1em;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 1em;
}
#timeline time {
font-size: 0.8em;
color: #afafaf;
}
#timeline a {
font-weight: bold;
color: #a0a0a0;
text-decoration: none;
}
#timeline a.user_link {
background: none;
padding-left: 0;
display: inline-block;
}
#timeline .links {
width: 100%;
}
#timeline .links a {
font-weight: normal;
}
#timeline a.more {
display: block;
float: right;
}
#timeline a.chat {
display: block;
float: left;
}
span.bookmark {
position: relative;
float: right;
margin-right: 14px;
}
span.bookmark .icon {
position: absolute;
top: 0;
left: 0;
background: transparent url(../images/s24.png) top left no-repeat;
height: 24px;
display: block;
padding-left: 28px;
line-height: 28px;
text-decoration: none;
color: #a0a0a0;
}
span.bookmark .icon.bookmarked {
background-position: 0 -24px;
}
span.bookmark a {
outline: none;
}
div.progressbar {
background: #eaeaea;
border: 1px solid #e0e0e0;
border-radius: 5px;
padding: 1px;
}
div.progressbar div {
background: #d8a050;
height: 12px;
border-radius: 4px;
}
div.progressbar.flashy.green div {
background: #90d050;
}
#notifications {
width: 1005px;
margin: 0 auto -10px auto;
}
#notifications .deploy {
line-height: 16px;
}
#notifications > div {
margin-left: 211px;
width: 496px;
border: 1px solid #c0c0c0;
padding: 6px 8px 7px 8px;
margin-bottom: 8px;
border-radius: 3px;
}
#notifications > div a.close {
text-decoration: none;
float: right;
}
#notifications > div a.close:hover {
font-weight: bold;
}
#notifications .user_link {
display: inline-block;
}
#notifications .action {
float: right;
display: block;
margin-left: 8px;
}
a.hover_text > .base, a.hover_text:hover > .hover {
display: inline-block;
}
a.hover_text > .hover, a.hover_text:hover > .base {
display: none;
}
input:focus::-webkit-input-placeholder {
color: transparent;
}
input:focus:-moz-placeholder {
color: transparent;
}
input:focus::-moz-placeholder {
color: transparent;
}
input:focus:-ms-input-placeholder {
color: transparent;
}
div.relation_actions {
white-space: nowrap;
}
div.relation_actions a.button {
padding: 0.3em 0.4em 0.3em 0.6em;
}
#powerTip div.relation_actions a.button, div.user_show div.relation_actions a.button {
padding: 0.6em 0.8em 0.6em 1em;
}
div.relation_actions a.relation.processing {
opacity: 0.2
}
div.relation_actions .icon {
margin-right: 6px;
}
div.relation_actions .icon span {
display: inline-block;
vertical-align: text-top;
padding: 0;
margin: 0;
width: 16px;
height: 16px;
}
#powerTip.messages {
width: 400px;
padding: 1em;
min-height: 1em;
}
#powerTip.messages a {
padding: 0.6em;
white-space: nowrap;
overflow: hidden;
display: block;
}