-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (99 loc) · 1.82 KB
/
style.css
File metadata and controls
117 lines (99 loc) · 1.82 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
color: #333;
display: flex;
flex-direction: column;
}
header {
background-color: #007bff;
color: #fff;
text-align: center;
padding: 1rem;
}
.content-wrapper {
flex: 1 0 auto;
width: 100%;
}
main {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.project-card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 1.5rem;
display: flex;
flex-direction: column;
transition: transform 0.3s ease;
}
.project-card:hover {
transform: translateY(-5px);
}
.project-card h2 {
margin-bottom: 1rem;
color: #007bff;
}
.project-card p {
margin-bottom: 1.5rem;
flex-grow: 1;
}
.btn {
display: inline-block;
background-color: #007bff;
color: #fff;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
text-align: center;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #0056b3;
}
.coming-soon {
background-color: #f8f9fa;
border: 2px dashed #dee2e6;
}
.coming-soon h2,
.coming-soon p {
color: #6c757d;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
flex-shrink: 0;
}
@media (min-width: 769px) {
.project-grid {
grid-template-columns: repeat(3, 1fr); /* Always show 3 columns on larger screens */
}
}
@media (max-width: 768px) {
.project-grid {
grid-template-columns: repeat(2, 1fr); /* Show 2 columns on medium screens */
}
}
@media (max-width: 480px) {
.project-grid {
grid-template-columns: 1fr; /* Show 1 column on small screens */
}
}