mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 22:22:21 +08:00
updated settings page
added icons updated button and text alignment
This commit is contained in:
parent
7df53b700d
commit
1e60dc53cd
2 changed files with 395 additions and 135 deletions
|
|
@ -13,13 +13,14 @@
|
|||
line-height: 2rem;
|
||||
cursor: pointer;
|
||||
transition: 0.25s;
|
||||
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
&:hover {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.fas {
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 0.5em;
|
||||
|
||||
&.rotate {
|
||||
transform: rotate(-90deg);
|
||||
|
|
@ -45,9 +46,10 @@
|
|||
display: grid;
|
||||
// gap: .5rem;
|
||||
grid-template-areas:
|
||||
"title title"
|
||||
"title buttons"
|
||||
"text buttons";
|
||||
grid-template-columns: 2fr 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
column-gap: 2rem;
|
||||
align-items: center;
|
||||
|
||||
|
|
@ -159,6 +161,22 @@
|
|||
margin: 0;
|
||||
grid-area: title;
|
||||
font-weight: 300;
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
.fab,
|
||||
.fas,
|
||||
.far {
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
&.themes .groupTitle {
|
||||
.fab,
|
||||
.fas,
|
||||
.far {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
|
|
@ -173,6 +191,10 @@
|
|||
grid-area: text;
|
||||
}
|
||||
|
||||
.inputs {
|
||||
grid-area: buttons;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue