-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
108 lines (92 loc) · 1.74 KB
/
styles.css
File metadata and controls
108 lines (92 loc) · 1.74 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
body {
font-family: Arial, sans-serif;
margin: 0;
background-color: var(--bg-color);
color: var(--text-color);
transition: background-color 0.3s, color 0.3s;
}
:root {
--bg-color: white;
--text-color: black;
--primary-color: #007bff;
}
body.dark {
--bg-color: #121212;
--text-color: white;
}
header {
text-align: center;
padding: 2rem 0;
background-color: var(--primary-color);
color: white;
}
header img.profile-photo {
width: 120px;
height: 120px;
border-radius: 50%;
}
nav {
background: var(--primary-color);
padding: 1rem;
display: flex;
justify-content: center;
gap: 1rem;
}
nav a {
color: white;
text-decoration: none;
font-weight: bold;
}
.container {
max-width: 800px;
margin: auto;
padding: 2rem;
}
.skills span {
display: inline-block;
background: var(--primary-color);
color: white;
padding: 0.3rem 0.6rem;
margin: 0.2rem;
border-radius: 4px;
}
.project-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
.project-card {
background: var(--bg-color);
border: 1px solid #ccc;
border-radius: 8px;
padding: 1rem;
transition: transform 0.3s;
}
.project-card:hover {
transform: translateY(-5px);
}
.project-card img {
width: 100%;
border-radius: 6px;
}
form {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
form input, form textarea, form button {
padding: 0.5rem;
border-radius: 4px;
border: 1px solid #ccc;
}
form button {
background: var(--primary-color);
color: white;
border: none;
cursor: pointer;
}
footer {
text-align: center;
padding: 1rem;
background: #f1f1f1;
}