Widgets for Lichess

Add the following to the <head> of your webpage, and then add at least one of the widgets to the <body> of your webpage.

<link rel="stylesheet" href="https://rubenwardy.com/lichess_widgets/lichess_widgets.css" />
<script src="https://rubenwardy.com/lichess_widgets/lichess_widgets.js"></script>
<!-- For the light theme --> <link rel="stylesheet" href="https://rubenwardy.com/lichess_widgets/light.css" />
<!-- For the dark theme --> <link rel="stylesheet" href="https://rubenwardy.com/lichess_widgets/dark.css" />
<script>lichess_widgets.profile("light", "rubenwardy", "Lichess");</script>
<script>lichess_widgets.profile("light", "rubenwardy");</script>
<script>lichess_widgets.profile_scores("light", "rubenwardy");</script>
<script>lichess_widgets.profile_scores("light", "rubenwardy", "");</script>
<script>lichess_widgets.profile_big("light", "rubenwardy");</script>
<script>lichess_widgets.profile_big("light", "rubenwardy", "My Lichess");</script>
<script>lichess_widgets.profile("dark", "rubenwardy", "Lichess");</script>
<script>lichess_widgets.profile("dark", "rubenwardy");</script>
<script>lichess_widgets.profile_scores("dark", "rubenwardy");</script>
<script>lichess_widgets.profile_scores("dark", "rubenwardy", "");</script>
<script>lichess_widgets.profile_big("dark", "rubenwardy");</script>
<script>lichess_widgets.profile_big("dark", "rubenwardy", "My Lichess");</script>

Created by rubenwardy | GitHub | Licensed under CC-BY-SA 3.0