-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (71 loc) · 1.21 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
77
78
79
80
81
82
@import url('https://fonts.googleapis.com/css?family=Raleway:400,500');
* {
margin: 0;
padding: 0;
list-style: none;
vertical-align: baseline;
}
body {
background-color: #47365a;
color: #47365a;
font-family: 'Raleway', sans-serif;
font-weight: 400;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-size: 1rem;
}
div {
position: relative;
z-index: 2;
}
a {
text-decoration: none;
}
button {
border: none;
outline: none;
cursor: pointer;
}
.quote-container {
position: absolute;
top: 20%;
margin: auto;
width: 450px;
background-color: #fff;
padding: 2rem;
}
.text-container{
text-align: center;
}
.quote {
font-weight: 500;
font-size: 1.75em;
}
#author {
text-align: right;
margin-top: 1rem;
width: 450px;
height: auto;
text-align: right;
}
.button-container {
margin-top: 2rem;
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.button {
background-color: #47365a;
color: #fff;
padding: 0.5rem;
border-radius: 5px;
cursor: pointer;
}
.button:hover {
opacity: 0.9;
}
#new-quote {
float: right;
}