Skip to content

Commit dbfc3bb

Browse files
committed
changes to add style.css to match background colour and white text box
1 parent 65ca3fd commit dbfc3bb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Sprint-3/quote-generator/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</head>
1010
<body>
1111
<div class="quote-box">
12-
<h1>Quote Generator</h1>
12+
<h1></h1>
1313
<p id="quote"></p>
1414
<p id="author"></p>
1515
<button type="button" id="new-quote">New quote</button>

Sprint-3/quote-generator/style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,18 @@ body {
1717
}
1818

1919
#quote {
20-
font-size: 1.25rem;
20+
font-size: 1.25rem;
21+
color :orange;
2122
line-height: 1.5;
2223
margin: 20px 0 12px;
24+
text-align: left;
2325
}
2426

2527
#author {
2628
font-weight: 700;
29+
color :orange;
2730
margin-bottom: 20px;
31+
text-align: right;
2832
}
2933

3034
#new-quote {

0 commit comments

Comments
 (0)