Base .tile and .tile.blank styles are now in a shared stylesheet
so they can be reused by multiple letter-based games.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
<link rel="stylesheet" href="/reset.css" type="text/css" />
<link rel="stylesheet" href="/style.css" type="text/css" />
+ <link rel="stylesheet" href="/tiles.css" type="text/css" />
<link rel="stylesheet" href="letterrip.css" type="text/css" />
<script src="/react.js"></script>
margin: auto;
}
-/* Tile styling */
-.tile {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 44px;
- height: 44px;
- color: #000;
- background: #f5e6c8;
- border: 2px solid #c9a96e;
- border-radius: 4px;
- font-size: 22px;
- font-weight: bold;
- cursor: grab;
- user-select: none;
- box-shadow: 1px 1px 2px rgba(0,0,0,0.15);
- position: relative;
-}
-
-.tile.blank {
- color: #888;
- border-style: dashed;
-}
+/* Tile styling — base .tile and .tile.blank are in /tiles.css */
.tile.selected {
outline: 3px solid #3498db;
--- /dev/null
+/* Shared tile styling for letter-based games. */
+.tile {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 44px;
+ height: 44px;
+ color: #000;
+ background: #f5e6c8;
+ border: 2px solid #c9a96e;
+ border-radius: 4px;
+ font-size: 22px;
+ font-weight: bold;
+ cursor: grab;
+ user-select: none;
+ box-shadow: 1px 1px 2px rgba(0,0,0,0.15);
+ position: relative;
+}
+
+.tile.blank {
+ color: #888;
+ border-style: dashed;
+}