Template:PrizePool.css: Difference between revisions

From TwogPedia
(Created page with ".striped-table { border: 2px solid #bbbbbb; } .headerRow {background-color: #f5f5f5;} .headerRow { text-align: center; } .gold {background-color: gold} .silver {background-color: silver} .bronze {background-color: #cd7f32} .headerRow th { font-size: 1rem; padding: 5px; } .headerRow .table-title { font-size: 1.1rem; border-bottom: 1px solid #a2a9b1; } .bodyRow td { border-top: 1px solid #a2a9b1; padding: 5px; } .bodyRow td:not(:last-child) { border-right: 1px...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
.striped-table {
.striped-table {
border-collapse: separate;
border: 2px solid #bbbbbb;
border: 2px solid #bbbbbb;
border-radius: 8px;
width: 100%;
}
}
.headerRow {background-color: #f5f5f5;}
 
.headerRow {background-color: #19191E;}


.headerRow {
.headerRow {
text-align: center;
text-align: center;
color: #C1C1CD;
}
.headerRow th:last-child {
    text-align: left !important;
    padding-left: 20px;
}
.headerRow th {
font-size: 1rem;
padding: 5px;
border-right: 1px solid #a2a9b1;
}
}


.gold {background-color: gold}
.gold {background-color: rgba(182, 142, 14, 0.5);}
.silver {background-color: silver}
.silver {background-color: rgba(161, 161, 164, 0.5);}
.bronze {background-color: #cd7f32}
.bronze {background-color: #523115;}


.headerRow th {
.headerRow th {
Line 16: Line 32:
padding: 5px;
padding: 5px;
}
}
.headerRow .table-title {
.headerRow .table-title {
font-size: 1.1rem;
font-size: 1.1rem;
border-bottom: 1px solid #a2a9b1;
border-bottom: 1px solid #a2a9b1;
}
}
.bodyRow td {
.bodyRow td {
border-top: 1px solid #a2a9b1;
border-top: 1px solid #a2a9b1;
padding: 5px;
padding: 5px;
color: #ECEBEB;
}
}


.bodyRow td:not(:last-child) {
.bodyRow td:not(:last-child) {
border-right: 1px solid #a2a9b1;
border-right: 1px solid #a2a9b1;
text-align: center;
}
.bodyRow td:last-child {
padding-left: 20px;
}
.striped-table td,
.striped-table th {
    /*height: 40px;*/
    vertical-align: middle;
    padding: 15px 18px;
}
.striped-table a {
    color: #ECEBEB;
    text-decoration: none;
}
.headerRow th:first-child {
    border-top-left-radius: 8px;
}
.headerRow th:last-child {
    border-top-right-radius: 8px;
}
@media (max-width: 700px) {
  .striped-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.7em;
  }
 
  .striped-table th {
  padding: 10px 3px;
  }
  .striped-table td {
    padding: 2px 3px;
  }
 
  .striped-table img {
    max-width: 100%;
    height: auto;
  }
  .bodyRow td:last-child {
    padding-left: 8px !important;
}
.headerRow th {
    font-size: 0.8rem;
}
.striped-table th:nth-child(1),
.striped-table td:nth-child(1) {
  width: 20%;
}
.striped-table th:nth-child(2),
.striped-table td:nth-child(2) {
  width: 20%;
}
.striped-table th:nth-child(3),
.striped-table td:nth-child(3) {
  width: 20%;
}
.striped-table th:nth-child(4),
.striped-table td:nth-child(4) {
  width: 40%;
}
}
}


/* Darkmode */
/* Darkmode */
html.skin-citizen-dark .headerRow {background-color: #262626;}
html.skin-citizen-dark .headerRow {background-color: #262626;}

Latest revision as of 00:07, 26 April 2025

.striped-table {
	border-collapse: separate;
	border: 2px solid #bbbbbb;
	border-radius: 8px;
	width: 100%;
}

.headerRow {background-color: #19191E;}

.headerRow {
	text-align: center;
	color: #C1C1CD;
}

.headerRow th:last-child {
    text-align: left !important;
    padding-left: 20px;
}

.headerRow th {
	font-size: 1rem;
	padding: 5px;
	border-right: 1px solid #a2a9b1;
}

.gold {background-color: rgba(182, 142, 14, 0.5);}
.silver {background-color: rgba(161, 161, 164, 0.5);}
.bronze {background-color: #523115;}

.headerRow th {
	font-size: 1rem;
	padding: 5px;
}

.headerRow .table-title {
	font-size: 1.1rem;
	border-bottom: 1px solid #a2a9b1;
}

.bodyRow td {
	border-top: 1px solid #a2a9b1;
	padding: 5px;
	color: #ECEBEB;
}

.bodyRow td:not(:last-child) {
	border-right: 1px solid #a2a9b1;
	text-align: center;
}

.bodyRow td:last-child {
	padding-left: 20px;
}

.striped-table td,
.striped-table th {
    /*height: 40px;*/
    vertical-align: middle;
    padding: 15px 18px;
}

.striped-table a {
    color: #ECEBEB;
    text-decoration: none;
}

.headerRow th:first-child {
    border-top-left-radius: 8px;
}

.headerRow th:last-child {
    border-top-right-radius: 8px;
}

@media (max-width: 700px) {
  .striped-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.7em;
  }
  
  .striped-table th {
  	padding: 10px 3px;
  }
  .striped-table td {
    padding: 2px 3px;
  }
  
  .striped-table img {
    max-width: 100%;
    height: auto;
  }
 
  .bodyRow td:last-child {
     padding-left: 8px !important; 
	}
	
	.headerRow th {
    	font-size: 0.8rem;
	}
	
	.striped-table th:nth-child(1),
	.striped-table td:nth-child(1) {
	  width: 20%;
	}
	
	.striped-table th:nth-child(2),
	.striped-table td:nth-child(2) {
	  width: 20%;
	}
	
	.striped-table th:nth-child(3),
	.striped-table td:nth-child(3) {
	  width: 20%;
	}
	
	.striped-table th:nth-child(4),
	.striped-table td:nth-child(4) {
	  width: 40%;
	}
}

/* Darkmode */
html.skin-citizen-dark .headerRow {background-color: #262626;}