-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
103 lines (102 loc) · 2.36 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
@font-face {
font-family: 'heading';
src: url('res/fonts/heading.ttf');
font-display: swap; /* Optimize font loading */
}
body {
margin: 0;
font-family: monospace;
background-color: black;
color: white;
}
.container {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
.header {
text-align: center;
padding: 40px 20px;
}
.header h1 {
font-size: 2.5rem;
color: #f87171;
margin-bottom: 10px;
font-family: 'heading';
}
.header h2 {
color: #9ca3af;
font-weight: normal;
font-size: 1.125rem;
}
.social-links {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
display: grid;
gap: 16px;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.social-links a {
text-align: center;
padding: 16px;
background-color: rgba(255, 255, 255, 0.05);
border-radius: 8px;
transition: background-color 0.2s;
text-decoration: none;
color: white;
}
.social-links a:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.projects {
margin-bottom: 40px;
}
.projects h2 {
font-size: 1.5rem;
margin-bottom: 24px;
color: #f87171;
}
.projects .project-card {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 20px;
transition: background-color 0.2s;
margin-bottom: 20px;
text-decoration: none;
color: white;
display: block;
padding-top: 1px;
}
.projects .project-card:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.projects .project-card h3 {
font-size: 1.25rem;
margin-bottom: 12px;
color: #f87171;
transition: color 0.2s;
}
.projects .project-card:hover h3 {
color: #fca5a5;
}
.projects .project-card p {
color: #9ca3af;
font-size: 0.875rem;
margin-bottom: 16px;
}
.projects .project-card .view-project {
font-size: 0.875rem;
color: #f87171;
transition: color 0.2s;
}
.projects .project-card:hover .view-project {
color: #fca5a5;
}
.footer {
border-top: 1px solid #374151;
padding: 20px;
text-align: center;
color: #9ca3af;
}