-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
138 lines (124 loc) · 2.51 KB
/
style.css
File metadata and controls
138 lines (124 loc) · 2.51 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
128
129
130
131
132
133
134
135
136
137
138
:root {
--bg: #121217;
--surface: #1e242b;
--text: #7ed957;
--muted: #97a1ad;
--accent: #000000;
--radius: 10px;
--shadow-sm: 0 6px 18px rgba(2, 6, 23, 0.6);
}
* {
box-sizing: border-box;
}
html,
body {
height: 100%;
}
body {
margin: 0;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
Roboto, "Helvetica Neue", Arial;
background-color: var(--bg);
color: var(--text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.45;
min-height: 100vh;
}
a {
color: var(--accent);
text-decoration: none;
transition: color 0.15s ease, transform 0.06s ease;
}
a:hover,
a:focus {
color: #000000;
text-decoration: underline;
}
.navbar {
background-color: rgba(255, 255, 255, 0.02) !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
padding: 0.5rem 1rem;
}
.navbar-brand {
color: var(--text);
font-weight: 600;
display: flex;
align-items: center;
gap: 0.5rem;
}
.navbar .nav-link {
color: var(--muted);
padding: 0.45rem 0.75rem;
border-radius: 8px;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
color: var(--text);
background: rgba(255, 255, 255, 0.02);
}
.navbar .navbar-toggler {
border-color: rgba(255, 255, 255, 0.06);
}
.btn-primary {
background-color: #216d00;
color: #ffffff;
border: none;
border-radius: 10px;
padding: 0.5rem 0.9rem;
box-shadow: 0 8px 24px rgba(34, 193, 195, 0.06);
}
.btn-primary:hover {
transform: translateY(-1px);
filter: brightness(1.03);
background-color: #7ed957;
}
/* Cards / surfaces */
.card {
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.02),
rgba(255, 255, 255, 0.01)
);
border: 1px solid rgba(255, 255, 255, 0.03);
border-radius: 12px;
padding: 1rem;
box-shadow: var(--shadow-sm);
color: var(--text);
}
/* Layout for projects: spacing between cards and distance from navbar */
.projects {
margin-top: 1rem; /* distance from navbar */
display: flex;
flex-wrap: wrap;
gap: 1rem; /* fallback gap for browsers without Bootstrap utilities */
padding: 0.25rem; /* small inner padding */
}
.projects .card {
margin: 0; /* gap handles spacing */
}
.container {
max-width: 1200px;
}
section {
padding: 3rem 1rem;
}
small,
.muted {
color: var(--muted);
}
:focus {
outline: 2px solid rgba(100, 200, 200, 0.12);
outline-offset: 2px;
}
footer {
padding: 2rem 1rem;
color: var(--muted);
text-align: center;
font-size: 0.9rem;
}
h1 {
font-size: 64px;
font-weight: bold;
}