-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (82 loc) · 1.76 KB
/
style.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
:root {
--text-color: #ecf0f1;
--bg-color: #101820;
--card-color: #1a2333;
--link-color: #64ffda;
--hover-bg: #2e3d55;
}
[data-theme="light"] {
--bg-color: #ffffff;
--text-color: #101820;
--card-color: #f0f0f0;
--link-color: #101820;
--hover-bg: #d0d0d0;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
display: flex;
flex-direction: column;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
transition: background 0.3s ease, color 0.3s ease;
}
.header {
text-align: center;
padding: 2rem;
}
.theme-toggle {
position: absolute;
top: 1rem;
right: 1rem;
cursor: pointer;
font-size: 1.5rem;
}
.content {
flex: 1;
padding: 2rem;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
gap: 2rem;
}
.project-card {
background: var(--card-color);
border-radius: 0.9375rem;
padding: 1rem;
transition: transform 0.3s ease, background 0.3s ease;
cursor: pointer;
}
.project-card:hover {
transform: translateY(-0.3125rem);
background: var(--hover-bg);
}
.github-link {
color: var(--link-color);
text-decoration: none;
font-size: 1rem;
}
footer {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--card-color);
padding: 1rem;
border-top: 0.125rem solid var(--hover-bg);
width: 100%;
}
.footer-text {
color: var(--text-color);
font-size: 0.9rem;
}
.footer-links {
display: flex;
gap: 1rem;
}