-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
76 lines (66 loc) · 1.57 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap');
/* CSS reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
/*
url() is used to tell CSS where our image is located.
When you apply a background image to an element, by default it will repeat itself.
*/
background-image: url("./images/abundant-collection-antique-books-wooden-shelves-generated-by-ai.jpg");
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
/* styles for the button */
button {
border: none;
background-color: black;
color: white;
padding: 10px 20px;
border-radius: 5px;
font-size: 15px;
cursor: pointer;
}
/* styles for the content container */
.container {
text-align: center;
}
/* styles for the header */
.header {
color: white;
background-color: black;
max-width: 440px;
border: 2px solid white;
border-radius: 5px;
margin: 0 auto 20px auto;
}
/* styles for the quote content */
.quote-container {
background-color: white;
font-size: 20px;
max-width: 530px;
max-height: 530px;
padding: 35px;
border-radius: 10px;
box-shadow: 0px 0px 2px 2px black;
}
.quote {
line-height: 35px;
margin-bottom: 20px;
}
.person {
margin-bottom: 20px;
font-size: 22px;
font-weight: bold;
text-transform: uppercase;
}