MediaWiki:Common.css
From Tibia Idle wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* NOWOCZESNA, atrakcyjna tabela */
.wikitable, .wikitable th, .wikitable td {
border: none !important;
background: none;
}
.wikitable {
border-radius: 18px !important;
box-shadow: 0 8px 40px 0 rgba(30, 42, 73, 0.16), 0 1.5px 6px 0 rgba(30, 42, 73, 0.03);
overflow: hidden;
background: #f6f8fa;
font-size: 16px;
margin: 40px auto;
width: 96%;
}
.wikitable th {
font-weight: 700;
letter-spacing: 0.04em;
padding: 16px 18px;
border-bottom: none;
text-shadow: 0 2px 4px rgba(0,0,0,0.07);
font-size: 17px;
}
.wikitable td {
background: #fff;
padding: 15px 18px;
transition: background 0.18s, box-shadow 0.18s;
font-size: 16px;
}
.wikitable tr {
transition: background 0.18s;
}
.wikitable tr:nth-child(even) td {
background: #f0f4f8;
}
.wikitable tr:hover td {
background: #e3f0fd !important;
box-shadow: 0 2px 10px rgba(50,130,250,0.07);
}
.wikitable img {
width: 40px;
height: 40px;
padding: 3px;
margin-right: 3px;
}
.wikitable a {
color: #1976d2;
font-weight: 600;
text-decoration: none;
transition: color 0.19s;
border-bottom: 1.5px solid rgba(30, 80, 200, 0.07);
padding-bottom: 2px;
}
.wikitable a:hover {
color: #e53935;
border-bottom: 1.5px solid #e53935;
background: #f7e6e6;
border-radius: 3px;
}
.responsive-cards {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 24px 22px;
margin: 36px auto 0 auto;
max-width: 930px;
padding: 0;
}
.responsive-card {
background: #fff;
border: 2px solid #eee;
border-radius: 18px;
box-shadow: 0 2px 10px rgba(0,0,0,0.09);
text-align: center;
transition: box-shadow 0.17s, border 0.14s, transform 0.13s;
cursor: pointer;
min-width: 140px;
max-width: 210px;
flex: 1 1 21%;
padding: 18px 10px 10px 10px;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
.responsive-card:hover {
box-shadow: 0 7px 25px rgba(110,110,200,0.16);
border: 2px solid #bdaaff;
transform: translateY(-4px) scale(1.025);
z-index: 2;
}
.responsive-card img {
margin-bottom: 8px;
max-width: 74px;
max-height: 74px;
filter: drop-shadow(0 1px 2px #bbb);
}
.responsive-card-title {
font-weight: bold;
color: #7566c7;
font-size: 1.13em;
margin: 0.35em 0 0.15em 0;
}
.responsive-card-desc {
font-size: 0.93em;
color: #444;
}
@media (max-width: 900px) {
.responsive-card {
flex-basis: 43%;
max-width: 47vw;
min-width: 140px;
}
}
@media (max-width: 600px) {
.responsive-cards {
gap: 10px 6vw;
max-width: 99vw;
padding: 0;
}
.responsive-card {
flex-basis: 48%;
max-width: 49vw;
min-width: 110px;
padding: 12px 2vw 8px 2vw;
}
}
@media (max-width: 420px) {
.responsive-card {
flex-basis: 99vw;
max-width: 98vw;
min-width: unset;
padding: 10px 1vw 6px 1vw;
}
.responsive-cards {
gap: 6px;
}
}