Skip to content

Commit 1e263d3

Browse files
committed
Add CSS styles for body, headings, quote, author, and button elements
1 parent 149b2c4 commit 1e263d3

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

Sprint-3/quote-generator/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<link rel="stylesheet" href="style.css" />
67
<title>Quote generator app</title>
78
<script defer src="quotes.js"></script>
89
</head>

Sprint-3/quote-generator/style.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,42 @@
11
/** Write your CSS in here **/
2+
3+
body {
4+
font-family: Arial, sans-serif;
5+
background-color: #d8b4db;
6+
display: flex;
7+
flex-direction: column;
8+
align-items: center;
9+
justify-content: center;
10+
height: 100vh;
11+
margin: 0;
12+
}
13+
14+
h1 {
15+
color: #934a87;
16+
}
17+
#quote {
18+
font-size: 1.5em;
19+
background-color: #d12fe0;
20+
color: #f6f9f5;
21+
margin: 20px;
22+
text-align: center;
23+
max-width: 600px;
24+
padding: 20px;
25+
border-radius: 10px;
26+
}
27+
28+
#author {
29+
font-size: 1.2em;
30+
color: #934a87;
31+
margin-bottom: 20px;
32+
}
33+
34+
button {
35+
padding: 10px 20px;
36+
font-size: 1em;
37+
background-color: #d12fe0;
38+
color: #f6f9f5;
39+
border: none;
40+
cursor: pointer;
41+
border-radius: 50px;
42+
}

0 commit comments

Comments
 (0)