style: minor changes

This commit is contained in:
Ash Monty 2022-07-04 18:35:31 +02:00
parent 83e808f551
commit f05fecea43
No known key found for this signature in database
GPG Key ID: 740B7C88251D49B6
2 changed files with 11 additions and 8 deletions

View File

@ -31,21 +31,22 @@
border-radius: 100%;
background: var(--btn-secondary);
}
.account-sidebar .user #download-cemu-files,
.account-sidebar .user #account-upgrade {
.account-sidebar .buttons a {
display: flex;
flex-flow: column;
align-items: center;
padding: 24px;
padding: 20px 24px;
background: #383f6b;
margin: 24px 0 0;
margin: 20px 0 0;
text-decoration: none;
}
.account-sidebar .user #download-cemu-files p.caption,
.account-sidebar .user #account-upgrade p.caption {
margin: 15px 0 0;
.account-sidebar .buttons a svg {
margin-bottom: 16px;
}
.account-sidebar .user p.cemu-warning {
.account-sidebar .buttons a p.caption {
margin: 0;
}
.account-sidebar .buttons p.cemu-warning {
margin: 4px 0 0;
font-size: 0.7rem;
color: var(--text-secondary);

View File

@ -10,6 +10,8 @@
<img src="{{account.mii.image_url}}" class="mii" />
<p class="miiname">{{account.mii.name}}</p>
<p class="username" value="{{account.username}}">PNID: {{account.username}}</p>
</div>
<div class="buttons">
<a class="button secondary" id="download-cemu-files" href="/account/online-files" download>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>
<p class="caption">Download account files</p>