Files
scrabble-online/client/public/main.css
2021-04-02 22:54:17 +01:00

54 lines
1.2 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
body {
font-family: 'Open Sans', sans-serif;
}
.red {
color: red;
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#lang {
position: inherit;
text-align: right;
right: 100%;
top: 0;
font-size: 14px;
}
#content {
position: absolute;
top: 20%;
left: 50%;
transform: translateX(-50%);
text-align: center;
}
/* I DID NOT WRITE THIS */
/* I can't reference it because i don't know where i got it from */
/* BUT ITS IMPORTANT THAT YOU KNOW THAT I DID NOT WRITE THIS */
/* Responsive mobile & touch support */
@media screen and (max-width: 768px) {
body {
-webkit-overflow-scrolling: touch; /* Safari 3.1+ */
-moz-overflow-scrolling: touch; /* Firefox 2+ */
-ms-overflow-scrolling: touch; /* IE 10+ */
overflow-scrolling: touch; /* Standard syntax */
-webkit-user-select: none; /* Safari 3.1+ */
-moz-user-select: none; /* Firefox 2+ */
-ms-user-select: none; /* IE 10+ */
user-select: none; /* Standard syntax */
}
}