Skip to content

Commit 473ed5e

Browse files
committed
docs styling
1 parent c059cd2 commit 473ed5e

File tree

4 files changed

+58
-34
lines changed

4 files changed

+58
-34
lines changed

components/DocsLayout/DocsLayout.module.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,30 @@
6363
font-weight: 500;
6464
}
6565
}
66+
67+
ul {
68+
margin-top: 0;
69+
margin-bottom: 2rem;
70+
}
71+
72+
li {
73+
font-size: $text-lg;
74+
line-height: 1.3em;
75+
padding-left: 0.5rem;
76+
font-weight: 300;
77+
}
78+
79+
h3 {
80+
font-size: $text-xl;
81+
margin-top: 3rem;
82+
margin-bottom: 1rem;
83+
}
84+
85+
h4 {
86+
font-size: $text-md;
87+
font-weight: 500;
88+
margin-bottom: 1.5rem;
89+
}
6690
}
6791

6892
.tabContainer {

pages/docs/content/legislation.mdx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,45 @@ Legislation embeds give the latest information about bills as they move through
1717

1818
Below are the types of information on each legislation embed:
1919

20-
### Name
20+
#### Name
2121

22-
The name of the legislation. This is AI-generated and edited by the Populist staff.
22+
- The name of the legislation. This is AI-generated and edited by the Populist staff.
2323

24-
### Code
24+
#### Code
2525

26-
This is the legislation's government code that is used to identify it.
26+
- This is the legislation's government code that is used to identify it.
2727

28-
### Year
28+
#### Year
2929

30-
This is the year that the legislation was introduced.
30+
- This is the year that the legislation was introduced.
3131

32-
### Issue Tags
32+
#### Issue Tags
3333

34-
Issue tags offer a quick way to show the subject matter of legislation through our categories.
34+
- Issue tags offer a quick way to show the subject matter of legislation through our categories.
3535

36-
### Summary
36+
#### Summary
3737

38-
These summaries are AI-generated and reviewed by Populist staff to make sure they are accurate and representative.
38+
- These summaries are AI-generated and reviewed by Populist staff to make sure they are accurate and representative.
3939

40-
### Full Text Link
40+
#### Full Text Link
4141

42-
If audiences want to dive deeper, we provide links to the full text of legislation on the official government website.
42+
- If audiences want to dive deeper, we provide links to the full text of legislation on the official government website.
4343

44-
### Status
44+
#### Status
4545

46-
The status area shows where a bill is in the process of becoming law.
46+
- The status area shows where a bill is in the process of becoming law.
4747

48-
### Latest votes
48+
#### Latest votes
4949

50-
If legislation has been voted on in one or both chambers, the latest vote totals will be shown here.
50+
- If legislation has been voted on in one or both chambers, the latest vote totals will be shown here.
5151

52-
### Sponsors
52+
#### Sponsors
5353

54-
The sponsors section shows the partisan breakdown of the authors of a bill.
54+
- The sponsors section shows the partisan breakdown of the authors of a bill.
5555

56-
### Public voting
56+
#### Public voting
5757

58-
Public voting is a way to gauge sentiment on legislation. Audiences can share whether they support, oppose, or are undecided on legislation, and see how others have responded. Public voting can be configured either to allow anonymous responses, or to require names and emails that are only shared with the organization.
58+
- Public voting is a way to gauge sentiment on legislation. Audiences can share whether they support, oppose, or are undecided on legislation, and see how others have responded. Public voting can be configured either to allow anonymous responses, or to require names and emails that are only shared with the organization.
5959

6060
export default function DocsLegislation({ children }) {
6161
return <DocsLayout currentPage="content">{children}</DocsLayout>;

pages/docs/content/politicians.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,29 @@ Populist politician embeds help give context with high-level information about p
1717

1818
Below are the types of information on each politician embed:
1919

20-
### Name
20+
#### Name
2121

22-
The politician's name.
22+
- The politician's name.
2323

24-
### Office
24+
#### Office
2525

26-
The office that the politician currently occupies, if applicable.
26+
- The office that the politician currently occupies, if applicable.
2727

28-
### Next / Last Election
28+
#### Next / Last Election
2929

30-
The next or last election and office that the politician is or has run for, if applicable.
30+
- The next or last election and office that the politician is or has run for, if applicable.
3131

32-
### Endorsements
32+
#### Endorsements
3333

34-
A list of endorsements from organizations and individuals that hold public office.
34+
- A list of endorsements from organizations and individuals that hold public office.
3535

36-
### Biography
36+
#### Biography
3737

38-
A candidate's biography.
38+
- A candidate's biography.
3939

40-
### Links
40+
#### Links
4141

42-
A candidate's links to social media and campaign websites.
42+
- A candidate's links to social media and campaign websites.
4343

4444
export default function DocsPolitician({ children }) {
4545
return <DocsLayout currentPage="content">{children}</DocsLayout>;

utils/constants.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ export const EMBED_CONTENT_IDS = {
6969
],
7070
},
7171
legislation: {
72-
embedId: "4c6c4668-0ee5-43c4-9314-237f54984107",
73-
billId: "504d04d8-b55a-4bda-8e18-6ee89899a511",
72+
embedId: "097bbb3c-01bc-4f30-aaf7-6f9ba67692d1",
73+
billId: "e00f47da-20c8-4c77-b6d2-831a95c2f70c",
7474
},
7575
politician: {
7676
embedId: "44805e68-d274-482e-876d-fca5a399e7bb",

0 commit comments

Comments
 (0)