Template:Top House Combinations/styles.css

From Archon Arcana - The KeyForge Wiki
/* Screen settings */
@media screen and (min-width: 601px) {
.chartOuter {
  width: 320px;
  border: solid 1px #aaaaaa;
  display: table;
  float: left;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	background-image:linear-gradient(#dddddd,#eeeeee 2%, #f2f2f2 3%,#fbfbfb 4%,#ffffff 5%,#fbfbfb 92%,#f2f2f2 94%,#eeeeee 98%);
}
}
@media screen and (max-width: 600px) {
.chartOuter {
  width: 320px;
  border: solid 1px #aaaaaa;
  display: table;
  float: none;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: auto;
  margin-left:auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	background-image:linear-gradient(#dddddd,#eeeeee 2%, #f2f2f2 3%,#fbfbfb 4%,#ffffff 5%,#fbfbfb 92%,#f2f2f2 94%,#eeeeee 98%);
}
}


.chartTitle {
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  padding-top: 20px;
  position:relative;
  width: 100%;
}

.chartSubtitle {
  margin-top: 35px;
  margin-left: 20px;
  margin-right:10px;
  margin-bottom:15px;
  color: #696969;
  display:table;
  font-size: .8em;
}

.chartBackground {
  position: relative;
  display:table;
  top: 20px;
  width: 85%;
  margin-left:auto; margin-right:auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  clear:both;
}

/* Text */
.chartPieceSection {
  display: flex;
  font-size:.9em;
}
.chartPieceSection:hover {
	background-color:#b6cfe2;
	font-weight:bold;
}
.chartPieceText {
  flex: 2;
  text-align:center;
  padding-top:6px;
  padding-bottom:6px;
}
.chartPiece {
	flex: 1;
  color: white;
  padding-top:8px;
  text-align:center;
  padding-left:10px;
  opacity:.8;
}

/* Different color pieces */
.chartPiece1 {
  background-color: #808080;
}
.chartPieceSection1 {
	background-color:#f2f2f2;
}
.chartPiece2 {
  background-color: #666666;
}
.chartPieceSection2 {
	background-color:#e6e6e6;
}
.chartPiece3 {
  background-color: #4d4d4d;
}
.chartPieceSection3 {
	background-color:#d9d9d9;
}
.chartPieceOther {
  background-color: #427ca8;
  padding-top:10px;
}
.chartPieceOtherSection {
	background-color:#fafafa;
	border-top:solid 2px #2b516e;
}
.chartPieceOtherText {
  flex: 2;
  text-align:center;
  padding-top:12px;
  padding-bottom:12px;
}