aboutsummaryrefslogtreecommitdiffstats
path: root/styles/Main.module.scss
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2021-09-04 00:35:54 +0200
committerGravatar piotrruss <mail@pruss.it> 2021-09-04 00:35:54 +0200
commit467233f771d745aeb9f4e69b93d2fb24a1a95d3e (patch)
tree82e56bc8fb85eafdc010a2f6bd99f02ee6259ffe /styles/Main.module.scss
parentf08f6ca0a9d337efff280d4d1669a41b5d9c31c2 (diff)
downloadmy_apps-467233f771d745aeb9f4e69b93d2fb24a1a95d3e.tar.gz
my_apps-467233f771d745aeb9f4e69b93d2fb24a1a95d3e.tar.bz2
my_apps-467233f771d745aeb9f4e69b93d2fb24a1a95d3e.zip
media query fix
Diffstat (limited to 'styles/Main.module.scss')
-rw-r--r--styles/Main.module.scss33
1 files changed, 21 insertions, 12 deletions
diff --git a/styles/Main.module.scss b/styles/Main.module.scss
index bac6a97..e5254d5 100644
--- a/styles/Main.module.scss
+++ b/styles/Main.module.scss
@@ -67,7 +67,11 @@
padding: 2em 0 1.5em;
}
- fieldset:nth-of-type(1) {
+ & > fieldset:nth-of-type(1) {
+ fieldset {
+ display: inline-block;
+ }
+
input {
display: none;
}
@@ -77,6 +81,7 @@
transition: .3s color;
display: inline-block;
color: var(--color-decor);
+ margin-bottom: .5em;
&:hover {
color: #666;
@@ -89,7 +94,11 @@
}
}
- fieldset:nth-of-type(2) {
+ & > fieldset:nth-of-type(2) {
+ fieldset {
+ display: inline-block;
+ }
+
input {
display: none;
}
@@ -98,20 +107,20 @@
width: 2em;
height: 2em;
display: inline-block;
- margin: 0 1em;
+ margin: 0 1em 1em;
outline-offset: 4px;
+ }
- &:nth-of-type(1) {
- background-color: #53e3a6;
- }
+ fieldset:nth-of-type(1) label {
+ background-color: #53e3a6;
+ }
- &:nth-of-type(2) {
- background-color: #2986b3;
- }
+ fieldset:nth-of-type(2) label {
+ background-color: #2986b3;
+ }
- &:nth-of-type(3) {
- background-color: #000;
- }
+ fieldset:nth-of-type(3) label {
+ background-color: #000;
}
input:checked + label {