-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
123 lines (104 loc) · 2.11 KB
/
styles.css
File metadata and controls
123 lines (104 loc) · 2.11 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f6fa;
line-height: 1.6;
}
header {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 4rem 2rem;
margin-bottom: 2rem;
}
header h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
padding: 2rem 0;
}
.project-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
}
.project-card:hover {
transform: translateY(-5px);
}
.project-thumbnail {
width: 100%;
height: 200px;
object-fit: cover;
border-bottom: 3px solid #3498db;
background-color: #f0f0f0;
}
.project-content {
padding: 1.5rem;
}
.project-title {
color: #2c3e50;
font-size: 1.3rem;
margin-bottom: 0.5rem;
}
.project-description {
color: #666;
font-size: 0.9rem;
margin-bottom: 1rem;
min-height: 60px;
}
.project-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: #7f8c8d;
}
.project-stats {
display: flex;
gap: 1rem;
}
.project-links {
display: flex;
gap: 0.5rem;
margin-top: 1rem;
}
.project-link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background-color: #3498db;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.2s ease;
}
.project-link:hover {
background-color: #2980b9;
}
@media (max-width: 768px) {
header h1 {
font-size: 2rem;
}
.projects-grid {
grid-template-columns: 1fr;
}
.project-thumbnail {
height: 150px;
}
}