Skip to content

Commit

Permalink
added sticky banner
Browse files Browse the repository at this point in the history
  • Loading branch information
filippoweb3 committed Mar 11, 2024
1 parent 5971bb2 commit b0a8260
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
5 changes: 3 additions & 2 deletions docs/maintain/archive/maintain-guides-democracy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ keywords: [democracy, council, action, proposal]
slug: ../maintain-guides-democracy
---

:::caution Archived Document
<div className="sticky">
<br />

The content on this page no longer applies to Polkadot. For up-to-date information about governance,
see the [Polkadot OpenGov page](../../learn/learn-polkadot-opengov.md).

:::
</div>

The public referenda chamber is one of the three bodies of on-chain governance as it's instantiated
in Polkadot and Kusama. The other two bodies are the
Expand Down
5 changes: 3 additions & 2 deletions docs/maintain/archive/maintain-guides-how-to-join-council.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ keywords: [council, how to join council, governance, candidate]
slug: ../maintain-guides-how-to-join-council
---

:::caution Archived Document
<div className="sticky">
<br />

The content on this page no longer applies to Polkadot. For up-to-date information about governance,
see the [Polkadot OpenGov page](../../learn/learn-polkadot-opengov.md).

:::
</div>

The council is an elected body of on-chain accounts that are intended to represent the passive
stakeholders of Polkadot and/or Kusama. The council has two major tasks in governance: proposing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ keywords: [council, vote, councillors]
slug: ../maintain-guides-how-to-vote-councillor
---

:::caution Archived Document
<div className="sticky">
<br />

The content on this page no longer applies to Polkadot. For up-to-date information about governance,
see the [Polkadot OpenGov page](../../learn/learn-polkadot-opengov.md).

:::
</div>

The council is an elected body of on-chain accounts that are intended to represent the passive
stakeholders of Polkadot and/or Kusama. The council has two major tasks in governance: proposing
Expand All @@ -26,7 +27,7 @@ Voting for councillors requires you to reserve
{{ polkadot: 20.064 DOT :polkadot }}{{ kusama: 0.067 KSM :kusama }} as a base amount and an amount
of {{ polkadot: 0.032 DOT :polkadot }}{{ kusama: 0.0001 KSM :kusama }} per vote. You can then bond
whatever amount you wish to put behind your vote. See the
[democracy guide](maintain-guides-democracy.md) for more information.
[democracy guide](./maintain-guides-democracy.md) for more information.

:::info Voting and staking locks can overlap

Expand Down
10 changes: 10 additions & 0 deletions polkadot-wiki/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,16 @@ div[role=banner] .close:focus {
opacity: 1;
}

div.sticky {
position: -webkit-sticky;
position: sticky;
top: 0;
background-color: yellow;
padding: 30px;
font-size: 20px;
font-family: 'Unbounded';
}

/* ==========================================================================
Home Footer
========================================================================== */
Expand Down

0 comments on commit b0a8260

Please sign in to comment.