Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Control scheme/styles.css: Difference between revisions

Template page
Limoen (talk | contribs)
No edit summary
Limoen (talk | contribs)
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
table.controls {
margin: 0 0 5px 5px;
}
.controls tbody {
.controls tbody {
   border: 1px solid rgb(235, 235, 235);
   border: 1px solid rgb(135, 135, 135);
   border-radius: 6px;
   border-radius: 6px;
   display: block;
   display: block
}
}


.controls th {
.controls th {
   font-family: 'Saira Condensed', 'Nunito', 'Saira', system-ui, -apple-system, sans-serif;
   font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif;
   font-weight: bold;
   font-weight: bold;
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.75px;
   letter-spacing: 0.75px
}
}


.controls td {
.controls td {
   background-color: rgba(0, 0, 0, 0.25);
   background-color: rgba(0, 0, 0, 0.25)
}
}


.controls td:first-child {
.controls td:last-child {
   font-size: 0.85em;
   font-size: 0.85em;
   color: silver;
   color: rgb(135, 135, 135);
   font-family: 'Saira Condensed', 'Nunito', 'Saira', system-ui, -apple-system, sans-serif;
   font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif
}
}


Line 25: Line 29:
   text-align: center;
   text-align: center;
   font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif;
   font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif;
   font-weight: bold;
   font-weight: bold
}
}


.controls th:not(:first-child):not(:last-child) {
.controls th:not(:first-child):not(:last-child) {
   text-align: center;
   text-align: center
}
}


Line 37: Line 41:
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.75px;
   letter-spacing: 0.75px;
   font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif;
   font-family: "Saira Condensed", "Nunito", "Saira", system-ui, -apple-system, sans-serif
}
}


Line 45: Line 49:
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
   min-width: 19px;
   min-width: 22px;
   padding: 0 3px;
   padding: 0 3px;
   align-items: center;
   align-items: center;
Line 53: Line 57:
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   line-height: 140%;
   line-height: 140%;
   transition: 0.25s all;
   transition: 0.25s all
}
}


.controls td:not(:first-child):not(:last-child) > div:hover {
.controls td:not(:first-child):not(:last-child)>div:hover {
   filter: brightness(70%) contrast(150%);
   filter: brightness(70%)contrast(150%)
}
}


Line 65: Line 69:
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
   min-width: 13px;
   min-width: 18px;
   padding: 0 3px;
   padding: 0 3px;
   align-items: center;
   align-items: center;
Line 72: Line 76:
   border-radius: 6px 6px 12px 12px;
   border-radius: 6px 6px 12px 12px;
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   position: relative;
   position: relative
}
}


Line 82: Line 86:
   position: absolute;
   position: absolute;
   left: 0;
   left: 0;
   border-radius: 6px 0 4px 0;
   border-radius: 6px 0 4px 0
}
}


Line 92: Line 96:
   position: absolute;
   position: absolute;
   right: 0;
   right: 0;
   border-radius: 0 6px 0 4px;
   border-radius: 0 6px 0 4px
}
}


Line 99: Line 103:
   border: 1px solid rgb(105, 105, 105);
   border: 1px solid rgb(105, 105, 105);
   box-shadow: inset -1px -1px rgba(0, 0, 0, 0.3);
   box-shadow: inset -1px -1px rgba(0, 0, 0, 0.3);
   width: 15%;
   width: 25%;
   height: 30%;
   height: 30%;
   position: absolute;
   position: absolute;
   right: 35%;
   right: 35%;
   top: 10%;
   top: 10%;
   border-radius: 4px;
   border-radius: 4px
}
}


Line 112: Line 116:
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
   min-width: 21px;
   min-width: 22px;
   padding: 0 3px;
   padding: 0 3px;
   align-items: center;
   align-items: center;
Line 119: Line 123:
   border-radius: 100%;
   border-radius: 100%;
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   transition: 0.25s all;
   transition: 0.25s all
}
}


