unslopkit

Components / Alerts and banners

Margin note

A quiet note set in the margin beside the sentence it changes, tied to it by a small mark. On a narrow screen it drops under the text.

Borrowing

Members may hold six books at a time. New releases go out for 14 days and everything else for 28. You can renew twice from your account unless someone is waiting.

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-alert-margin-note">
<div class="mn">
  <div class="text">
    <h3>Borrowing</h3>
    <p>Members may hold six books at a time. New releases go out for 14 days<span class="ref" aria-hidden="true">*</span> and everything else for 28. You can renew twice from your account unless someone is waiting.</p>
  </div>
  <aside class="note" role="note" aria-label="Note on loan periods">
    <p class="k"><span aria-hidden="true">*</span> Changed 2 March</p>
    <p>New releases used to go out for 21 days. Books borrowed before the change keep their old due date.</p>
    <a href="#">Read the full notice</a>
  </aside>
</div>
</div>

More alerts and banners

All 26
  • 3 unsaved changesSpring dinner menu, edited 2 minutes ago

    Unsaved changes bar

  • Error with details

  • Skerry LineHarbour office, Pier 2

    Fares change on 1 April

    Fuel and harbour dues went up this winter, so most tickets rise by about six percent. Anything bought before 1 April is good at the old fare all season.

    Return fares, Skerry to Holm
    TicketUntil 31 MarchFrom 1 April
    Foot passenger£12.60£13.40
    Car and driver£46.00£48.80
    Bicycle£4.00£4.00 no change

    Ines Halvorsen Harbour master

    Buy tickets at the current fare

    Price change letter

  • Cancelled your Thursday 7:30 AM reformer class

    Undo with a timer

  • Important

    Inspections are paused on 24 and 25 December.

    Book before 20 December to be seen this year.

    Notification banner

  • Warning You can be fined up to $5,000 if you start work without a permit.

    Warning text