Create card components and add them to dashboard
Refactor the Releases, Modules and Projects cards into reusable templates. Now they are used in the non-logged-in landing homepage and in the logged-in dashboard.
This commit is contained in:
parent
bc327d7973
commit
564a8df61c
6 changed files with 133 additions and 98 deletions
20
templates/custom/header.tmpl
Normal file
20
templates/custom/header.tmpl
Normal file
|
@ -0,0 +1,20 @@
|
|||
<style>
|
||||
.page-content.home ul,
|
||||
.page-content.dashboard ul{
|
||||
padding-inline-start: 15px;
|
||||
}
|
||||
|
||||
ul.two-col {
|
||||
columns: 2;
|
||||
}
|
||||
|
||||
.page-content.home .ui.cards>.card, .ui.card,
|
||||
.page-content.dashboard .ui.cards>.card, .ui.card {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page-content.home .hero p {
|
||||
width: 70%;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue