MediaWiki:CSS/Event.css

/**/ /*--USER:XUANMIEN CSS/Derivative.css--*/ /**/ .event { box-sizing:border-box; float:left; padding:0 2px; width:50%; } .event ~ :not(.event) { clear:both; } .event-title { border-radius:5px 5px 0 0; font-size:120%; line-height:140%; padding:0 .5em; } .event-imgs { float:left; width:120px; } .event table { font-size:85%; line-height:1.6em; padding:1px; min-width:calc(100% - 120px); } .event td, .event th { border-bottom:1px solid #e6e6e6; padding:0 3px; vertical-align:top; } .event th { width:1px; text-align:right; } .event tr:last-child td, .event tr:last-child th { border-bottom:none; } .event-longdesc { background:linear-gradient(to bottom, white, #dfdfdf); cursor:help; height:1.5em; overflow:hidden; } .event-longdesc:hover { background:white; border:2px solid #ae3974; border-radius:20px; /* border:2px solid #936; border-radius:20px; */ /* vocaloid.wikia purple */ box-shadow:0 0 4px #ae3974, inset 0 0 20px gainsboro; /*tbh i didn't expect shadow to look so good*/ /* box-shadow:0 0 4px #936, inset 0 0 20px gainsboro; */ /* vocaloid.wikia purple */ font-size:125%; line-height:160%; height:10em; overflow:auto; padding:1.25em; position:absolute; transition:box-shadow 0.5s, height 0.5s; width:75%; left:12.5%; z-index:5; } @media(max-width:830px) { .event { margin-bottom:9px; }	.event-imgs { width:100%; text-align:center; }	.event-imgs center { display:inline; padding:1px 0 0 1px; }	.event table { width:100%; }	.event td, .event th { display:block; width:100%; text-align:left; padding:0; }	.event td { padding-left:3px; }	.event tr:last-child th { border-bottom:1px solid #e6e6e6; } } @media(max-width:490px) { .event { width:100%; padding:0; } } /* */