Skip to content

Commit

Permalink
Add doodle.css
Browse files Browse the repository at this point in the history
  • Loading branch information
c-shubh committed Aug 15, 2022
1 parent 640a6bc commit 471dee3
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="src/style.css">
<link rel="stylesheet" href="src/include-doodlecss.css">
</head>

<body>
<body class="doodle">
<div class="game">
<span class="game-title">Rock Paper Scissors</span>
<div class="round">
<span class="round-title">Round 1</span>
<div class="round doodle-border">
<span id="round-title">Round 1</span>
<div class="move-buttons">
<button type="button" id="rock-button">Rock</button>
<button type="button" id="paper-button">Paper</button>
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@
"type": "module",
"scripts": {
"dev": "vite",
"dev-host": "vite --host",
"build": "tsc && vite build",
"preview": "vite preview"
},
"devDependencies": {
"typescript": "^4.6.4",
"vite": "^3.0.0"
},
"dependencies": {
"doodle.css": "0.0.2",
"party-js": "^2.2.0"
}
}
5 changes: 5 additions & 0 deletions src/include-doodlecss.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import url("doodle.css/doodle.css");
@import url("https://fonts.googleapis.com/css2?family=Short+Stack&display=swap");
body {
font-family: "Short Stack", cursive;
}

0 comments on commit 471dee3

Please sign in to comment.