-
Notifications
You must be signed in to change notification settings - Fork 0
/
skill.css
209 lines (176 loc) · 3.93 KB
/
skill.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
/* skill.css */
/* Styling for body and general sections */
body {
font-family: 'Open Sans', sans-serif;
font-weight: 700;
margin: 0;
background-color: #f4f4f9;
color: #2d2733;
}
.body_section {
padding: 3% 5% 1%;
}
a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease;
}
a:hover {
color: #3498db;
}
/* Custom font Lovely Home */
@font-face {
font-family: "Lovely Home";
src: local('Lovely Home'),
url("Image/LovelyHome-9aBZ.ttf") format('truetype');
}
/* Navbar styling */
.navbar-brand {
font-family: "Lovely Home";
font-size: 35px;
font-weight: bold;
color: #351458;
transition: color 0.3s ease;
}
.navbar-brand:hover {
color: #3498db;
}
.navbar {
background: linear-gradient(135deg, #ffffff, #f0f0f5);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 0.5rem 1rem;
}
.navbar-nav .nav-item .nav-link {
color: #2d2733;
font-size: 0.9rem;
margin: 0 0.5rem;
transition: color 0.3s ease, background-color 0.3s ease;
padding: 0.25rem 0.5rem;
border-radius: 5px;
}
.navbar-nav .nav-item .nav-link.active {
color: #ffffff;
background-color: #3498db;
}
.navbar-toggler {
border: none;
outline: none;
}
.navbar-toggler:focus,
.navbar-toggler-icon:focus {
outline: none;
box-shadow: none;
}
.navbar-toggler-icon {
background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba(0, 0, 0, 0.7)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
transition: transform 0.3s ease;
}
.navbar-toggler.collapsed .navbar-toggler-icon {
transform: rotate(90deg);
}
@media (max-width: 992px) {
.navbar-nav {
background-color: #ffffff;
width: 100%;
text-align: center;
padding: 0.5rem 0;
}
.navbar-nav .nav-item .nav-link {
margin: 0.25rem 0;
}
}
/* Anchor tag styling */
.headerachor {
color: black;
margin: 0 5px;
font-size: 20px;
transition: background-color 0.3s ease;
}
.headerachor:hover {
background-color: #f1f1f1;
}
/* Styling for main skill section */
.Section1 {
padding: 4% 0 3%;
}
/* Styling for skill bars */
#SkillBox {
width: 95%;
margin: 40px auto;
background-color: #fff;
padding: 20px;
border-radius: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.Skill-heading {
font-family: "Montserrat", sans-serif;
font-size: 40px;
font-weight: 300;
text-align: center;
margin-bottom: 2rem;
}
.SkillBar {
position: relative;
height: 60px; /* Adjust height to accommodate icon and text */
margin-bottom: 20px;
border-radius: 20px;
background-color: #e0e0e0; /* Default background color */
overflow: hidden;
}
.Skill-Area {
display: inline-block;
width: 60px; /* Adjust width to accommodate icon */
height: 60px; /* Adjust height to match .SkillBar height */
line-height: 60px;
text-align: center;
color: #fff;
margin-right: 10px;
}
.percentage {
font-size: 16px;
color: #fff;
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
}
/* Individual skill bars with different colors */
#Skill-HTML .SkillBar {
background-color: #6a1b9a; /* Purple color */
}
#Skill-CSS .SkillBar {
background-color: #039be5; /* Blue color */
}
#Skill-Python .SkillBar {
background-color: #4caf50; /* Green color */
}
#Skill-JS .SkillBar {
background-color: #fb8c00; /* Orange color */
}
#Skill-C .SkillBar {
background-color: #d32f2f; /* Red color */
}
#Skill-Cplus .SkillBar {
background-color: #7b1fa2; /* Dark purple color */
}
#Skill-SQL .SkillBar {
background-color: #ffca28; /* Yellow color */
}
/* Media query for smaller screens */
@media only screen and (max-width: 950px) {
body,
html {
text-align: center;
font-size: 16px;
line-height: normal;
}
}
/* Footer styling */
footer {
padding-top: 2%;
color: #868e96;
text-align: center;
background-color: #f0f0f5;
margin-top: 2rem;
padding: 1rem 0;
}