mobmash.click/html/styles/main.css

300 lines
4.5 KiB
CSS
Raw Permalink Normal View History

2024-08-03 15:19:24 +00:00
* {
font-family: 'Minecraft', sans-serif;
box-sizing: border-box;
2024-08-03 15:19:24 +00:00
}
2024-07-29 20:26:00 +00:00
body {
padding: 0;
margin: 0;
}
nav {
background-color: black;
2024-07-29 20:26:00 +00:00
height: 50px;
width: 100%;
border-bottom: 1px solid black;
margin: 0;
display: block;
2024-08-04 09:55:19 +00:00
position: fixed;
top: 0;
}
nav ul {
list-style-type: none;
display: block;
margin: 0;
padding: 0;
position: absolute;
top: 0;
}
nav li {
font-size: 20px;
display: inline-block;
margin: 0;
padding: 0;
}
nav .left {
left: 20px;
}
nav .right {
right: 20px;
}
nav a {
margin: 0;
display: inline-block;
text-decoration: none;
color: white;
box-shadow: inset 0 0 0 0 white;
transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
padding: 13px 25px;
}
nav a:active {
color: white;
}
nav a:visited {
color: white;
}
2024-08-03 22:03:52 +00:00
nav a:hover, nav .active a {
box-shadow: inset 140px 0 0 0 white;
color: black;
2024-07-29 20:26:00 +00:00
}
2024-08-04 09:55:19 +00:00
#content {
padding-top: 50px;
}
.text-container {
width: 70vw;
margin-left: auto;
margin-right: auto;
2024-08-04 19:07:51 +00:00
margin-bottom: 50px;
2024-08-04 09:55:19 +00:00
}
2024-07-29 20:26:00 +00:00
h1 {
text-align: center;
font-size: 40px;
margin: 60px;
2024-07-29 20:26:00 +00:00
}
h2 {
margin-top: 35px;
font-size: 25px;
}
2024-08-04 09:55:19 +00:00
.text-container p, .text-container a, .text-container li {
font-size: 25px;
line-height: 32px;
2024-08-04 09:55:19 +00:00
}
.text-container a, .text-container a:visited {
text-decoration: none;
color: black;
position: relative;
transition: color 0.3s;
padding: 4px 6px 2px;
2024-08-04 09:55:19 +00:00
}
.text-container a::after {
content: '';
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
background-color: black;
z-index: -2;
}
.text-container a::before {
content: '';
position: absolute;
top: 0;
right: 0;
width: 100%;
bottom: 0;
background-color: lightgrey;
transition: width 0.3s;
z-index: -1;
}
.text-container a:hover {
color: white;
}
.text-container a:hover::before {
width: 0;
}
2024-08-02 19:45:51 +00:00
.choice {
position: relative;
}
2024-07-27 22:03:17 +00:00
.selection {
display: flex;
flex-direction: row;
justify-content: center;
2024-07-29 20:26:00 +00:00
margin-left: auto;
margin-right: auto;
max-width: 90vw;
2024-07-27 22:03:17 +00:00
}
.separator {
flex-grow: 1;
2024-07-29 20:26:00 +00:00
position: relative;
}
2024-08-04 12:08:50 +00:00
.separator .new-pairing {
position: absolute;
width: 100%;
bottom: 5vw;
text-align: center;
}
.separator .new-pairing a, .separator .new-pairing a:visited {
text-decoration: none;
color: black;
border-radius: 3px;
display: inline-block;
padding: 10px;
}
.separator .new-pairing a:hover {
text-decoration: underline;
}
2024-08-02 19:45:51 +00:00
.middle {
width: 100%;
position: absolute;
top: 0;
height: 100%;
user-select: none;
z-index: -100;
}
.middle .or, .middle .spinner {
2024-08-03 15:19:24 +00:00
color: white;
font-size: 30px;
2024-07-29 20:26:00 +00:00
position: absolute;
top: 60%;
2024-07-29 20:26:00 +00:00
width: 100%;
text-align: center;
transform: translate(0%, -50%);
opacity: 1;
2024-08-02 20:52:46 +00:00
transition: opacity 0.2s;
2024-07-27 22:03:17 +00:00
}
.middle .spinner img {
width: 7vw;
}
2024-08-02 20:52:46 +00:00
.loading .or {
opacity: 0;
}
2024-08-02 20:52:46 +00:00
.loading .spinner img {
animation-name: spinner;
animation-duration: 1s;
2024-08-02 20:52:46 +00:00
animation-delay: 0.2s;
animation-iteration-count: 1;
animation-timing-function: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
@keyframes spinner {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
2024-07-27 22:03:17 +00:00
.mob {
width: 33vw;
height: 35vw;
2024-07-29 20:26:00 +00:00
position: relative;
}
.mob h2 {
position: absolute;
width: 100%;
text-align: center;
2024-07-27 22:03:17 +00:00
}
2024-08-02 19:56:46 +00:00
.mob input.fallback {
display: block;
margin: auto;
}
2024-07-27 22:03:17 +00:00
.mob img {
2024-07-29 20:26:00 +00:00
object-fit: contain;
width: 28vw;
height: 28vw;
2024-07-29 20:26:00 +00:00
margin-top: 5.5vw;
margin-left: 2.5vw;
2024-08-03 17:41:12 +00:00
}
.results-list img {
height: 100px;
}
.results-list .trend-container {
width: 400px;
2024-08-03 18:24:09 +00:00
height: 100px;
}
.results-list {
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
}
.results-list th {
font-size: 20px;
}
.results-list td {
border: none;
}
.results-list tbody tr:nth-child(even) {
background-color: rgb(230, 230, 230);
}
.results-list tbody tr:nth-child(odd) {
background-color: white;
2024-08-04 19:07:51 +00:00
}
.results-list td a, .results-list td a:visited {
text-decoration: none;
color: black;
transition: color 0.2s;
}
.results-list td a:hover {
color: grey;
text-decoration: underline;
}
2024-08-04 19:07:51 +00:00
#disclaimer p {
font-size: 13px;
text-align: center;
color: grey;
}
#disclaimer a, #disclaimer a:visited {
color: grey;
2024-08-04 19:21:58 +00:00
}
#version {
position: fixed;
bottom: 0;
left: 2px;
font-size: 12px;
}