mirror of
https://gitlab.com/hagrid-keyserver/hagrid.git
synced 2023-02-13 20:55:02 -05:00
Revise card layout.
- Instead of capping the width of the card, use a spacer within the card to make it expand like before. - However, now that the card's width is no longer capped, elements within can enlarge the card.
This commit is contained in:
parent
c4fee9ffe3
commit
c008a9cc84
2 changed files with 6 additions and 2 deletions
7
dist/public/assets/site.css
vendored
7
dist/public/assets/site.css
vendored
|
@ -130,8 +130,6 @@ a.brand {
|
|||
.card {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 80vw;
|
||||
max-width: 800px;
|
||||
margin-top: 4vh;
|
||||
padding: 20px 30px 50px;
|
||||
background-color: #fff;
|
||||
|
@ -139,6 +137,11 @@ a.brand {
|
|||
box-shadow: 0 2px 6px hsla(0, 0%, 0%, 0.2);
|
||||
}
|
||||
|
||||
.card > .spacer {
|
||||
width: 80vw;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.attribution {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
|
|
1
dist/templates/layout.html.hbs
vendored
1
dist/templates/layout.html.hbs
vendored
|
@ -13,6 +13,7 @@
|
|||
<p><strong>Error</strong>: {{ this }}</p>
|
||||
{{/with}}
|
||||
{{> @partial-block }}
|
||||
<div class="spacer"></div>
|
||||
</div>
|
||||
<div class="attribution">
|
||||
<p>Hagrid v{{ version }} built from {{ commit }}</p>
|
||||
|
|
Loading…
Reference in a new issue