/* Only for [[心灵终结/阵营]] */ #factions { width: 100%; display: flex; flex-wrap: wrap; font-size: 1.5em; text-align: center; color: white; } #factions > div { position: relative; border-radius: 15px; flex: 0 0 25%; transition: all 0.5s ease; } @media only screen and (max-width: 1024px) { #factions > div { flex-basis: 50%; } } #factions > div:nth-child(1) { background: #0062ff; } #factions > div:nth-child(1):hover { background: #004abf; } #factions > div:nth-child(2) { background: #ff0000; } #factions > div:nth-child(2):hover { background: #bf0000; } #factions > div:nth-child(3) { background: #7a51a8; } #factions > div:nth-child(3):hover { background: #5c3d7e; } #factions > div:nth-child(4) { background: #1c7e80; } #factions > div:nth-child(4):hover { background: #155f60; } #factions .linkspan { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } #factions a { color: white; } /* [[Category:在主名字空间下的CSS页面]] */