Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions www/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ body {

div.body h1 {
font-size: 120%;
margin-top: 3rem;
}

/* Spacing adjustments. */
Expand Down Expand Up @@ -64,8 +65,38 @@ a code {
--sd-color-tabs-underline: rgba(222, 222, 222, 0);
}

/* Hero banner. */
div.document {
margin-top: 0;
}
.title-card {
background-image: linear-gradient(180deg, #2980B9, #3a4e5c, #4a5e6c);
width: 100vw;
position: relative;
left: 50%;
margin-left: -50vw;
border-radius: 0;
box-shadow: none;
border: none;
}
.title-card .sd-container-fluid {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.title-card .tagline p {
color: #c0c8d0;
font-size: 1.2rem;
margin-top: 0.5rem;
margin-bottom: 1.5rem;
}

/* Waveform screenshots: extend dark background across full width. */
.image-reference {
display: block;
background-color: #000000;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be written more concisely as #000

padding: 6px;
border-radius: 0;
}

/* Hide the sidebar. It may appear as a footer on small screens. */
Expand Down
4 changes: 4 additions & 0 deletions www/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

.. image:: ../docs/brand/pyrtl_logo.png

.. container:: tagline

register-transfer-level hardware design and simulation

.. grid:: 1 2 2 4
:gutter: 2

Expand Down