Skip to content

Commit af16855

Browse files
committed
Style: improve responsivness
1 parent 7360167 commit af16855

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

Sprint-3/quote-generator/style.css

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,32 @@ main {
2727
background-color: var(--secondary-color);
2828
color: var(--primary-color);
2929
width: 100%;
30-
max-width: 600px;
31-
min-height: 250px;
32-
padding: clamp(2rem, 5vw, 4rem);
30+
max-width: 850px;
31+
min-height: 300px;
32+
padding: clamp(3rem, 6vw, 5rem);
3333
text-align: right;
3434
padding: 4rem;
3535
}
3636

3737
h1,
3838
#quote {
3939
display: inline;
40-
font-size: clamp(1.2rem, 3vw, 1.5rem);
40+
font-weight: bold;
41+
}
42+
43+
h1 {
44+
font-size: clamp(2.5rem, 6vw, 3rem);
45+
font-family: Theseadow, serif;
46+
}
47+
48+
#quote {
49+
font-size: clamp(1rem, 3vw, 1.5rem);
50+
}
51+
52+
#author {
53+
margin-top: 1rem;
54+
margin-bottom: 1rem;
55+
font-style: italic;
4156
}
4257

4358
button {
@@ -46,4 +61,6 @@ button {
4661
border: none;
4762
padding: 0.5rem 1rem;
4863
cursor: pointer;
64+
font-weight: bold;
65+
font-size: large;
4966
}

0 commit comments

Comments
 (0)