-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (88 loc) · 1.47 KB
/
styles.css
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #222;
color: #fff;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
background-color: #111;
padding: 20px;
}
header h1 {
margin: 0;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
.intro {
text-align: center;
padding: 50px 0;
}
section {
padding: 50px;
flex: 1;
}
.project-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
grid-gap: 15px;
}
.project-card {
background-color: #333;
padding: 25px;
border-radius: 5px;
transition: transform 0.3s;
position: relative;
}
.project-card:hover {
transform: translateY(-5px);
}
.project-card h3 {
margin-top: 0;
}
.project-card p {
margin-bottom: 10px;
}
.project-card a {
color: #fff;
text-decoration: none;
}
.explore-btn {
background-color: #555;
padding: 8px 16px;
border-radius: 5px;
display: inline-block;
transition: background-color 0.3s;
}
.explore-btn:hover {
background-color: #777;
}
.made-by {
font-size: 12px;
color: #999;
margin-top: 10px;
}
.github-link {
text-align: center;
margin-top: 20px;
}
.github-link a {
color: #fff;
text-decoration: none;
}
.github-link a:hover {
text-decoration: underline;
}