پرش به محتوا

الگو:جدول واکنش‌گرا/style.css

از ایران پدیا
نسخهٔ تاریخ ۲۳ تیر ۱۴۰۵، ساعت ۱۴:۴۷ توسط علی شاهرودی (بحث | مشارکت‌ها) (صفحه‌ای تازه حاوی «CSS placed here will be applied to all skins: .tableWikiShia > tr > th, .tableWikiShia > * > tr > th { text-align: center; } .shadow { box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19); } .tableWikiShia { width: 100%; margin-bottom: 1rem;: color: #202325; } .tCenter td { text-align: center; } .tableWikiShia th, .tableWikiShia td { padding: 0.75rem; padding-top: 0.4em; padding-bottom: 0.4em; v...» ایجاد کرد)
(تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)
/* CSS placed here will be applied to all skins */
.tableWikiShia > tr > th,
.tableWikiShia > * > tr > th {
	text-align: center;
}

.shadow {
	box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}
.tableWikiShia {
 width: 100%;
 /*margin-bottom: 1rem;*/
 color: #202325;
}

.tCenter td {
    text-align: center;
}

.tableWikiShia th,
.tableWikiShia td {
 padding: 0.75rem;
 padding-top: 0.4em;
 padding-bottom: 0.4em;
 vertical-align:middle!important;
 border-top: 1px solid #e1e4e8;
}
.tableWikiShia thead th {
 vertical-align: bottom;
 border-bottom: 2px solid #e1e4e8;
}
.tableWikiShia tbody + tbody {
 border-top: 2px solid #e1e4e8;
}

.tableWikiShia-bordered {
 border: 1px solid #e1e4e8;
}
.tableWikiShia-bordered th,
.tableWikiShia-bordered td {
 border: 1px solid #e1e4e8;
}
.tableWikiShia-bordered thead th,
.tableWikiShia-bordered thead td {
 border-bottom-width: 2px;
}

.tableWikiShia-borderless th,
.tableWikiShia-borderless td,
.tableWikiShia-borderless thead th,
.tableWikiShia-borderless tbody + tbody {
 border: 0;
}

.tableWikiShia-striped tbody tr:nth-of-type(odd) {
 background-color: rgba(0, 0, 0, 0.05);
}

.tableWikiShia-hover tbody tr:hover {
 color: #202325;
 background-color: rgba(0, 0, 0, 0.075);
}

/*----------------------------- Red Color ------------------------------------------------*/
.tableWikiShia-red,
.tableWikiShia-red > th,
.tableWikiShia-red > td {
	background-color: #ffe5e5;
	color: dimgrey;
	border-radius: 9px;
}

.tableWikiShia-red th,
.tableWikiShia-red td,
.tableWikiShia-red thead th,
.tableWikiShia-red tbody + tbody {
	border-color: #dee9fa;
	padding: 8px;
	padding-right: 6px;
	padding-left: 3px;
	vertical-align: middle;
}

.tableWikiShia-red a:hover {
	text-decoration: unset;
}

.tableWikiShia-red a.new {
color: #dd3333;
}
.tableWikiShia-hover .tableWikiShia-red:hover {
	background-color: #f1d78b;
}

.tableWikiShia-hover .tableWikiShia-red:hover > td,
.tableWikiShia-hover .tableWikiShia-red:hover > th {
	background-color: #f1d78b;
}

/*----------------------------- Blue Color ------------------------------------------------*/
.tableWikiShia-blue,
.tableWikiShia-blue > th,
.tableWikiShia-blue > td {
	background-color: #e5f4ff;
	color: darkslategray;
	border-radius: 9px;
}

.tableWikiShia-blue th,
.tableWikiShia-blue td,
.tableWikiShia-blue thead th,
.tableWikiShia-blue tbody + tbody {
	border-color: #fadeeb;
	padding: 8px;
	padding-right: 6px;
	padding-left: 3px;
	vertical-align: middle;
}

.tableWikiShia-blue a:hover {
	text-decoration: unset;
}

.tableWikiShia-blue a {
color: rgba(64, 108, 247, 0.88);
}

.tableWikiShia-blue a.new {
color: #dd3333;
}

.tableWikiShia-hover .tableWikiShia-blue:hover {
	background-color: #fadeeb;
}

.tableWikiShia-hover .tableWikiShia-blue:hover > td,
.tableWikiShia-hover .tableWikiShia-blue:hover > th {
	background-color: #fadeeb;
}

/*----------------------------- yellow Color ------------------------------------------------*/
.tableWikiShia-yellow,
.tableWikiShia-yellow > th,
.tableWikiShia-yellow > td {
	background-color: #fffce5;
	color: darkslategray;
	border-radius: 9px;
}

.tableWikiShia-yellow th,
.tableWikiShia-yellow td,
.tableWikiShia-yellow thead th,
.tableWikiShia-yellow tbody + tbody {
	border-color: #dee9fa;
	padding: 8px;
	padding-right: 6px;
	padding-left: 3px;
	vertical-align: middle;
}

.tableWikiShia-yellow a:hover {
	text-decoration: unset;
}

.tableWikiShia-yellow a {
color: rgba(64, 108, 247, 0.88);
}

.tableWikiShia-yellow a.new {
color: #dd3333;
}

.tableWikiShia-hover .tableWikiShia-yellow:hover {
	background-color: #f1d78b;
}

.tableWikiShia-hover .tableWikiShia-yellow:hover > td,
.tableWikiShia-hover .tableWikiShia-yellow:hover > th {
	background-color: #f1d78b;
}

/*----------------------------- green Color ------------------------------------------------*/
.tableWikiShia-green,
.tableWikiShia-green > th,
.tableWikiShia-green > td {
	background-color: #edffe5;
	color: darkslategrey;
	border-radius: 9px;
}

.tableWikiShia-green th,
.tableWikiShia-green td,
.tableWikiShia-green thead th,
.tableWikiShia-green tbody + tbody {
	border-color: #deedfa;
	padding: 8px;
	padding-right: 6px;
	padding-left: 3px;
	vertical-align: middle;
}

.tableWikiShia-green a:hover {
	text-decoration: unset;
}

.tableWikiShia-green a {
color: rgba(64, 108, 247, 0.88);
}

.tableWikiShia-green a.new {
color: #dd3333;
}

.tableWikiShia-hover .tableWikiShia-green:hover {
	background-color: #f1d78b;
}

.tableWikiShia-hover .tableWikiShia-green:hover > td,
.tableWikiShia-hover .tableWikiShia-green:hover > th {
	background-color: #f1d78b;
}

/*----------------------------- purple Color ------------------------------------------------*/
.tableWikiShia-purple,
.tableWikiShia-purple > th,
.tableWikiShia-purple > td {
	background-color: #ebe5ff;
	color: gray;
	border-radius: 9px;
}

.tableWikiShia-purple th,
.tableWikiShia-purple td,
.tableWikiShia-purple thead th,
.tableWikiShia-purple tbody + tbody {
	border-color: #faf9de;
	padding: 8px;
	padding-right: 6px;
	padding-left: 3px;
	vertical-align: middle;
}

.tableWikiShia-purple a:hover {
	text-decoration: unset;
}

.tableWikiShia-purple a {
color: rgba(64, 72, 247, 0.88);
}

.tableWikiShia-purple a.new {
color: #dd3333;
}

.tableWikiShia-hover .tableWikiShia-purple:hover {
	background-color: #f1d78b;
}

.tableWikiShia-hover .tableWikiShia-purple:hover > td,
.tableWikiShia-hover .tableWikiShia-purple:hover > th {
	background-color: #f1d78b;
}







.tableWikiShia-secondary,
.tableWikiShia-secondary > th,
.tableWikiShia-secondary > td {
 background-color: #d6d8db;
}

.tableWikiShia-secondary th,
.tableWikiShia-secondary td,
.tableWikiShia-secondary thead th,
.tableWikiShia-secondary tbody + tbody {
 border-color: #b3b7bb;
}

.tableWikiShia-hover .tableWikiShia-secondary:hover {
 background-color: #c8cbcf;
}
.tableWikiShia-hover .tableWikiShia-secondary:hover > td,
.tableWikiShia-hover .tableWikiShia-secondary:hover > th {
 background-color: #c8cbcf;
}

.tableWikiShia-success,
.tableWikiShia-success > th,
.tableWikiShia-success > td {
 background-color: #cde9ce;
}

.tableWikiShia-success th,
.tableWikiShia-success td,
.tableWikiShia-success thead th,
.tableWikiShia-success tbody + tbody {
 border-color: #a2d5a4;
}

.tableWikiShia-hover .tableWikiShia-success:hover {
 background-color: #bbe1bd;
}
.tableWikiShia-hover .tableWikiShia-success:hover > td,
.tableWikiShia-hover .tableWikiShia-success:hover > th {
 background-color: #bbe1bd;
}

.tableWikiShia-gray1,
.tableWikiShia-gray1 > th,
.tableWikiShia-gray1 > td {
 background-color: #4A7080;
}
.tableWikiShia-gray1 th,
.tableWikiShia-gray1 td,
.tableWikiShia-gray1 thead th,
.tableWikiShia-gray1 tbody + tbody {
 border-color: #ffffff;
}

.tableWikiShia-hover .tableWikiShia-gray1:hover {
 background-color: #b9e8dd;
}
.tableWikiShia-hover .tableWikiShia-gray1:hover > td,
.tableWikiShia-hover .tableWikiShia-gray1:hover > th {
 background-color: #3A7252;
}

.tableWikiShia-green2,
.tableWikiShia-green2 > th,
.tableWikiShia-green2 > td {
 background-color: #7A9F35;
}
.tableWikiShia-green2 th,
.tableWikiShia-green2 td,
.tableWikiShia-green2 thead th,
.tableWikiShia-green2 tbody + tbody {
 border-color: #ffffff;
}

.tableWikiShia-hover .tableWikiShia-green2:hover {
 background-color: #b9e8dd;
}
.tableWikiShia-hover .tableWikiShia-green2:hover > td,
.tableWikiShia-hover .tableWikiShia-green2:hover > th {
 background-color: #b9e8dd;
}

.tableWikiShia-green1,
.tableWikiShia-green1 > th,
.tableWikiShia-green1 > td {
 background-color: #e6ffe6;
}

.tableWikiShia-green1 th,
.tableWikiShia-green1 td,
.tableWikiShia-green1 thead th,
.tableWikiShia-green1 tbody + tbody {
 border-color: #ffffff;
}

.tableWikiShia-hover .tableWikiShia-green1:hover {
 background-color: #b9e8dd;
}
.tableWikiShia-hover .tableWikiShia-green1:hover > td,
.tableWikiShia-hover .tableWikiShia-green1:hover > th {
 background-color: #b9e8dd;
}

.tableWikiShia-pink-page,
.tableWikiShia-pink-page > th,
.tableWikiShia-pink-page > td {
 background-color: #BB7C9C;
}
.tableWikiShia-pink-page th,
.tableWikiShia-pink-page td,
.tableWikiShia-pink-page thead th,
.tableWikiShia-pink-page tbody + tbody {
 border-color: #ffffff;
}

.tableWikiShia-hover .tableWikiShia-pink-page:hover {
 background-color: #b9e8dd;
}
.tableWikiShia-hover .tableWikiShia-pink-page:hover > td,
.tableWikiShia-hover .tableWikiShia-pink-page:hover > th {
 background-color: #b9e8dd;
}

.tableWikiShia-warning,
.tableWikiShia-warning > th,
.tableWikiShia-warning > td {
 background-color: #ffeeba;
}

.tableWikiShia-warning th,
.tableWikiShia-warning td,
.tableWikiShia-warning thead th,
.tableWikiShia-warning tbody + tbody {
 border-color: #ffdf7e;
}

.tableWikiShia-hover .tableWikiShia-warning:hover {
 background-color: #ffe8a1;
}
.tableWikiShia-hover .tableWikiShia-warning:hover > td,
.tableWikiShia-hover .tableWikiShia-warning:hover > th {
 background-color: #ffe8a1;
}

.tableWikiShia-danger,
.tableWikiShia-danger > th,
.tableWikiShia-danger > td {
 background-color: #f5c6cb;
}

.tableWikiShia-danger th,
.tableWikiShia-danger td,
.tableWikiShia-danger thead th,
.tableWikiShia-danger tbody + tbody {
 border-color: #ed969e;
}

.tableWikiShia-hover .tableWikiShia-danger:hover {
 background-color: #f1b0b7;
}
.tableWikiShia-hover .tableWikiShia-danger:hover > td,
.tableWikiShia-hover .tableWikiShia-danger:hover > th {
 background-color: #f1b0b7;
}

.tableWikiShia-light,
.tableWikiShia-light > th,
.tableWikiShia-light > td {
 background-color: #fdfdfe;
}

.tableWikiShia-light th,
.tableWikiShia-light td,
.tableWikiShia-light thead th,
.tableWikiShia-light tbody + tbody {
 border-color: #fbfcfc;
}

.tableWikiShia-hover .tableWikiShia-light:hover {
 background-color: #ececf6;
}
.tableWikiShia-hover .tableWikiShia-light:hover > td,
.tableWikiShia-hover .tableWikiShia-light:hover > th {
 background-color: #ececf6;
}

.tableWikiShia-dark,
.tableWikiShia-dark > th,
.tableWikiShia-dark > td {
 background-color: #c1c1c2;
}

.tableWikiShia-dark th,
.tableWikiShia-dark td,
.tableWikiShia-dark thead th,
.tableWikiShia-dark tbody + tbody {
 border-color: #8b8d8e;
}

.tableWikiShia-hover .tableWikiShia-dark:hover {
 background-color: #b4b4b5;
}
.tableWikiShia-hover .tableWikiShia-dark:hover > td,
.tableWikiShia-hover .tableWikiShia-dark:hover > th {
 background-color: #b4b4b5;
}

.tableWikiShia-active,
.tableWikiShia-active > th,
.tableWikiShia-active > td {
 background-color: rgba(0, 0, 0, 0.075);
}

.tableWikiShia-hover .tableWikiShia-active:hover {
 background-color: rgba(0, 0, 0, 0.075);
}
.tableWikiShia-hover .tableWikiShia-active:hover > td,
.tableWikiShia-hover .tableWikiShia-active:hover > th {
 background-color: rgba(0, 0, 0, 0.075);
}

.tableWikiShia .thead-dark th {
 color: #fff;
 background-color: #343a40;
 border-color: #454d55;
}

.tableWikiShia .thead-light th {
 color: #495057;
 background-color: #e9ecef;
 border-color: #e1e4e8;
}

.tableWikiShia-dark {
 color: #fff;
 background-color: #343a40;
}
.tableWikiShia-dark th,
.tableWikiShia-dark td,
.tableWikiShia-dark thead th {
 border-color: #454d55;
}
.tableWikiShia-dark.tableWikiShia-bordered {
 border: 0;
}
.tableWikiShia-dark.tableWikiShia-striped tbody tr:nth-of-type(odd) {
 background-color: rgba(255, 255, 255, 0.05);
}
.tableWikiShia-dark.tableWikiShia-hover tbody tr:hover {
 color: #fff;
 background-color: rgba(255, 255, 255, 0.075);
}

.tableWikiShia-responsive {
  overflow-x: auto;
  /* -webkit-overflow-scrolling: touch; */
}

@media (max-width: 575.98px) {
  .tableWikiShia-responsive-sm {
    overflow-x: auto;
    /* -webkit-overflow-scrolling: touch; */
  }
}
@media (max-width: 767.98px) {
  .tableWikiShia-responsive-md {
    overflow-x: auto;
    /* -webkit-overflow-scrolling: touch; */
  }
}
@media (max-width: 991.98px) {
  .tableWikiShia-responsive-lg {
    overflow-x: auto;
    /* -webkit-overflow-scrolling: touch; */
  }
}
@media (max-width: 1199.98px) {
  .tableWikiShia-responsive-xl {
    overflow-x: auto;
    /* -webkit-overflow-scrolling: touch; */
  }
}
@media (max-width: 1399.98px) {
  .tableWikiShia-responsive-xxl {
    overflow-x: auto;
    /* -webkit-overflow-scrolling: touch; */
  }
}

.margin-top-0 {
    margin-top: 0;
}
.margin-bottom-0 {
    margin-bottom: 0;
} 
.margin-right-0 {
    margin-right: 0;
}
.margin-left-0 {
    margin-left: 0;
}
.margin-auto{
    margin: auto;
}