Skip to content

Commit b2133eb

Browse files
committed
Add Verifiers.css for styling the Verifiers page layout
1 parent 96494f3 commit b2133eb

File tree

2 files changed

+44
-46
lines changed

2 files changed

+44
-46
lines changed

src/components/CCIP/Verifiers/Verifiers.astro

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import Table from "~/components/CCIP/Tables/VerifiersTable"
66
import { getAllUniqueVerifiers } from "~/config/data/ccip/data.ts"
77
import { DOCS_BASE_URL } from "~/utils/structuredData"
88
import ChainHero from "~/components/CCIP/ChainHero/ChainHero"
9+
import "./Verifiers.css"
910
1011
interface Props {
1112
environment: Environment
@@ -95,49 +96,3 @@ const canonicalForJsonLd = `${DOCS_BASE_URL}${currentPath}`
9596
</div>
9697
</section>
9798
</CcipDirectoryLayout>
98-
99-
<style scoped="false">
100-
.layout {
101-
margin: 0 auto;
102-
padding: var(--space-6x);
103-
}
104-
105-
.layout h2 {
106-
color: var(--gray-900);
107-
font-size: 22px;
108-
line-height: var(--space-10x);
109-
padding-bottom: var(--space-4x);
110-
border-bottom: 1px solid var(--gray-200);
111-
margin-bottom: var(--space-6x);
112-
}
113-
114-
.layout h2 span {
115-
color: var(--gray-400);
116-
font-weight: 600;
117-
letter-spacing: 0.5px;
118-
}
119-
120-
.networks__grid {
121-
display: grid;
122-
grid-template-columns: 1fr;
123-
gap: var(--space-8x);
124-
}
125-
126-
.tokens__grid {
127-
display: grid;
128-
grid-template-columns: 1fr 1fr;
129-
gap: var(--space-8x);
130-
}
131-
132-
@media (min-width: 50em) {
133-
.layout {
134-
max-width: 1500px;
135-
}
136-
}
137-
138-
@media (min-width: 992px) {
139-
.layout {
140-
padding: var(--space-10x) var(--space-8x);
141-
}
142-
}
143-
</style>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
.layout {
2+
margin: 0 auto;
3+
padding: var(--space-6x);
4+
}
5+
6+
.layout h2 {
7+
color: var(--gray-900);
8+
font-size: 22px;
9+
line-height: var(--space-10x);
10+
padding-bottom: var(--space-4x);
11+
border-bottom: 1px solid var(--gray-200);
12+
margin-bottom: var(--space-6x);
13+
}
14+
15+
.layout h2 span {
16+
color: var(--gray-400);
17+
font-weight: 600;
18+
letter-spacing: 0.5px;
19+
}
20+
21+
.networks__grid {
22+
display: grid;
23+
grid-template-columns: 1fr;
24+
gap: var(--space-8x);
25+
}
26+
27+
.tokens__grid {
28+
display: grid;
29+
grid-template-columns: 1fr 1fr;
30+
gap: var(--space-8x);
31+
}
32+
33+
@media (min-width: 50em) {
34+
.layout {
35+
max-width: 1500px;
36+
}
37+
}
38+
39+
@media (min-width: 992px) {
40+
.layout {
41+
padding: var(--space-10x) var(--space-8x);
42+
}
43+
}

0 commit comments

Comments
 (0)