.controls .console-side-button {
.controls .console-side-button {
  background-color: rgb(185, 185, 185);
   color: rgb(50, 50, 50);
   color: rgb(50, 50, 50);
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
   line-height: 120%;
   line-height: 120%;
   min-width: 21px;
   min-width: 26px;
   padding: 0 4px;
   padding: 0 4px;
   align-items: center;
   align-items: center;
Line 135: Line 138:
   border-radius: 8px 8px 0 0;
   border-radius: 8px 8px 0 0;
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   transition: 0.25s all;
   transition: 0.25s all
}
}


Line 143: Line 146:
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
   min-width: 21px;
   min-width: 24px;
   padding: 0 1px;
   padding: 0 1px;
   align-items: center;
   align-items: center;
Line 150: Line 153:
   border-radius: 8px 8px 0 0;
   border-radius: 8px 8px 0 0;
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   box-shadow: 0 2px rgb(135, 135, 135), inset -1px -1px rgb(135, 135, 135);
   transition: 0.25s all;
   transition: 0.25s all
}
}


Line 156: Line 159:
   background-color: #303030;
   background-color: #303030;
   border: 1px solid rgb(95, 95, 95);
   border: 1px solid rgb(95, 95, 95);
   box-shadow: 0 2px #303030, inset -1px -1px rgb(0,0,0);
   box-shadow: 0 2px #303030, inset -1px -1px rgb(0, 0, 0);
   color: rgb(235, 235, 235);
   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 {
.controls td:nth-child(4) div {
   background-color: rgb(225, 225, 225);
   background-color: rgb(225, 225, 225)
}
}


.controls td:nth-child(4) div.console-button {
.controls td:nth-child(4) div.console-button {
   padding: 0px 2px;
   padding: 0px 2px;
   line-height: 140%;
   line-height: 140%
}
}


.controls .console-button.ps-square {
.controls .console-button.ps-square {
   color: #D591BD;
   color: #D591BD
}
}


.controls .console-button.ps-triangle {
.controls .console-button.ps-triangle {
   color: #38DEC8;
   color: #38DEC8
}
 
.controls .console-button.ps-triangle span {
  margin: -2px 2px;
  display: block;
  position: absolute;
}
}


.controls .console-button.ps-circle {
.controls .console-button.ps-circle {
   color: #F06E6C;
   color: #F06E6C
}
}


.controls .console-button.ps-cross {
.controls .console-button.ps-cross {
   color: #9BADE4;
   color: #9BADE4
}
}


Line 189: Line 203:
   background-color: #3065E8;
   background-color: #3065E8;
   border: 1px solid #5085F8;
   border: 1px solid #5085F8;
   box-shadow: 0 2px #1045C8, inset -1px -1px rgba(0,0,0, 0.5);
   box-shadow: 0 2px #1045C8, inset -1px -1px rgba(0, 0, 0, 0.5)
}
}


Line 196: Line 210:
   background-color: #FFC219;
   background-color: #FFC219;
   border: 1px solid #FFE239;
   border: 1px solid #FFE239;
   box-shadow: 0 2px #BF8209, inset -1px -1px rgba(0,0,0, 0.5);
   box-shadow: 0 2px #BF8209, inset -1px -1px rgba(0, 0, 0, 0.5)
}
}


Line 203: Line 217:
   background-color: #D33536;
   background-color: #D33536;
   border: 1px solid #F35556;
   border: 1px solid #F35556;
   box-shadow: 0 2px #931516, inset -1px -1px rgba(0,0,0, 0.5);
   box-shadow: 0 2px #931516, inset -1px -1px rgba(0, 0, 0, 0.5)
}
}


Line 210: Line 224:
   background-color: #6AC122;
   background-color: #6AC122;
   border: 1px solid #8AE142;
   border: 1px solid #8AE142;
   box-shadow: 0 2px #3A9102, inset -1px -1px rgba(0,0,0, 0.5);
   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; }
}
}

Latest revision as of 17:24, 10 March 2024

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
}

.controls .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; }
}