-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (119 loc) · 2.06 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
*,
*:before,
*:after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root{
--theme-color: #ff1756;
}
body{
background-color: #fafafa;
}
.container{
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
left: 50%;
}
.card{
height: 420px;
width: 320px;
background: linear-gradient(
to bottom,
var(--theme-color) 110px,
#ffffff 110px
);
border-radius: 10px;
box-shadow: 0 5px 15px rgba(50,50,50,0.1);
padding: 50px 0;
}
.card *{
font-family: 'Poppins',sans-serif;
text-align: center;
letter-spacing: 0.5px;
font-weight: 600;
}
img{
display: block;
width: 100px;
height: 100px;
position: relative;
border-radius: 50%;
margin: 0 auto;
box-shadow: 0 0 0 8px #ffffff;
}
.card h4{
color: var(--theme-color);
font-size: 16px;
margin: 15px 0 5px 0;
}
.card h5{
color: #454545;
font-weight: 400;
font-size: 14px;
}
.details{
width: 100%;
margin-top: 30px;
display: flex;
justify-content: space-around;
}
.details h2{
font-weight: 400;
}
.details span{
color: var(--theme-color);
}
.buttons{
width: 100%;
display: flex;
justify-content: space-around;
margin-top: 30px;
}
.buttons button{
width: 130px;
padding: 8px 0;
border-radius: 25px;
border: 3px solid var(--theme-color);
}
.buttons button:first-child{
background-color: var(--theme-color);
color: #ffffff;
}
.buttons button:last-child{
background-color: transparent;
color: var(--theme-color);
}
.themes{
background-color: #ffffff;
box-shadow: 0 5px 15px rgba(50,50,50,0.1);
padding: 20px;
margin-top: 40px;
display: flex;
justify-content: space-around;
}
.themes button{
height: 25px;
width: 25px;
border: 3px solid #dddddd;
outline: none;
border-radius: 50%;
cursor: pointer;
}
.btn1{
background-color: #3498db;
}
.btn2{
background-color: #ff1756;
}
.btn3{
background-color: #1cb65d;
}
.btn4{
background-color: #8e44ad;
}
.btn5{
background-color: #f4b932;
}