-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
160 lines (134 loc) · 2.74 KB
/
Copy pathstyles.css
File metadata and controls
160 lines (134 loc) · 2.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
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
background-color: #f8f8f8;
background: url('hinhanh/hinhnen.png') no-repeat center center fixed;
background-size: cover;
}
header {
text-align: center;
background: url('.png') no-repeat center center/cover;
color: white;
padding: 40px 20px;
}
nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: rgba(51, 51, 51, 0.9);
padding: 10px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
text-align: center;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
padding: 10px;
transition: 0.3s;
}
nav ul li a:hover {
color: #f4a261;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 5px;
}
.profile-container {
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
margin-top: 20px;
}
.profile-image {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
border: 3px solid white;
}
.profile-container h1 {
font-size: 24px;
color: white;
}
.container.two-column {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
max-width: 900px;
margin: 60px auto 20px;
}
.section {
max-width: 900px;
margin: 30px auto;
background: rgb(241, 238, 238);
padding: 15px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
color: #444;
border-bottom: 2px solid #ddd;
padding-bottom: 10px;
margin-bottom: 30px;
}
p {
font-size: 16px;
}
#projects {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
max-width: 1000px;
margin: auto;
}
.project-section {
background: white;
padding: 15px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
.project-section img {
width: 100%;
border-radius: 8px;
}
.project-section h3 {
font-size: 18px;
color: #333;
}
footer {
text-align: center;
background-color: #333;
color: white;
padding: 10px 0;
margin-top: 20px;
}
nav ul li a:hover {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 5px;
}
nav ul li a::before {
content: "•";
margin-right: 10px;
}
.profile-container h1::after {
content: " ✨";
}
.section p::first-letter {
font-size: 1em;
font-weight: bold;
}