Skip to content

Commit 69b0cd6

Browse files
add css
1 parent 7651196 commit 69b0cd6

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

‎Sprint-3/quote-generator/style.css‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,57 @@
11
/** Write your CSS in here **/
2+
* {
3+
box-sizing: border-box;
4+
}
5+
6+
body {
7+
margin: 0;
8+
min-height: 100vh;
9+
display: flex;
10+
justify-content: center;
11+
align-items: center;
12+
font-family: Arial, sans-serif;
13+
background-color: #f4f4f4;
14+
color: #333;
15+
}
16+
17+
main {
18+
width: 90%;
19+
max-width: 600px;
20+
padding: 40px;
21+
text-align: center;
22+
background-color: white;
23+
border-radius: 12px;
24+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
25+
}
26+
27+
h1 {
28+
margin-bottom: 30px;
29+
color: #444;
30+
}
31+
32+
blockquote {
33+
margin: 0 0 20px;
34+
font-size: 1.5rem;
35+
line-height: 1.5;
36+
font-style: italic;
37+
}
38+
39+
#author {
40+
margin-bottom: 30px;
41+
font-weight: bold;
42+
color: #777;
43+
}
44+
45+
button {
46+
padding: 12px 24px;
47+
border: none;
48+
border-radius: 6px;
49+
background-color: #333;
50+
color: white;
51+
font-size: 1rem;
52+
cursor: pointer;
53+
}
54+
55+
button:hover {
56+
background-color: #555;
57+
}

0 commit comments

Comments
 (0)