default button class, inline styling

This commit is contained in:
giggs 2022-07-25 21:20:40 +02:00
parent f3136dd74e
commit 3e3055a7c8
1 changed files with 2 additions and 13 deletions

View File

@ -24,18 +24,7 @@
.admin .cover {
background: repeating-linear-gradient( -45deg, #ff6c00, #ff6c00 12px, #000000 5px, #000000 25px );
}
.button {
background-color: #7e3834;
color: white;
text-align: start;
font-size: 18px;
padding: 15px 26px;
display: inline-block;
cursor: pointer;
}
}
</style>
{{ end }}
@ -147,7 +136,7 @@
{{ end }}
{{ if .OwnProfile }}
{{ if .CanAddProject }}
<<a href="{{ .NewProjectUrl }}" class="button">Add New Project</a>>
<a href="{{ .NewProjectUrl }}" class="button pv2 ph3" style ="background-color: #7e3834; color:white;">Add New Project</a>
{{ else }}
<span class="c--dim i">You have reached the maximum number of personal projects.</span>
{{ end }}