-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (98 loc) · 1.79 KB
/
Copy pathstyle.css
File metadata and controls
115 lines (98 loc) · 1.79 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
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f5f6fa;
color: #333;
line-height: 1.6;
}
a {
color: #0073e6;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Header */
header {
background-color: #0073e6;
color: white;
text-align: center;
padding: 2rem 1rem;
}
header p a {
color: white;
margin: 0 0.5rem;
font-weight: bold;
}
/* Container */
.container {
max-width: 1000px;
margin: auto;
padding: 1rem;
}
/* Cards */
.card {
background-color: white;
margin: 1.5rem 0;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* Headings */
h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
h2 {
color: #0073e6;
margin-bottom: 1rem;
border-bottom: 2px solid #0073e6;
display: inline-block;
padding-bottom: 0.2rem;
}
h3 {
margin-top: 1rem;
}
/* Projects Grid */
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
}
.project {
background-color: #f0f8ff;
padding: 1rem;
border-radius: 8px;
transition: transform 0.3s, box-shadow 0.3s;
}
.project:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* Footer */
footer {
text-align: center;
padding: 1rem;
background-color: #333;
color: white;
margin-top: 2rem;
}
/* Responsive */
@media (max-width: 600px) {
h1 {
font-size: 2rem;
}
.project-grid {
grid-template-columns: 1fr;
}
}