Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasstrehle committed Sep 19, 2023
1 parent ada023e commit 321192f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions common/components/MainPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
text-align: center;
&>div {
margin-top: 30px;
width: 100%;
flex-wrap: wrap;
justify-content: center;
&>h2 {
width: 100%;
}
Expand All @@ -24,11 +26,12 @@
&>input {
flex: 1;
border-radius: 10px;
max-width: 300px;
background-color: transparent;
color: white;
color: var(--text_highlight);
padding-left: 20px;
font-size: x-large;
border: 2px solid white;
border: 2px solid var(--text_highlight);
border-radius: 10px;
}

Expand All @@ -37,21 +40,21 @@
opacity: 0.4;
background-color: transparent;
border-color: var(--red);
color: white;
color: var(--text_highlight);
}
}
&>div {
transition: opacity 0.2s;
background-color: white;
border: 3px solid white;
background-color: var(--text_highlight);
border: 3px solid var(--text_highlight);
border-radius: 10px;
padding: 10px;
cursor: pointer;
transition: background-color 0.2s;
box-sizing: border-box;
color: black;
color: var(--accent);
&:hover {
color: white;
color: var(--text_highlight);
background-color: transparent;
}
}
Expand Down

0 comments on commit 321192f

Please sign in to comment.