-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
146 lines (123 loc) · 2.01 KB
/
styles.css
File metadata and controls
146 lines (123 loc) · 2.01 KB
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
/* Reset + Base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Segoe UI', sans-serif;
background-color: #1e1e1e;
color: #e5e5e5;
line-height: 1.6;
}
a {
color: #4ea3f1;
text-decoration: none;
}
/* Top Navigation Bar */
.topnav {
background-color: #111;
padding: 12px 20px;
position: sticky;
top: 0;
z-index: 999;
box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
.topnav ul {
list-style: none;
display: flex;
justify-content: center;
align-items: center;
gap: 30px;
padding: 0;
margin: 0;
}
.topnav ul li {
display: inline;
}
.topnav ul li a {
color: #eee;
font-weight: 600;
text-decoration: none;
padding: 10px 15px;
display: block;
border-radius: 5px;
transition: background 0.3s ease, color 0.3s ease;
}
.topnav ul li a:hover {
background-color: #222;
color: #4ea3f1;
}
/* Layout Container */
.container {
display: flex;
min-height: 100vh;
flex-direction: row;
}
/* Sidebar */
.sidebar {
background-color: #2c2c2c;
width: 320px; /* was 280px */
padding: 20px;
text-align: center;
}
.sidebar h1 {
font-size: 1.5rem;
margin: 1rem 0 0.5rem;
}
.sidebar p {
font-size: 0.9rem;
margin: 0.5rem 0;
}
.sidebar .profile-pic {
width: 150px;
height: 150px;
border-radius: 8px;
object-fit: cover;
border: 3px solid #fff;
}
.location {
color: #ccc;
}
.social-links {
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 6px;
}
/* Main Content */
.content {
flex-grow: 1;
padding: 40px;
}
.content section {
margin-bottom: 40px;
}
h2 {
margin-bottom: 10px;
border-bottom: 2px solid #4ea3f1;
padding-bottom: 4px;
display: inline-block;
}
.skills-grid {
list-style: none;
display: flex;
gap: 10px;
flex-wrap: wrap;
padding: 0;
margin-top: 10px;
}
.skills-grid li {
background-color: #333;
padding: 6px 12px;
border-radius: 4px;
}
.project-item {
background-color: #2b2b2b;
padding: 10px 15px;
border-radius: 6px;
margin-bottom: 1rem;
}