-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (74 loc) · 1.45 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
:root {
--main-color: rgb(22, 22, 22);
--secondry-color: rgb(51, 51, 51);
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--main-color);
font-family: "Roboto", sans-serif;
}
.card {
background-color: var(--secondry-color);
width: 350px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
flex-direction: column;
gap: 10px;
text-align: center;
border-radius: 20px;
padding: 30px;
}
@media (max-width=992px) {
.card {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}
}
.card img {
margin: 10px auto;
border-radius: 50%;
width: 100px;
margin-bottom: 20px;
}
.card h1 {
color: white;
font-size: 25px;
letter-spacing: 1px;
margin-bottom: -20px;
margin-top: -20px;
}
.card h3 {
color: rgb(154, 180, 71);
font-size: 13px;
margin-bottom: 10px;
margin-top: 30px;
letter-spacing: 2px;
}
.card q {
color: rgb(204, 200, 200);
font-size: 15px;
margin-bottom: 10px;
letter-spacing: 2px;
}
.card a {
text-decoration: none;
color: white;
background-color: #504e4e;
width: 200px;
padding: 10px;
text-align: center;
margin: 5px auto;
border-radius: 10px;
margin-bottom: 5px;
transition: 0.3s;
}
.card a:hover {
transform: translate(0, -2px);
}