Update mobile screenshot (#10204)

* Update screenshot and styles on mobile page

* Add IntelliJ files to .gitignore

* Add improved mobile image. Reinstate inline styles in mobile.scala template
deepcrayonfish^2
Carlton McFarlane 2021-12-07 14:49:06 +01:00 committed by GitHub
parent 744abd80cc
commit ece789bbf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 6 deletions

3
.gitignore vendored
View File

@ -48,3 +48,6 @@ RUNNING_PID
# VSCode auto-generated files
.vscode/
# IntelliJ auto-generated files
.idea

View File

@ -47,11 +47,11 @@ object mobile {
),
div(cls := "right-side")(
img(
cls := "nexus5-playing",
width := "268",
height := "513",
src := assetUrl("images/mobile/nexus5-playing.png"),
alt := "Lichess mobile on nexus 5"
width := "437",
height := "883",
cls := "mobile-playing",
src := assetUrl("images/mobile/lichesstv-mobile.png"),
alt := "Lichess TV on mobile"
),
img(
cls := "qrcode",

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -40,9 +40,13 @@
}
.right-side {
flex: 0 0 264px;
flex: 0 0 33%;
text-align: center;
.mobile-playing {
width: 100%;
}
.qrcode {
margin-top: 20px;
}