reversi/static/style.css

105 lines
1.5 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Sen&display=swap");
:root {
--background: #28282e;
--text: #fff7e4;
--accent2: #f98284;
--accent1: #accce4;
}
body,
html {
color: var(--text);
background-color: var(--background);
display: flex;
flex-direction: column;
align-content: center;
align-items: center;
text-align: center;
justify-content: center;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
::selection {
color: var(--background);
background-color: var(--accent2);
}
.hidden {
display: none;
}
a {
color: var(--text);
text-decoration: none;
}
footer {
font-family: "Sen", sans-serif;
background-color: var(--text);
color: var(--background);
position: sticky;
overflow: visible;
left: 0;
display: flex;
height: 10%;
bottom: 0;
width: 100%;
font-size: 3em;
justify-content: center;
align-items: center;
}
.contentdiv {
display: flex;
flex-direction: column;
align-items: center;
align-self: center;
height: 90%;
justify-content: center;
}
button,
.contentdiv *,
a,
p {
line-height: 1.84em;
border-radius: 0.48em;
font-size: 32pt;
margin: 0.5em;
text-align: center;
font-family: "Sen", sans-serif;
line-break: anywhere;
}
a,
button,
input {
outline: none;
padding: 2%;
background-color: var(--background);
color: var(--text);
border: 0.12em solid var(--text);
}
input {
cursor: text;
}
button {
cursor: pointer;
}
a:hover,
a:focus,
button:hover,
button:focus,
input:hover,
input:focus {
border-color: var(--accent1);
color: var(--accent1);
}