316 lines
5.1 KiB
CSS
316 lines
5.1 KiB
CSS
@import url("../fonts/inter.css");
|
|
|
|
:root {
|
|
--invertdm: 0%;
|
|
--text-color: #000000;
|
|
--editor: #ffffff;
|
|
--border-color: #dadada;
|
|
--theme-color: #1c71d8;
|
|
--hover-theme-color: #4990e7;
|
|
--nonimporant-theme-color: #EBEBEB;
|
|
--hover-nonimportant-theme-color: #dbdbdb;
|
|
--nonimportant-text-color: #000;
|
|
--inoutdiv: #fafafa;
|
|
}
|
|
|
|
/* dark mode */
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--invertdm: 100%;
|
|
--inoutdiv: #2d2f31;
|
|
--text-color: #ffffff;
|
|
--editor: #1E1E1E;
|
|
--nonimportant-text-color: #fff;
|
|
--border-color: #393b3d;
|
|
}
|
|
|
|
.inoutdiv p {
|
|
color: white !important;
|
|
}
|
|
|
|
.inoutdiv a {
|
|
color: #969696 !important;
|
|
}
|
|
|
|
.inoutdiv input {
|
|
color: white;
|
|
background-color: var(--editor);
|
|
}
|
|
}
|
|
|
|
p,
|
|
li,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: var(--text-color);
|
|
white-space: break-spaces;
|
|
}
|
|
|
|
p#status {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background-color: var(--editor);
|
|
font-family: "Inter", sans-serif;
|
|
}
|
|
|
|
/* Sign up/log in div */
|
|
|
|
.inoutdiv {
|
|
border-radius: 8px;
|
|
margin: 10%;
|
|
padding: 30px;
|
|
border: solid 1px var(--border-color);
|
|
background-color: var(--inoutdiv);
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
}
|
|
|
|
input {
|
|
width: calc(100% - 35px);
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
height: 30px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
|
|
border: solid;
|
|
border-color: var(--border-color);
|
|
border-width: 1px;
|
|
border-radius: 8px;
|
|
min-width: 20px;
|
|
}
|
|
|
|
.inputBox input {
|
|
margin-left: 5px;
|
|
margin-right: 0;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
body {
|
|
background-color: var(--inoutdiv);
|
|
}
|
|
.inoutdiv {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 10px;
|
|
right: 10px;
|
|
border-radius: 0;
|
|
min-width: calc(100% - 20px);
|
|
min-height: 100%;
|
|
transform: none;
|
|
padding: 5px;
|
|
overflow-y: auto;
|
|
overflow-x: auto;
|
|
margin: 0;
|
|
border: 0;
|
|
}
|
|
.inoutdiv p {
|
|
font-size: 14px;
|
|
}
|
|
.inoutdiv h2 {
|
|
font-size: 21px;
|
|
}
|
|
.background {
|
|
display: none;
|
|
}
|
|
.inoutdiv input {
|
|
width: calc(100% - 32px);
|
|
}
|
|
}
|
|
|
|
.inoutdiv img {
|
|
min-width: 200px;
|
|
max-width: 100%;
|
|
border-radius: 20px;
|
|
background-color: white;
|
|
}
|
|
|
|
.iframe {
|
|
position: fixed;
|
|
right: 5px;
|
|
top: 47px;
|
|
border: none;
|
|
height: 278px;
|
|
width: 400px;
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
.acctbutton {
|
|
position: fixed;
|
|
right: 5px;
|
|
margin: 0;
|
|
}
|
|
|
|
.spacer {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.credit {
|
|
position: fixed;
|
|
left: 5px;
|
|
color: white;
|
|
z-index: -1;
|
|
margin: 0;
|
|
bottom: 5px;
|
|
text-shadow: black 1px 1px 5px;
|
|
}
|
|
|
|
.newoauth, .oauthlist, .sessionentry, .oauthentry {
|
|
text-align: center;
|
|
width: calc(100% - 17.5vh);
|
|
margin-top: 7vh;
|
|
margin-left: 7vh;
|
|
margin-right: 7vh;
|
|
padding: 15px 10px 30px;
|
|
border-style: solid;
|
|
border-image: none;
|
|
border-radius: 8px;
|
|
border-width: 1px;
|
|
font-size: 17px;
|
|
background-color: var(--inoutdiv);
|
|
border-color: var(--border-color);
|
|
}
|
|
|
|
.oauthentry, .sessionentry {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 5px;
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.oauthentry button, .sessionentry button {
|
|
padding: 10px;
|
|
background-color: red;
|
|
color: white
|
|
}
|
|
|
|
.oauthentry button:hover, .sessionentry button:hover {
|
|
background-color: black;
|
|
}
|
|
|
|
.oauthentry img, .sessionentry img {
|
|
max-height: 64px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
button {
|
|
background-color: var(--theme-color);
|
|
color: white;
|
|
margin-right: 5px;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 25px;
|
|
font-size: 14px;
|
|
transition: 0.125s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: var(--hover-theme-color);
|
|
transition: all 0.3s ease 0s;
|
|
}
|
|
|
|
.inoutdiv .inputContainer {
|
|
margin-bottom: 20px;
|
|
margin-right: 20px;
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.inoutdiv .inputBox {
|
|
width: 100%;
|
|
}
|
|
|
|
.unimportant {
|
|
background-color: var(--nonimporant-theme-color);
|
|
color: var(--nonimportant-text-color) !important;
|
|
}
|
|
|
|
.unimportant:hover {
|
|
background-color: var(--hover-nonimportant-theme-color);
|
|
transition: all 0.3s ease 0s;
|
|
}
|
|
|
|
h2 {
|
|
display: block;
|
|
margin-top: 20px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.inoutdiv a {
|
|
color: grey;
|
|
text-align: center;
|
|
}
|
|
|
|
.background {
|
|
position: fixed;
|
|
z-index: -2;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
-webkit-user-drag: none;
|
|
user-select: none;
|
|
-moz-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.vAlign {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.w100 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.w200 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.w300 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.w400 {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.w500 {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.w600 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.w700 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.w800 {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.w900 {
|
|
font-weight: 900;
|
|
}
|