Skip to content

Commit a51c14f

Browse files
committed
hr tweaks
1 parent d7a75dd commit a51c14f

6 files changed

Lines changed: 24 additions & 549 deletions

File tree

static/css/anta/Anta-Regular.ttf

72 KB
Binary file not shown.

static/css/anta/anta.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@font-face {
2+
font-family: 'Anta';
3+
src: url('Anta-Regular.ttf') format('truetype-variations');
4+
font-weight: 100 900;
5+
font-style: normal;
6+
font-display: swap;
7+
}

static/css/core.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* Fonts */
22
@import 'inter/inter.css';
33
@import 'jersey/jersey.css';
4+
@import 'anta/anta.css';
45

56
/**
67
* Design tokens and CSS variables
@@ -18,6 +19,7 @@
1819
/* Typography */
1920
--font-primary: 'Inter', sans-serif;
2021
--font-jersey: 'Jersey', serif;
22+
--font-anta: 'Anta', sans-serif;
2123

2224
/* Font sizes */
2325
--text-xs: 0.75rem; /* 12px */

static/css/homepage.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
font-size: 3.5em;
33
font-weight: var(--weight-bold);
44
margin: 0;
5+
font-family: var(--font-anta);
6+
}
7+
8+
.hborder {
9+
height: 0.25rem;
10+
border: none;
11+
background: linear-gradient(to right, transparent, var(--border), transparent);
12+
opacity: 0.5;
13+
margin: 2rem 0;
514
}
615

716
.hsubtext {
@@ -18,9 +27,10 @@
1827

1928
.h2columns {
2029
display: grid;
21-
grid-template-columns: 60% 40%;
22-
gap: 2rem;
30+
grid-template-columns: 55% 38%;
31+
gap: 1.5rem;
2332
margin-top: 0;
33+
justify-content: center;
2434
}
2535

2636
.h3columns {

0 commit comments

Comments
 (0)