Disable blanket mobile mode enable

Firefox is capable of triggering the pointer: coarse detection
This commit is contained in:
Emilia Allison 2022-01-22 01:05:14 -05:00
parent 4c1992105a
commit b615c98239
Signed by: emilia
GPG Key ID: 71D938CBB74EF7EA
8 changed files with 48 additions and 18 deletions

View File

@ -10,9 +10,12 @@ body {
margin: 0 0 0 0; margin: 0 0 0 0;
overflow: hidden; overflow: hidden;
background-color: black; background-color: black;
--test: 13;
--is-mobile: 0; --is-mobile: 0;
}
@media (pointer: coarse) {
body {
--is-mobile: 1; --is-mobile: 1;
}
} }
.overlay { .overlay {
@ -34,7 +37,11 @@ body {
height: 100vh; height: 100vh;
background-color: #091519; background-color: #091519;
flex-direction: column; flex-direction: column;
}
@media (pointer: coarse) {
.outerdiv {
width: 100%; width: 100%;
}
} }
.contentholder { .contentholder {

View File

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../sass/global.sass","../sass/anim.sass"],"names":[],"mappings":"AAcA;EANE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEE;;;AAEJ;EACE;EACA;EAEA;EAEA;EACA;EACA;;;AAEF;EA9BE;EACA;EACA;EACA;EACA;EA4BA;EACA;EACA,kBAtCS;EAuCT;EAGE;;;AAEJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAEJ;EACE;;;AAGF;EACE,OA7Dc;EA8Dd;EACA;EACA;EACA;;;AAEF;EACE,OAnEgB;EAoEhB;EACA;EACA;EACA;;;AAGF;EACE,OA3EgB;EA4EhB;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EAEE;;AACA;EACE;;;ACvFJ;EACE;IACE;;EACF;IACE;;;AAMJ;EACE,kBAdiB;EAejB;EACA;EACA;EACA;EARA;;;AAYF;EAEE","file":"about.css"} {"version":3,"sourceRoot":"","sources":["../sass/global.sass","../sass/responsive.sass","../sass/anim.sass"],"names":[],"mappings":"AAcA;EANE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EAEA;;ACnBA;EDUF;IAWI;;;;AAEJ;EACE;EACA;EAEA;EAEA;EACA;EACA;;;AAEF;EA7BE;EACA;EACA;EACA;EACA;EA2BA;EACA;EACA,kBArCS;EAsCT;;ACtCA;EDiCF;IAQI;;;;AAEJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAEJ;EACE;;;AAGF;EACE,OA5Dc;EA6Dd;EACA;EACA;EACA;;;AAEF;EACE,OAlEgB;EAmEhB;EACA;EACA;EACA;;;AAGF;EACE,OA1EgB;EA2EhB;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EAEE;;AACA;EACE;;;AEtFJ;EACE;IACE;;EACF;IACE;;;AAMJ;EACE,kBAdiB;EAejB;EACA;EACA;EACA;EARA;;;AAYF;EAEE","file":"about.css"}

View File

@ -10,9 +10,12 @@ body {
margin: 0 0 0 0; margin: 0 0 0 0;
overflow: hidden; overflow: hidden;
background-color: black; background-color: black;
--test: 13;
--is-mobile: 0; --is-mobile: 0;
}
@media (pointer: coarse) {
body {
--is-mobile: 1; --is-mobile: 1;
}
} }
.overlay { .overlay {
@ -34,7 +37,11 @@ body {
height: 100vh; height: 100vh;
background-color: #091519; background-color: #091519;
flex-direction: column; flex-direction: column;
}
@media (pointer: coarse) {
.outerdiv {
width: 100%; width: 100%;
}
} }
.contentholder { .contentholder {

View File

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../sass/global.sass"],"names":[],"mappings":"AAcA;EANE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEE;;;AAEJ;EACE;EACA;EAEA;EAEA;EACA;EACA;;;AAEF;EA9BE;EACA;EACA;EACA;EACA;EA4BA;EACA;EACA,kBAtCS;EAuCT;EAGE;;;AAEJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAEJ;EACE;;;AAGF;EACE,OA7Dc;EA8Dd;EACA;EACA;EACA;;;AAEF;EACE,OAnEgB;EAoEhB;EACA;EACA;EACA;;;AAGF;EACE,OA3EgB;EA4EhB;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EAEE;;AACA;EACE","file":"global.css"} {"version":3,"sourceRoot":"","sources":["../sass/global.sass","../sass/responsive.sass"],"names":[],"mappings":"AAcA;EANE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EAEA;;ACnBA;EDUF;IAWI;;;;AAEJ;EACE;EACA;EAEA;EAEA;EACA;EACA;;;AAEF;EA7BE;EACA;EACA;EACA;EACA;EA2BA;EACA;EACA,kBArCS;EAsCT;;ACtCA;EDiCF;IAQI;;;;AAEJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAEJ;EACE;;;AAGF;EACE,OA5Dc;EA6Dd;EACA;EACA;EACA;;;AAEF;EACE,OAlEgB;EAmEhB;EACA;EACA;EACA;;;AAGF;EACE,OA1EgB;EA2EhB;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EAEE;;AACA;EACE","file":"global.css"}

View File

@ -10,9 +10,12 @@ body {
margin: 0 0 0 0; margin: 0 0 0 0;
overflow: hidden; overflow: hidden;
background-color: black; background-color: black;
--test: 13;
--is-mobile: 0; --is-mobile: 0;
}
@media (pointer: coarse) {
body {
--is-mobile: 1; --is-mobile: 1;
}
} }
.overlay { .overlay {
@ -34,7 +37,11 @@ body {
height: 100vh; height: 100vh;
background-color: #091519; background-color: #091519;
flex-direction: column; flex-direction: column;
}
@media (pointer: coarse) {
.outerdiv {
width: 100%; width: 100%;
}
} }
.contentholder { .contentholder {
@ -116,7 +123,11 @@ mark.internet {
.name__subcontent { .name__subcontent {
text-align: left; text-align: left;
}
@media (pointer: coarse) {
.name__subcontent {
text-align: center; text-align: center;
}
} }
.name__subcontent a { .name__subcontent a {
font-size: small; font-size: small;
@ -124,7 +135,11 @@ mark.internet {
position: absolute; position: absolute;
margin-left: 5px; margin-left: 5px;
margin-top: 5px; margin-top: 5px;
}
@media (pointer: coarse) {
.name__subcontent a {
position: relative; position: relative;
}
} }
.links { .links {
@ -136,7 +151,11 @@ mark.internet {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
}
@media (pointer: coarse) {
.links {
width: 80%; width: 80%;
}
} }
.links .links__sub { .links .links__sub {
height: 6vh; height: 6vh;

View File

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../sass/global.sass","../sass/anim.sass","../sass/index.sass"],"names":[],"mappings":"AAcA;EANE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EAEE;;;AAEJ;EACE;EACA;EAEA;EAEA;EACA;EACA;;;AAEF;EA9BE;EACA;EACA;EACA;EACA;EA4BA;EACA;EACA,kBAtCS;EAuCT;EAGE;;;AAEJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAEJ;EACE;;;AAGF;EACE,OA7Dc;EA8Dd;EACA;EACA;EACA;;;AAEF;EACE,OAnEgB;EAoEhB;EACA;EACA;EACA;;;AAGF;EACE,OA3EgB;EA4EhB;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EAEE;;AACA;EACE;;;ACvFJ;EACE;IACE;;EACF;IACE;;;AAMJ;EACE,kBAdiB;EAejB;EACA;EACA;EACA;EARA;;;AAYF;EAEE;;;ACtBF;EACE;EAEA;;;AAEF;EACE;EAGE;;AAEF;EACE;EACA;EACA;EACA;EACA;EAGA;;;AAGJ;EAEE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EAGE;;AAEF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA","file":"index.css"} {"version":3,"sourceRoot":"","sources":["../sass/global.sass","../sass/responsive.sass","../sass/anim.sass","../sass/index.sass"],"names":[],"mappings":"AAcA;EANE;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;EACA;EACA;EACA;EAEA;;ACnBA;EDUF;IAWI;;;;AAEJ;EACE;EACA;EAEA;EAEA;EACA;EACA;;;AAEF;EA7BE;EACA;EACA;EACA;EACA;EA2BA;EACA;EACA,kBArCS;EAsCT;;ACtCA;EDiCF;IAQI;;;;AAEJ;EACE;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAEJ;EACE;;;AAGF;EACE,OA5Dc;EA6Dd;EACA;EACA;EACA;;;AAEF;EACE,OAlEgB;EAmEhB;EACA;EACA;EACA;;;AAGF;EACE,OA1EgB;EA2EhB;EACA;EACA;EACA;;;AAEF;EACE;;;AAEF;EAEE;;AACA;EACE;;;AEtFJ;EACE;IACE;;EACF;IACE;;;AAMJ;EACE,kBAdiB;EAejB;EACA;EACA;EACA;EARA;;;AAYF;EAEE;;;ACtBF;EACE;EAEA;;;AAEF;EACE;;AFLA;EEIF;IAII;;;AAEF;EACE;EACA;EACA;EACA;EACA;;AFfF;EEUA;IAQI;;;;AAGN;EAEE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;;AF/BA;EEqBF;IAaI;;;AAEF;EACE;EACA;EACA;EAEA;EACA;EACA;EAEA;EACA","file":"index.css"}

View File

@ -21,7 +21,6 @@ body
overflow: hidden overflow: hidden
background-color: black background-color: black
--test: 13
--is-mobile: 0 --is-mobile: 0
@include mobile() @include mobile()
--is-mobile: 1 --is-mobile: 1

View File

@ -2,7 +2,5 @@
// Disable actual check for desktop testing // Disable actual check for desktop testing
@mixin mobile() @mixin mobile()
@content
//
@media (pointer: coarse) @media (pointer: coarse)
@content @content