mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-15 03:03:17 +02:00
Fixed styling for forms and inputs, and also changed headers to be
correct.
This commit is contained in:
1 parent
11b26d972e
commit
6ccc5215dd
2 files changed
+215
-1
No files matched your search
+1
-1
@@ -178,7 +178,7 @@ $PageTitle = "Profile";
|
|||||||
|
|
||||||
|
|
||||||
<section class="ProfileSection">
|
<section class="ProfileSection">
|
||||||
<h2>Import Account</h2>
|
<h3>Import Account</h3>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To use an existing Garden account on
|
To use an existing Garden account on
|
||||||
|
|||||||
@@ -750,3 +750,217 @@ select {
|
|||||||
.LeaderboardTable td:last-child {
|
.LeaderboardTable td:last-child {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ProfileSection {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
padding: 1rem;
|
||||||
|
|
||||||
|
background-color: var(--Mantle);
|
||||||
|
border: 4px solid var(--Mauve);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection h2 {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileFormRow,
|
||||||
|
.ProfileButtonRow {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 0.75rem;
|
||||||
|
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileButtonRow {
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
|
||||||
|
color: var(--Blue);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input,
|
||||||
|
.ProfileSection textarea,
|
||||||
|
.ProfileSection button {
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: 1rem;
|
||||||
|
|
||||||
|
color: var(--Text);
|
||||||
|
background-color: var(--Surface0);
|
||||||
|
|
||||||
|
border: 3px solid var(--Surface2);
|
||||||
|
border-radius: 0;
|
||||||
|
|
||||||
|
appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input,
|
||||||
|
.ProfileSection textarea {
|
||||||
|
padding: 0.6rem;
|
||||||
|
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input {
|
||||||
|
min-width: 12rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection textarea {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 24rem;
|
||||||
|
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input::placeholder,
|
||||||
|
.ProfileSection textarea::placeholder {
|
||||||
|
color: var(--Overlay1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input:hover,
|
||||||
|
.ProfileSection textarea:hover {
|
||||||
|
background-color: var(--Surface1);
|
||||||
|
border-color: var(--Overlay2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input:focus,
|
||||||
|
.ProfileSection textarea:focus {
|
||||||
|
background-color: var(--Surface1);
|
||||||
|
border-color: var(--Sky);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection button {
|
||||||
|
padding: 0.6rem 0.8rem;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
box-shadow:
|
||||||
|
3px 3px 0
|
||||||
|
var(--Crust);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection button:hover {
|
||||||
|
color: var(--Sky);
|
||||||
|
background-color: var(--Surface1);
|
||||||
|
|
||||||
|
border-color: var(--Sky);
|
||||||
|
|
||||||
|
transform: translate(1px, 1px);
|
||||||
|
|
||||||
|
box-shadow:
|
||||||
|
2px 2px 0
|
||||||
|
var(--Crust);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection button:active {
|
||||||
|
color: var(--Green);
|
||||||
|
background-color: var(--Surface2);
|
||||||
|
|
||||||
|
border-color: var(--Green);
|
||||||
|
|
||||||
|
transform: translate(2px, 2px);
|
||||||
|
|
||||||
|
box-shadow:
|
||||||
|
1px 1px 0
|
||||||
|
var(--Crust);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection button:focus-visible,
|
||||||
|
.ProfileSection summary:focus-visible {
|
||||||
|
outline: 3px solid var(--Yellow);
|
||||||
|
outline-offset: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileMessage {
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
color: var(--Subtext1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileStatistics {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileStatistic {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 1rem;
|
||||||
|
|
||||||
|
padding: 0.75rem;
|
||||||
|
|
||||||
|
background-color: var(--Base);
|
||||||
|
border: 3px solid var(--Surface2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileStatisticName {
|
||||||
|
color: var(--Subtext1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.AccountKeySpoiler {
|
||||||
|
margin-top: 1rem;
|
||||||
|
|
||||||
|
background-color: var(--Base);
|
||||||
|
border: 3px solid var(--Surface2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.AccountKeySpoiler summary {
|
||||||
|
padding: 0.75rem;
|
||||||
|
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
color: var(--Text);
|
||||||
|
background-color: var(--Surface0);
|
||||||
|
}
|
||||||
|
|
||||||
|
.AccountKeySpoiler summary:hover {
|
||||||
|
color: var(--Sky);
|
||||||
|
background-color: var(--Surface1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.AccountKeyContent {
|
||||||
|
padding: 1rem;
|
||||||
|
border-top: 3px solid var(--Surface2);
|
||||||
|
}
|
||||||
|
|
||||||
|
#AccountKeyDisplay {
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
padding: 0.75rem;
|
||||||
|
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-break: break-all;
|
||||||
|
|
||||||
|
color: var(--Green);
|
||||||
|
background-color: var(--Crust);
|
||||||
|
|
||||||
|
border: 3px solid var(--Surface2);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.ProfileFormRow,
|
||||||
|
.ProfileButtonRow {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileSection input,
|
||||||
|
.ProfileSection textarea,
|
||||||
|
.ProfileSection button {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProfileStatistic {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user