Skip to content

Commit 41b3898

Browse files
author
Robert Sfarzo
authored
Merge pull request #6 from rsfarzo-appdev/b1
B1
2 parents 57a238b + 2abe181 commit 41b3898

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

app/assets/stylesheets/application.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
* It is generally better to create a new file per style scope.
1212
*
1313
*= require_self
14-
*/
14+
*/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
class ApplicationController < ActionController::Base
2+
# layout "application"
23
end

db/development.sqlite3

20 KB
Binary file not shown.

db/test.sqlite3

Whitespace-only changes.

public/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,31 @@
33
<head>
44
<title>Rock-Paper-Scissors Rules</title>
55

6+
<link rel="stylesheet" href="/styles.css">
67
<!-- Expand the number of characters we can use in the document beyond basic ASCII 🎉 -->
78
<meta charset="utf-8">
89
</head>
910

1011
<body>
12+
<div class="row">
1113
<div>
12-
<a href="/rock">
14+
<a class="button" href="/rock">
1315
Play Rock
1416
</a>
1517
</div>
1618

1719
<div>
18-
<a href="/paper">
20+
<a class="button" href="/paper">
1921
Play Paper
2022
</a>
2123
</div>
2224

2325
<div>
24-
<a href="/scissors">
26+
<a class="button" href="/scissors">
2527
Play Scissors
2628
</a>
2729
</div>
28-
30+
</div>
2931
<h1>
3032
Welcome to Rock-Paper-Scissors!
3133
</h1>

public/styles.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
* {
2+
font-family: Arial, Helvetica, sans-serif;
3+
}
4+
.button {
5+
background-color: #4CAF50;
6+
border: none;
7+
color: white;
8+
padding: 15px 32px;
9+
text-align: center;
10+
text-decoration: none;
11+
display: inline-block;
12+
font-size: 16px;
13+
margin: 4px 2px;
14+
cursor: pointer;
15+
border-radius: 12px;
16+
}
17+
/*****************************/
18+
.container {
19+
width: 100%;
20+
}
21+
.row {
22+
display: flex;
23+
justify-content: start;
24+
}
25+
.one-third {
26+
width: 32%;
27+
}

0 commit comments

Comments
 (0)