removed unused css
This commit is contained in:
parent
a6fbe9e026
commit
0ee1114322
4 changed files with 27 additions and 40 deletions
|
@ -1,53 +1,50 @@
|
||||||
*, *::after, *::before {
|
*,
|
||||||
box-sizing: border-box;
|
*::after,
|
||||||
-webkit-touch-callout: none;
|
*::before {
|
||||||
-webkit-user-select: none;
|
box-sizing: border-box;
|
||||||
-khtml-user-select: none;
|
user-select: none;
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--main-color: white;
|
--main-color: white;
|
||||||
--background-color: black;
|
--background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clicker {
|
.clicker {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: var(--main-color);
|
background-color: var(--main-color);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
.winner.show {
|
.winner.show {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
#timer {
|
#timer {
|
||||||
color: var(--main-color);
|
color: var(--main-color);
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gameArea {
|
.gameArea {
|
||||||
border: 0;
|
border: 0;
|
||||||
margin: auto auto auto auto;
|
margin: auto auto auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primer {
|
.primer {
|
||||||
border: 0;
|
border: 0;
|
||||||
width: 10vw;
|
width: 10vw;
|
||||||
height: 10vw;
|
height: 10vw;
|
||||||
margin: auto auto auto auto;
|
margin: auto auto auto auto;
|
||||||
background-color: var(--main-color);
|
background-color: var(--main-color);
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,9 +35,6 @@ button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
-moz-user-select: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
@ -51,9 +48,6 @@ select {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dg.ac {
|
.dg.ac {
|
||||||
-moz-user-select: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
z-index: 2 !important;
|
z-index: 2 !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,6 @@ const globalStyle = css`
|
||||||
font-size: ${theming.size.medium};
|
font-size: ${theming.size.medium};
|
||||||
font-family: ${theming.font.regular};
|
font-family: ${theming.font.regular};
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,7 @@ const StyledThemeButton = styled.div`
|
||||||
${(props) =>
|
${(props) =>
|
||||||
theming.theme(props.theme.currentTheme, {
|
theming.theme(props.theme.currentTheme, {
|
||||||
light: "",
|
light: "",
|
||||||
dark: "transform: scaleX(-1);\
|
dark: "transform: scaleX(-1);",
|
||||||
-moz-transform: scaleX(-1);\
|
|
||||||
-webkit-transform: scaleX(-1);\
|
|
||||||
-ms-transform: scaleX(-1);",
|
|
||||||
})};
|
})};
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue