Skip to content

Commit

Permalink
Merge branch 'master' into flair-blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar authored Dec 15, 2024
2 parents 51c9683 + 9313ffa commit 3d544b3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object Dependencies {
val lilaSearch = "org.lichess.search" %% "client" % "3.1.0"
val munit = "org.scalameta" %% "munit" % "1.0.3" % Test
val uaparser = "org.uaparser" %% "uap-scala" % "0.18.0"
val apacheText = "org.apache.commons" % "commons-text" % "1.12.0"
val apacheText = "org.apache.commons" % "commons-text" % "1.13.0"
val apacheMath = "org.apache.commons" % "commons-math3" % "3.6.1"
val bloomFilter = "com.github.alexandrnikitin" %% "bloom-filter" % "0.13.1_lila-1"
val kittens = "org.typelevel" %% "kittens" % "3.4.0"
Expand Down
29 changes: 28 additions & 1 deletion ui/recap/css/_recap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@ body {
--c-font-shadow: hsla(0, 0, 0%, 0);
&,
.site-title,
.site-title span,
.site-buttons .link {
#user_tag::after,
&,
&:hover {
color: #fff;
}
}
.hbg__in {
&,
&::before,
&::after {
background-color: #fff;
}
}
#clinput,
#friend_box,
.site-title-nav__donate {
Expand Down Expand Up @@ -98,6 +107,7 @@ body {
.recap--massive {
@extend %flex-column;
align-items: center;
max-width: 80%;
@include fluid-size('font-size', 19px, 42px);
strong {
font-size: 3em;
Expand Down Expand Up @@ -150,7 +160,7 @@ body {

.recap__shareable {
.logo {
width: 80%;
width: 60%;
max-width: 400px;
}
h2 {
Expand Down Expand Up @@ -191,6 +201,23 @@ body {
margin-top: 1em;
}
}
@media (max-height: 650px) {
.logo {
height: 20px;
width: auto;
}
h2 {
font-size: 1.2em;
margin: 0.4em 0;
}
.openings {
margin-top: 1em;
.stat {
font-size: 1em;
margin-top: 0.5em;
}
}
}
}

.recap small {
Expand Down
4 changes: 2 additions & 2 deletions ui/recap/src/slides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const sources = (r: Recap): VNode => {
return (
best[0] &&
slideTag('sources')([
h('div.recap--massive', 'Where did you play?'),
h('div.recap--massive', 'Where did you find games?'),
h(
'table.recap__data',
h(
Expand All @@ -214,7 +214,7 @@ export const sources = (r: Recap): VNode => {

export const perfs = (r: Recap): VNode => {
return slideTag('perfs')([
h('div.recap--massive', 'What did you play?'),
h('div.recap--massive', 'What time controls and variants did you play?'),
h(
'table.recap__data',
h(
Expand Down

0 comments on commit 3d544b3

Please sign in to comment.