Skip to content

Commit ca995c5

Browse files
committed
Navbar fixing and Aesthetics look build up
1 parent fd02ef8 commit ca995c5

1 file changed

Lines changed: 47 additions & 2 deletions

File tree

style.css

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,15 @@ nav {
4747
background-color: #0d4360;
4848
padding: 0 2rem;
4949
margin: 0 auto;
50+
position: sticky;
51+
top: 2px;
52+
z-index: 100;
5053
}
54+
nav:hover{
55+
box-shadow: 5px 5px 10px 5px rgba(1, 12, 77, 0.2);
56+
transition-duration: .5s;
5157

58+
}
5259
nav img {
5360
width: 50px;
5461
height: auto;
@@ -89,34 +96,48 @@ main {
8996
padding: 2rem;
9097
gap: 4rem;
9198
margin: 0 8rem;
99+
position: sticky;
100+
top:0%;
101+
z-index: -1;
102+
92103
}
93104

94105
main .right img {
95106
animation: imgUp 1s linear infinite alternate;
107+
108+
96109
}
97110
main .left {
98111
display: flex;
99112
flex-direction: column;
100113
justify-content: center;
101114
gap: 4rem;
115+
116+
102117
}
103118

104119
main .left .headings {
105120
display: flex;
106121
flex-direction: column;
107122
gap: 1.5rem;
123+
124+
108125
}
109126

110127
main .left h1 {
111128
font-size: 4rem;
112129
color: #0d4360;
113130
line-height: 100%;
131+
132+
114133
}
115134

116135
main .left p {
117136
font-size: 0.8rem;
118137
width: 90%;
119138
color: #3d3d3d;
139+
140+
120141
}
121142

122143
.github-btn-cta {
@@ -127,15 +148,31 @@ main .left p {
127148
width: 12.6rem;
128149
font-size: 1rem;
129150
transition: all ease-in-out 0.2s;
151+
152+
130153
}
131154

132155
.github-btn-cta:hover {
133156
background-color: #05f2c7;
134157
color: #0d4360;
158+
159+
135160
}
136161

137162
.project-section {
138-
margin: -2.5rem 8rem 6rem 8rem;
163+
border: 1px rgb(185, 185, 185) solid;
164+
background-color:rgb(255, 255, 255);
165+
/* margin-left : .6rem;
166+
margin-right : .6rem; */
167+
/* margin: -2.5rem 8rem 6rem 8rem; */
168+
padding: 6rem;
169+
/* margin-bottom:1rem ; */
170+
z-index: 10000;
171+
}
172+
.project-section:hover{
173+
box-shadow: 2px 2px 2px 2px rgb(163, 163, 163);
174+
transition-duration: 0.5s;
175+
139176
}
140177

141178
.title {
@@ -178,6 +215,10 @@ main .left p {
178215
border: 2px solid #0d4360;
179216
border-radius: 1rem;
180217
}
218+
.project-header #searchForm:hover{
219+
border: 2px solid #0d4360a0;
220+
transition-duration: .5s;
221+
}
181222

182223
.project-header #search {
183224
font-size: 1rem;
@@ -285,7 +326,11 @@ main .left p {
285326
}
286327

287328
.contributors {
288-
margin: -2.5rem 8rem 4rem 8rem;
329+
/* margin: -2.5rem 8rem 4rem 8rem; */
330+
margin:8rem;
331+
border: 1px solid white;
332+
background-color: white;
333+
289334
}
290335

291336
.contributors .list-section {

0 commit comments

Comments
 (0)