Skip to content

Commit 61cf32e

Browse files
committed
change to -text font
1 parent a54f629 commit 61cf32e

3 files changed

Lines changed: 15 additions & 44 deletions

File tree

src/css/index.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,19 @@
1212
[data-mode="dark"] {
1313
--text-color: #f2f2f2;
1414
--subheader-text: #a1a1a1;
15-
--project-card-background: rgb(7, 7, 17);
1615
--background-color: rgb(3, 3, 10);
1716
}
1817

1918
[data-mode="light"] {
2019
--text-color: #303030;
2120
--subheader-text: #6e6e6e;
22-
--project-card-background: #f5f5f5;
2321
--background-color: #f8f8f8;
2422
}
2523

2624
@font-face {
2725
font-family: "ibm-plex-mono";
28-
src: url("../font/IBMPlexMono-Regular.woff2") format("woff2");
26+
src: url("../font/IBMPlexMono-Text.woff2") format("woff2");
27+
/* src: url("../font/IBMPlexMono-Regular.ttf") format("ttf"); */
2928
}
3029

3130
@font-face {

src/css/projectcard.css

Lines changed: 13 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
--margin-left: 10px;
33
}
44

5-
.project-card {
6-
background-color: var(--project-card-background);
7-
/* margin-top: -5px; */
8-
/* list-style: none; */
9-
10-
/* border-bottom: 2px solid #8d8d8d; */
11-
}
12-
135
.project-card h1 {
146
margin: 5px 0 -5px var(--margin-left);
157
text-align: left;
@@ -135,11 +127,7 @@
135127
/* margin-top: -5px; */
136128
margin-top: -5px;
137129
background:
138-
linear-gradient(
139-
to right,
140-
var(--project-card-background) 50%,
141-
rgba(0, 0, 0, 0)
142-
),
130+
linear-gradient(to right, var(--background-color) 50%, rgba(0, 0, 0, 0)),
143131
url("../img/mbtamapper_light.png") right center no-repeat;
144132
background-size: cover;
145133
background-position: fixed;
@@ -148,11 +136,7 @@
148136
[data-mode="dark"] #mbtamapper_card {
149137
margin-top: -5px;
150138
background:
151-
linear-gradient(
152-
to right,
153-
var(--project-card-background) 50%,
154-
rgba(0, 0, 0, 0)
155-
),
139+
linear-gradient(to right, var(--background-color) 50%, rgba(0, 0, 0, 0)),
156140
url("../img/mbtamapper_dark.png") right center no-repeat;
157141
background-size: cover;
158142
background-position: fixed;
@@ -161,11 +145,7 @@
161145
#tandypack_card {
162146
margin-top: -5px;
163147
background:
164-
linear-gradient(
165-
to right,
166-
var(--project-card-background) 50%,
167-
rgba(0, 0, 0, 0)
168-
),
148+
linear-gradient(to right, var(--background-color) 50%, rgba(0, 0, 0, 0)),
169149
url("../img/tandypack.png") right center no-repeat;
170150
background-size: cover;
171151
background-position: fixed;
@@ -174,11 +154,7 @@
174154
#meie4702_card {
175155
margin-top: -5px;
176156
background:
177-
linear-gradient(
178-
to right,
179-
var(--project-card-background) 50%,
180-
rgba(0, 0, 0, 0)
181-
),
157+
linear-gradient(to right, var(--background-color) 50%, rgba(0, 0, 0, 0)),
182158
url("../img/parachutes.jpg") right center no-repeat;
183159
background-size: cover;
184160
background-position: fixed;
@@ -187,11 +163,7 @@
187163
#ie3425_card {
188164
margin-top: -5px;
189165
background:
190-
linear-gradient(
191-
to right,
192-
var(--project-card-background) 50%,
193-
rgba(0, 0, 0, 0)
194-
),
166+
linear-gradient(to right, var(--background-color) 50%, rgba(0, 0, 0, 0)),
195167
url("../img/heavy_like_a_brinks_truck.jpg") right center no-repeat;
196168
background-size: cover;
197169
background-position: fixed;
@@ -200,11 +172,7 @@
200172
#ie4510_card {
201173
margin-top: -5px;
202174
background:
203-
linear-gradient(
204-
to right,
205-
var(--project-card-background) 50%,
206-
rgba(0, 0, 0, 0)
207-
),
175+
linear-gradient(to right, var(--background-color) 50%, rgba(0, 0, 0, 0)),
208176
url("../img/bus.jpg") right center no-repeat;
209177
background-size: cover;
210178
background-position: fixed;
@@ -219,6 +187,7 @@
219187
overflow: hidden;
220188
margin-bottom: 30px;
221189
position: relative;
190+
/* background-color: var(--background-color); */
222191
}
223192
.project-card-container > ::marker,
224193
.project-card-container > ::-webkit-details-marker {
@@ -246,11 +215,14 @@
246215
padding-right: var(--margin-left);
247216
padding-left: var(--margin-left);
248217
font-size: 14pt;
249-
background-color: var(--project-card-background);
250-
251-
/* display: none; */
252218
}
253219

220+
/*
221+
.project-card-content > p {
222+
margin-left: var(--margin-left);
223+
margin-right: var(--margin-left);
224+
} */
225+
254226
.reducedleft {
255227
margin-left: -20px;
256228
}

src/font/IBMPlexMono-Text.woff2

45.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)