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
Line 2: Line 2:
   border: 1px solid rgb(235, 235, 235);
   border: 1px solid rgb(235, 235, 235);
   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)
}
}


Line 19: Line 19:
   font-size: 0.85em;
   font-size: 0.85em;
   color: silver;
   color: silver;
   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 25:
   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 37:
   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 45:
   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 53:
   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 65:
   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 72:
   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 82:
   position: absolute;
   position: absolute;
   left: 0;
   left: 0;
   border-radius: 6px 0 4px 0;
   border-radius: 6px 0 4px 0
}
}


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


Line 104: Line 104:
   right: 35%;
   right: 35%;
   top: 10%;
   top: 10%;
   border-radius: 4px;
   border-radius: 4px
}
}


Line 112: Line 112:
   text-align: center;
   text-align: center;
   display: inline-block;
   display: inline-block;
   min-width: 21px;
   min-width: 23px;
   padding: 0 3px;
   padding: 0 3px;
   align-items: center;
   align-items: center;
Line 119: Line 119:
   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 134:
   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 142:
   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 149:
   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 155:
   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-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 193:
   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 200:
   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 207:
   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 214:
   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)
}
}

Revision as of 14:26, 10 March 2024

.controls tbody {
  border: 1px solid rgb(235, 235, 235);
  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:first-child {
  font-size: 0.85em;
  color: silver;
  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: 15%;
  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: 23px;
  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-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)
}