-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
142 lines (125 loc) · 2.1 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
font-weight: 600;
}
html {
scroll-behavior: smooth;
scroll-padding: 40px;
}
nav {
position: sticky;
top: 0px;
z-index: 10;
}
.inner {
padding-top: 20px;
}
#navbar {
text-align: center;
}
#navbar a {
margin: 0 10px;
}
.header {
text-align: center;
color: black;
padding: 1rem;
position: relative;
}
.contain {
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-content: center;
align-items: center;
text-align: center;
grid-gap: 1rem;
padding: 1rem 80px;
font-size: 1.2rem;
}
.skill-box {
padding: 1rem;
color: black;
cursor: pointer;
}
.skill-box:hover .img {
transform: translateX(-10px);
}
.skill-title {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem;
margin-bottom: 0.5rem;
position: relative;
}
.skill-title:after {
content: "";
position: absolute;
bottom: 0;
right: 50%;
width: 0;
height: 4px;
border-radius: 2px 0 0 2px;
background-color: #2ecc71;
transition: 0.5s;
}
.skill-title:before {
content: "";
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 4px;
border-radius: 0 2px 2px 0;
background-color: #2ecc71;
transition: 0.5s;
}
.img {
width: 90px;
height: 90px;
position: relative;
border-radius: 45px;
background-image: black;
display: flex;
justify-content: center;
align-items: center;
}
.img:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 90px;
background: rgba(100, 100, 100, 0.5);
border-radius: 45px 0 0 45px;
}
.skill-title h3 {
color: #2ecc71;
margin-top: 0.5rem;
}
.skill-icon {
width: 50px;
}
@media screen and (max-width: 990px) {
.contain {
grid-template-columns: 1fr 1fr;
padding: 2rem 50px;
}
}
@media screen and (max-width: 720px) {
.contain {
grid-template-columns: 1fr;
padding: 2rem 50px;
}
}
.footer {
background-color: #f8f9fa;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}