table.controls {
margin: 0 0 5px 5px;
}
.controls tbody {
border: 1px solid rgb(135, 135, 135);
border-radius: 6px;
display: block
}
.controls th {
font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.75px
}
.controls td {
background-color: rgba(0, 0, 0, 0.25)
}
.controls td:last-child {
font-size: 0.85em;
color: rgb(135, 135, 135);
font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif
}
.controls td:not(:first-child):not(:last-child) {
text-align: center;
font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif;
font-weight: bold
}
.controls th:not(:first-child):not(:last-child) {
text-align: center
}
.controls caption {
font-size: 0.85em;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.75px;
font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif
}
.controls .pc-key {
background-color: rgb(185, 185, 185);
color: rgb(50, 50, 50);
text-align: center;
display: inline-block;
min-width: 22px;
padding: 0 3px;
align-items: center;
justify-content: center;
border: 1px solid rgb(235, 235, 235);
border-radius: 6px;
box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
line-height: 140%;
transition: 0.25s all
}
.controls td:not(:first-child):not(:last-child)>div:hover {
filter: brightness(70%)contrast(150%)
}
.controls .pc-mouse {
background-color: rgb(185, 185, 185);
color: rgb(50, 50, 50);
text-align: center;
display: inline-block;
min-width: 18px;
padding: 0 3px;
align-items: center;
justify-content: center;
border: 1px solid rgb(235, 235, 235);
border-radius: 6px 6px 12px 12px;
box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
position: relative
}
.controls .mouse-btn-left {
background-color: rgb(60, 120, 255);
box-shadow: inset -1px -1px rgba(0, 0, 0, 0.5);
width: 50%;
height: 45%;
position: absolute;
left: 0;
border-radius: 6px 0 4px 0
}
.controls .mouse-btn-right {
background-color: rgb(60, 120, 255);
box-shadow: inset -1px -1px rgba(0, 0, 0, 0.5);
width: 50%;
height: 45%;
position: absolute;
right: 0;
border-radius: 0 6px 0 4px
}
.controls .mouse-btn-middle {
background-color: rgb(185, 185, 185);
border: 1px solid rgb(105, 105, 105);
box-shadow: inset -1px -1px rgba(0, 0, 0, 0.3);
width: 25%;
height: 30%;
position: absolute;
right: 35%;
top: 10%;
border-radius: 4px
}
.controls .console-button {
background-color: rgb(185, 185, 185);
color: rgb(50, 50, 50);
text-align: center;
display: inline-block;
min-width: 22px;
padding: 0 3px;
align-items: center;
justify-content: center;
border: 1px solid rgb(235, 235, 235);
border-radius: 100%;
box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
transition: 0.25s all
}
.controls .console-side-button {
color: rgb(50, 50, 50);
text-align: center;
display: inline-block;
line-height: 120%;
min-width: 26px;
padding: 0 4px;
align-items: center;
justify-content: center;
border: 1px solid rgb(235, 235, 235);
border-radius: 8px 8px 0 0;
box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
transition: 0.25s all
}
.controls .console-side-trigger {
background-color: rgb(185, 185, 185);
color: rgb(50, 50, 50);
text-align: center;
display: inline-block;
min-width: 24px;
padding: 0 1px;
align-items: center;
justify-content: center;
border: 1px solid rgb(235, 235, 235);
border-radius: 8px 8px 0 0;
box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
transition: 0.25s all
}
.controls td:nth-child(3) div {
background-color: #303030;
border: 1px solid rgb(95, 95, 95);
box-shadow: 0 2px #303030, inset -1px -1px rgb(0, 0, 0);
color: rgb(235, 235, 235);
min-width: 24px;
}
.controls td:nth-child(3) div.console-side-button {
min-width: 26px;
}
.controls td:nth-child(4) div {
background-color: rgb(225, 225, 225)
}
.controls td:nth-child(4) div.console-button {
padding: 0px 2px;
line-height: 140%
}
.controls .console-button.ps-square {
color: #D591BD
}
.controls .console-button.ps-triangle {
color: #38DEC8
}
.conrols .console-button.ps-triangle span {
margin: -2px 2px;
display: block;
position: absolute;
}
.controls .console-button.ps-circle {
color: #F06E6C
}
.controls .console-button.ps-cross {
color: #9BADE4
}
.controls .console-button.xbox-x {
color: #0D0D70;
background-color: #3065E8;
border: 1px solid #5085F8;
box-shadow: 0 2px #1045C8, inset -1px -1px rgba(0, 0, 0, 0.5)
}
.controls .console-button.xbox-y {
color: #985900;
background-color: #FFC219;
border: 1px solid #FFE239;
box-shadow: 0 2px #BF8209, inset -1px -1px rgba(0, 0, 0, 0.5)
}
.controls .console-button.xbox-b {
color: #720C27;
background-color: #D33536;
border: 1px solid #F35556;
box-shadow: 0 2px #931516, inset -1px -1px rgba(0, 0, 0, 0.5)
}
.controls .console-button.xbox-a {
color: #157202;
background-color: #6AC122;
border: 1px solid #8AE142;
box-shadow: 0 2px #3A9102, inset -1px -1px rgba(0, 0, 0, 0.5)
}
/*animation */
.looping3 {
display: inline-block;
}
.looping3 span:nth-child(1) {
animation: swap1 4s linear infinite;
position: absolute;
}
.looping3 span:nth-child(2) {
animation: swap2 4s linear infinite;
position: absolute;
}
.looping3 span:nth-child(3) {
animation: swap3 4s linear infinite;
position: relative;
}
@keyframes swap1 {
0% { opacity: 1; }
33% { opacity: 1; }
34% { opacity: 0; }
66% { opacity: 0; }
67% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes swap2 {
0% { opacity: 0; }
33% { opacity: 0; }
34% { opacity: 1; }
66% { opacity: 1; }
67% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes swap3 {
0% { opacity: 0; }
33% { opacity: 0; }
34% { opacity: 0; }
66% { opacity: 0; }
67% { opacity: 1; }
100% { opacity: 1; }
}