User:BryghtShadow/monobook.css

/* Template:Catfruit Evolution */ .CatfruitTable{ display: table; width: 80%; /*border-radius:5px;*/ background:linear-gradient(#636363 0%,#858585 100%); box-shadow: 2px 3px 4px 0.5px rgba(0, 0, 0, 0.6),-1px 2px 20px rgba(255, 255, 255, 0.3) inset; border-spacing:10px; /* don't touch this !*/ text-align: center; } .CatfruitRow { display: table-row; } .CatfruitCell { border: 2px solid #262626; border-radius:7px; background:#414748; display: table-cell; width: 15%; padding-bottom: 10%; vertical-align: middle; text-align: center; overflow:hidden; position:relative; } .CatfruitCell:hover { background:#6D767F; } .CatfruitCell2 { border: 1px solid #262626; border-radius:3px; background:#cbcbcb; display: table-cell; width: 15%; padding-bottom: 2%; vertical-align: middle; text-align: center; overflow:hidden; font-size: 110%; /*Further text mod. if needed: */ /*color:white;*/ /*font-weight: bold;*/ /*text-shadow: 2px 0 0 #323232, -2px 0 0 #323232, 0 2px 0 #323232, 0 -2px 0 #323232, 1px 1px #323232, -1px -1px 0 #323232, 1px -1px 0 #323232, -1px 1px 0 #323232;*/ } .CatfruitElement { position: absolute; top: 50%; transform: translateY(-50%); left: 0px; /*fix the issue with horizontal center*/ width: 100%; } .CatfruitBody { display: table-row-group; }