Skip to content

Commit

Permalink
Home layout without menu or toc
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkerlucio committed Oct 20, 2023
1 parent b4e6d66 commit e5f1924
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui-overrides/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@
background-image: linear-gradient(to top, #5bdf56 6%, rgba(33, 235, 26, 0) 7%);
color: #5cc70c;
}

.article.main-page article.doc {
max-width: 100%;
}

.article.main-page article.doc img {
margin-top: -90px;
width: 300px;
margin-left: 60px;
}
19 changes: 19 additions & 0 deletions ui-overrides/layouts/home.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head defaultPageTitle='Untitled'}}
</head>
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}">
{{> header}}
<div class="body">
<main class="article main-page">
{{#if (eq page.layout '404')}}
{{> article-404}}
{{else}}
{{> article}}
{{/if}}
</main>
</div>
{{> footer}}
</body>
</html>

0 comments on commit e5f1924

Please sign in to comment.