-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (85 loc) · 1.63 KB
/
style.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Open+Sans:wght@300;400;600&family=Roboto&display=swap");
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: "Open Sans", sans-serif;
}
body {
background-color: hsl(210, 36%, 96%);
height: 100vh;
display: flex;
justify-content: center;
}
article h1 {
margin-top: 10rem;
letter-spacing: 1px;
font-size: 2rem;
text-align: center;
}
.line {
height: 0.25rem;
background-color: hsl(205, 78%, 60%);
width: 10rem;
margin-left: auto;
margin-right: auto;
}
.card {
margin-top: 2rem;
width: 80vw;
max-width: 650px;
padding: 1.5rem 1.5rem;
background-color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 0.8rem;
position: relative;
}
#profile-pic {
position: relative;
width: 10rem;
height: 10rem;
border-radius: 50%;
margin-bottom: 1.5rem;
object-fit: cover;
}
section #name {
color: rgb(150, 25, 150);
}
section #job {
color: hsl(205, 80%, 65%);
}
#review-content {
width: 100%;
margin-top: 0.5rem;
padding: 0px 1rem;
color: hsl(209, 22%, 49%);
text-align: center;
}
section button {
font-size: 2rem;
border: none;
background-color: inherit;
padding: 0.5rem;
color: rgb(253, 100, 100);
border-radius: 15%;
background-color: hsl(209, 1%, 92%);
}
section .previous {
position: absolute;
left: 5px;
top: 45%;
}
section .next {
position: absolute;
right: 5px;
top: 45%;
}
section button:hover {
color: red;
cursor: pointer;
background-color: hsl(209, 1%, 90%);
}