-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
182 lines (154 loc) · 2.84 KB
/
Copy pathstyles.css
File metadata and controls
182 lines (154 loc) · 2.84 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
/* Reset some default styles */
body, h1, h2, p, ul, li {
margin: 0;
padding: 0;
list-style: none;
}
/* Global styles */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
/* Container */
.container {
width: 90%;
max-width: 1100px;
margin: 0 auto;
}
/* Header and navigation styles */
header {
background-color: #333;
color: #fff;
padding: 1rem 0;
text-align: center;
}
nav ul {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
}
nav ul li a:hover {
color: #ddd;
}
/* Main section styles */
main {
padding: 2rem 0;
}
section {
background: #fff;
padding: 2rem;
margin-bottom: 2rem;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
section h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #333;
border-bottom: 2px solid #333;
display: inline-block;
padding-bottom: 5px;
}
section p {
font-size: 1.1rem;
line-height: 1.8;
margin-bottom: 1rem;
}
section ul {
list-style: disc;
margin-left: 20px;
}
section ul li {
font-size: 1rem;
margin-bottom: 10px;
}
/* Project section styles */
.project {
margin-bottom: 20px;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.project:hover {
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.project header h2 {
font-size: 1.8rem;
color: #ddd;
margin-bottom: 10px;
}
.project header span {
display: block;
font-size: 0.9rem;
color: #666;
margin-bottom: 10px;
}
.project footer a {
display: inline-block;
margin-top: 10px;
color: #ddd;
text-decoration: none;
border-bottom: 1px solid #ddd;
transition: color 0.3s, border-color 0.3s;
}
.project footer a:hover {
color: #0056b3;
border-color: #0056b3;
}
/* Contact section styles */
#contact p {
font-size: 1.1rem;
line-height: 1.8;
}
#contact a {
color: #333333;
text-decoration: none;
border-bottom: 1px solid #333;
transition: color 0.3s, border-color 0.3s;
}
#contact a:hover {
color: #ddd;
border-color: #333;
}
/* Footer styles */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem 0;
}
footer p {
margin: 0.5rem 0;
}
footer a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
footer a:hover {
color: #ddd;
}
/* Media query for responsiveness */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
align-items: center;
}
nav ul li {
margin: 10px 0;
}
}