-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (110 loc) · 1.9 KB
/
style.css
File metadata and controls
127 lines (110 loc) · 1.9 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Segoe UI", sans-serif;
background-color: #f8f8f8;
color: #333;
}
header {
background-color: #222;
color: #fff;
text-align: center;
padding: 1.2rem 1rem;
}
header h1 {
font-size: 1.6rem;
margin-bottom: 0.4rem;
line-height: 1.2;
word-break: break-word;
}
header p {
font-size: 1rem;
opacity: 0.85;
padding: 0 1rem;
line-height: 1.4;
}
main.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.2rem;
padding: 2rem 1rem;
max-width: 1200px;
margin: auto;
}
.project-card {
background: #fff;
padding: 1rem 1.2rem;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 180px;
}
.project-card h2 {
font-size: 1.2rem;
margin-bottom: 0.5rem;
word-wrap: break-word;
}
.project-card p {
font-size: 0.95rem;
margin-bottom: 1rem;
line-height: 1.4;
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.buttons a {
text-decoration: none;
background-color: #60b347;
color: white;
padding: 0.5rem 1rem;
border-radius: 5px;
font-size: 0.9rem;
transition: background 0.2s;
white-space: nowrap;
}
.buttons a:hover {
background-color: #4ea336;
}
/* Styling of credits */
.credits {
max-width: 1000px;
margin: 3rem auto;
padding: 1rem;
font-size: 0.95rem;
color: #444;
background: #fff;
border-radius: 8px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.credits h3 {
margin-bottom: 0.5rem;
font-size: 1.1rem;
color: #222;
}
.credits ul {
padding-left: 1.2rem;
}
.credits li {
margin-bottom: 0.6rem;
}
.credits a {
color: #60b347;
text-decoration: none;
}
.credits a:hover {
text-decoration: underline;
}
footer {
text-align: center;
padding: 1rem;
font-size: 0.85rem;
color: #666;
background: #eee;
}