reversi/static/style.css

113 lines
1.7 KiB
CSS
Raw Normal View History

2022-01-29 15:04:01 +00:00
@import url("https://fonts.googleapis.com/css2?family=Sen&display=swap");
2022-01-29 15:04:01 +00:00
:root {
--background: #28282e;
--text: #fff7e4;
--accent2: #f98284;
--accent1: #accce4;
}
* {
margin: 0;
padding: 0;
}
2022-01-29 15:04:01 +00:00
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%;
size: 100%;
2022-01-29 15:04:01 +00:00
margin: 0;
padding: 0;
scrollbar-color: var(--accent1);
2022-01-29 15:04:01 +00:00
}
::selection {
color: var(--background);
background-color: var(--accent2);
}
2022-01-29 21:26:32 +00:00
.hidden {
display: none;
}
a {
color: var(--text);
text-decoration: none;
}
2022-01-29 15:04:01 +00:00
footer {
font-family: "Sen", sans-serif;
background-color: var(--text);
color: var(--background);
position: sticky;
overflow: visible;
left: 0;
display: flex;
bottom: 0;
width: 100%;
font-size: 16pt;
2022-01-29 15:04:01 +00:00
justify-content: center;
align-items: center;
height: 10%;
2022-01-29 15:04:01 +00:00
}
.contentdiv {
display: flex;
2022-01-29 21:26:32 +00:00
flex-direction: column;
2022-01-29 15:04:01 +00:00
align-items: center;
align-self: center;
min-height: 90%;
2022-01-29 15:04:01 +00:00
justify-content: center;
width: 100%;
2022-01-29 15:04:01 +00:00
}
button,
2022-01-29 21:26:32 +00:00
.contentdiv *,
a,
p {
2022-01-29 15:04:01 +00:00
line-height: 1.84em;
border-radius: 0.48em;
font-size: 24pt;
margin-top: 0.5em;
2022-01-29 15:04:01 +00:00
text-align: center;
font-family: "Sen", sans-serif;
2022-01-29 21:26:32 +00:00
line-break: anywhere;
2022-01-29 15:04:01 +00:00
}
2022-01-29 21:26:32 +00:00
a,
2022-01-29 15:04:01 +00:00
button,
input {
outline: none;
background-color: var(--background);
color: var(--text);
border: 0.12em solid var(--text);
width: 90%;
2022-01-29 15:04:01 +00:00
}
input {
cursor: text;
}
button {
cursor: pointer;
}
2022-01-29 21:26:32 +00:00
a:hover,
a:focus,
2022-01-29 15:04:01 +00:00
button:hover,
button:focus,
input:hover,
input:focus {
border-color: var(--accent1);
color: var(--accent1);
}